Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Module

System.Introspection

module System.Introspection

Descriptions of the loaded program

AssemblyInfo and ModuleInfo describe the loaded catalog. TypeInfo, MemberInfo and specialized descriptors expose type shapes, declarations, parameters and retained metadata identities. BindingFlags selects supported query categories.

See introspection for descriptor identity and metadata availability. These descriptors do not dynamically load assemblies; invocation and member-access operations are provided separately by System.Runtime.Reflection.

Generic type parameters expose GenericParameterTypeInfo.Variance: Invariant, Covariant (out) or Contravariant (in). Obtain parameters from an open definition's generic arguments. Closed constructions expose actual argument types. Method ParameterInfo.IsOut continues to describe an output argument. Native discovery supports retained assembly/module type catalogs, including open definitions and their variance annotations. AOT/JIT require explicit typeCatalogs retention; open member/relationship queries remain unsupported. See the reflection reference.

Development MethodInfo generic-state flags distinguish method definitions from owner openness. Interpreted GetMethods supports descriptive generic signatures; native type-method discovery requires explicit methodTypes retention.

Types

21 items
AssemblyInfo Describes a retained, loaded assembly in the current program.
BindingFlags Selects visibility and instance/static categories for metadata queries.
ConstructorInfo Development metadata contract describing one declared constructor. Execution is separate from introspection.
CustomAttributeData Describes an admitted attribute application without constructing an attribute instance. Development API after Preview 10.
CustomAttributeNamedArgument Describes one named attribute assignment without invoking user code. Development API; resolving MemberInfo and wider argument categories remain unsupported.
CustomAttributeTypedArgument Describes the declared type and constant value of one fixed or named attribute argument.
FieldInfo Describes a retained field declaration in the loaded program.
FunctionTypeInfo Describes one structural Function signature and its synthesized public instance Invoke method.
GenericParameterTypeInfo An unbound generic parameter discovered on a type or method definition. Closed generic arguments describe their actual types instead.
GenericTypeError Reasons a generic type cannot be constructed from the supplied arguments.
GenericVariance Declared variance of a nominal interface type parameter.
IntersectionTypeInfo A structural intersection, requiring all of its constituent types.
MemberInfo Describes a declared or synthesized member without exposing mutation or invocation.
MethodInfo Describes a retained method declaration in the loaded program.
ModuleInfo Describes a logical namespace of members within a loaded assembly. Dotted names are conventions, not metadata hierarchy.
NominalTypeInfo Describes a nominal type declaration, including its name, namespace and MemberInfo metadata.
ParameterInfo Describes an explicit method parameter or property index parameter in the loaded program.
PropertyInfo Describes a retained property declaration in the loaded program.
TupleTypeInfo A structural value tuple with ordered element types and no nominal definition.
TypeInfo Describes nominal and structural types within the current loaded program.
UnionTypeInfo A structural union, accepting any one of its constituent types.