GetDerivedTypes(Type)
In Metalama, use ICompilation.GetDerivedTypes(INamedType, DerivedTypesOptions).
Declaration
public static TypeInheritanceCodeReference[] GetDerivedTypes(Type baseType)
Parameters
Type | Name | Description |
---|---|---|
Type | baseType |
Returns
Type | Description |
---|---|
TypeInheritanceCodeReference[] |
GetDerivedTypes(Type, ReflectionSearchOptions)
In Metalama, use ICompilation.GetDerivedTypes(INamedType, DerivedTypesOptions).
Declaration
public static TypeInheritanceCodeReference[] GetDerivedTypes(Type baseType, ReflectionSearchOptions options)
Parameters
Type | Name | Description |
---|---|---|
Type | baseType | |
ReflectionSearchOptions | options |
Returns
Type | Description |
---|---|
TypeInheritanceCodeReference[] |