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.
- Kind
- class
- Namespace
- System.Reflection
- Assembly
- System.Core
- Access
- public, abstract
- Source file
Reflection.ant
Inheritance
- Base classes
-
AnyTypeDescriber - Derived types
-
PartsDescriber
Methods
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).
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
TypeDescriber as Larva HIR, decompiled from its 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
}