MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ReflectionReflection­SearchGet­Derived­Types
Open sandboxFocus

ReflectionSearch.GetDerivedTypes Method

GetDerivedTypes(Type)

Declaration
public static TypeInheritanceCodeReference[] GetDerivedTypes(Type baseType)
Parameters
Type Name Description
System.Type baseType
Returns
Type Description
TypeInheritanceCodeReference[]

GetDerivedTypes(Type, ReflectionSearchOptions)

Declaration
public static TypeInheritanceCodeReference[] GetDerivedTypes(Type baseType, ReflectionSearchOptions options)
Parameters
Type Name Description
System.Type baseType
ReflectionSearchOptions options
Returns
Type Description
TypeInheritanceCodeReference[]