This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Can't reference nested class or enum in an annotation #222
Open
Description
A customer has a parameter annotation of the following format:
Where SomeOtherClass is a nested enum or class defined within the class SomeClass, for example:
/// <summary>
/// SomeClass
/// </summary>
public class SomeClass {
/// <summary>
/// SomeOtherClass
/// </summary>
public class SomeOtherClass { SomeOtherClass() {} }
/// <summary>
/// SomeEnum
/// </summary>
public enum SomeEnum {
SomeEnumProperty
}
}
When generating the document, generation will fail with an 'UnableToGenerateAllOperationsExcepion', with ExceptionType: TypeLoadException and message: Type "SomeNamespace.SomeClass.SomeOtherClas" could not be found. Ensure that it exists in one of the following assemblies: SomeNamespace.dll.
Metadata
Metadata
Assignees
Labels
No labels