class · System.Reflection

MemberInfo

public class System.Reflection.MemberInfo : System.Any

What every member has: its name, the type that declares it, its access, and where its describer keeps it.

Kind
class
Namespace
System.Reflection
Assembly
System.Core
Access
public, abstract
Source file
Reflection.ant

Inheritance

Base classes
Any MemberInfo
Derived types
FieldInfo MethodBase PropertyInfo

Properties

property Name: System.String<u8>
#

read-only

property DeclaringType: System.Type
#

read-only

property IsPublic: bool
#

read-only

property IsStatic: bool
#

read-only

Methods

method GetCustomAttributes() -> System.Any[]
#

The custom attributes written on the member.

method GetCustomAttributes(attributeType: System.Type) -> System.Any[]
#
method IsDefined(attributeType: System.Type) -> bool
#
method ToString() -> System.String<u8>
#

override

Private and internal members (10)

field name: System.String<u8>
#

private

field declaring: System.Type
#

private

field flags: i32
#

private

private

field index: i32
#

private

constructor MemberInfo(declaring: System.Type, name: System.String<u8>, flags: i32, describer: System.Reflection.TypeDescriber, index: i32)
#

internal

method AttributeKey() -> i32
#

internal virtual

What the describer's Attributes takes for this member (fields, methods and properties are numbered apart).

method Has(flag: i32) -> bool
#

internal

property Describer: System.Reflection.TypeDescriber
#

internal read-only

property Index: i32
#

internal read-only

Inherited members (4)

Source

MemberInfo as Larva HIR, decompiled from its Larva HIR.

System.Reflection.MemberInfo.hir
// What every member has: its name, the type that declares it, its access, and where its describer keeps it.
public class System.Reflection.MemberInfo : System.Any
{
    field name: System.String<u8>
    field declaring: System.Type
    field flags: i32
    field describer: System.Reflection.TypeDescriber
    field index: i32
    constructor MemberInfo(declaring: System.Type, name: System.String<u8>, flags: i32, describer: System.Reflection.TypeDescriber, index: i32)
    // What the describer's Attributes takes for this member (fields, methods and properties are numbered apart).
    method AttributeKey() -> i32
    method Has(flag: i32) -> bool
    // The custom attributes written on the member.
    method GetCustomAttributes() -> System.Any[]
    method GetCustomAttributes(attributeType: System.Type) -> System.Any[]
    method IsDefined(attributeType: System.Type) -> bool
    method ToString() -> System.String<u8>
    property Describer: System.Reflection.TypeDescriber
    property Index: i32
    property Name: System.String<u8>
    property DeclaringType: System.Type
    property IsPublic: bool
    property IsStatic: bool
}
Esc