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.

Tipo
class
Espacio de nombres
System.Reflection
Ensamblado
System.Core
Acceso
public, abstract
Archivo fuente
Reflection.ant

Herencia

Clases base
Any MemberInfo
Tipos derivados
FieldInfo MethodBase PropertyInfo

Propiedades

property Name: System.String<u8>
#

read-only

property DeclaringType: System.Type
#

read-only

property IsPublic: bool
#

read-only

property IsStatic: bool
#

read-only

Métodos

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

Miembros privados e internos (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

Miembros heredados (4)

Código fuente

MemberInfo en Larva HIR, descompilado a partir de su 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