class · System.Reflection
TypeDescriber
public class System.Reflection.TypeDescriber : System.Any
What the compiler writes for each type (a class derived from this one per type): the parts of its Type made on first use, and access to its members by number. Members' flags: 1 public, 2 static, 4 virtual, 8 abstract, 16 readonly, 32 generic.
- Tipo
- class
- Espacio de nombres
- System.Reflection
- Ensamblado
- System.Core
- Acceso
- public, abstract
- Archivo fuente
Reflection.ant
Herencia
- Clases base
-
AnyTypeDescriber - Tipos derivados
-
PartsDescriber
Métodos
method Base() -> System.Type?
#
method Arguments() -> System.Type[]
#
method Interfaces() -> System.Type[]
#
method Element() -> System.Type?
#
method Fields(owner: System.Type) -> System.Reflection.FieldInfo[]
#
method Properties(owner: System.Type) -> System.Reflection.PropertyInfo[]
#
method Methods(owner: System.Type) -> System.Reflection.MethodInfo[]
#
method Constructors(owner: System.Type) -> System.Reflection.ConstructorInfo[]
#
method EnumNames() -> System.String<u8>[]
#
method Attributes(member: i32) -> System.Any[]
#
The custom attributes of member member (-1: of the type).
method GetField(index: i32, target: System.Any?) -> System.Any?
#
method SetField(index: i32, target: System.Any?, value: System.Any?) -> void
#
method Invoke(index: i32, target: System.Any?, arguments: System.Any?[]) -> System.Any?
#
method Construct(index: i32, arguments: System.Any?[]) -> System.Any
#
A new object through constructor index (-1: a value type's zero value).
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
TypeDescriber en Larva HIR, descompilado a partir de su Larva HIR.
// What the compiler writes for each type (a class derived from this one per type): the parts of its Type made on
// first use, and access to its members by number. Members' flags: 1 public, 2 static, 4 virtual, 8 abstract,
// 16 readonly, 32 generic.
public class System.Reflection.TypeDescriber : System.Any
{
method Base() -> System.Type?
method Arguments() -> System.Type[]
method Interfaces() -> System.Type[]
method Element() -> System.Type?
method Rank() -> i32
method Fields(owner: System.Type) -> System.Reflection.FieldInfo[]
method Properties(owner: System.Type) -> System.Reflection.PropertyInfo[]
method Methods(owner: System.Type) -> System.Reflection.MethodInfo[]
method Constructors(owner: System.Type) -> System.Reflection.ConstructorInfo[]
method EnumNames() -> System.String<u8>[]
method EnumValues() -> i64[]
// The custom attributes of member `member` (-1: of the type).
method Attributes(member: i32) -> System.Any[]
method GetField(index: i32, target: System.Any?) -> System.Any?
method SetField(index: i32, target: System.Any?, value: System.Any?) -> void
method Invoke(index: i32, target: System.Any?, arguments: System.Any?[]) -> System.Any?
// A new object through constructor `index` (-1: a value type's zero value).
method Construct(index: i32, arguments: System.Any?[]) -> System.Any
}