I have a method that throws an exception under the namespace: MyApp.Domain. I have some of my custom exceptions under the namespace: MyApp.Domain.Exceptions. So what I have is this:
using MyApp.Domain.Exceptions
using System;
namespace MyApp.Domain
{
public class SomeClass
{
///<summary>This method does some stuff</summary>
///<exception cref="MyCustomExeption">MyCustomException if x</exception>
///<exception cref="Exception">GenericException if y</exception>
public void DoStuff(){
//Does stuff
}
}
}
I am getting my summary with intellisense but not exceptions. Do I have to use an include and create an external xml comment file since they are under different namespaces? Neither of the exceptions are showing up in intellisense, mycustomexception or system.exception.
Thank you.