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
Any TypeDescriber
Tipos derivados
PartsDescriber

Métodos

method Base() -> System.Type?
#

virtual

method Arguments() -> System.Type[]
#

virtual

method Interfaces() -> System.Type[]
#

virtual

method Element() -> System.Type?
#

virtual

method Rank() -> i32
#

virtual

method Fields(owner: System.Type) -> System.Reflection.FieldInfo[]
#

virtual

method Properties(owner: System.Type) -> System.Reflection.PropertyInfo[]
#

virtual

method Methods(owner: System.Type) -> System.Reflection.MethodInfo[]
#

virtual

method Constructors(owner: System.Type) -> System.Reflection.ConstructorInfo[]
#

virtual

method EnumNames() -> System.String<u8>[]
#

virtual

method EnumValues() -> i64[]
#

virtual

method Attributes(member: i32) -> System.Any[]
#

virtual

The custom attributes of member member (-1: of the type).

method GetField(index: i32, target: System.Any?) -> System.Any?
#

virtual

method SetField(index: i32, target: System.Any?, value: System.Any?) -> void
#

virtual

method Invoke(index: i32, target: System.Any?, arguments: System.Any?[]) -> System.Any?
#

virtual

method Construct(index: i32, arguments: System.Any?[]) -> System.Any
#

virtual

A new object through constructor index (-1: a value type's zero value).

Miembros heredados (5)

Código fuente

TypeDescriber en Larva HIR, descompilado a partir de su Larva HIR.

System.Reflection.TypeDescriber.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
}
Esc