class · System.Reflection

ParameterInfo

public class System.Reflection.ParameterInfo : System.Any

A parameter of a method or constructor.

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

Herencia

Clases base
Any ParameterInfo

Propiedades

property Name: System.String<u8>
#

read-only

property ParameterType: System.Type
#

read-only

property Position: i32
#

read-only

Métodos

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

The custom attributes written on the parameter ([Tag("n")] i32 n).

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

override

Miembros privados e internos (5)

field name: System.String<u8>
#

private

field type: System.Type
#

private

field position: i32
#

private

internal

The method or constructor it belongs to (set when that is made).

constructor ParameterInfo(name: System.String<u8>, type: System.Type, position: i32)
#

internal

Miembros heredados (4)

Código fuente

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

System.Reflection.ParameterInfo.hir
// A parameter of a method or constructor.
public class System.Reflection.ParameterInfo : System.Any
{
    field name: System.String<u8>
    field type: System.Type
    field position: i32
    // The method or constructor it belongs to (set when that is made).
    field member: System.Reflection.MethodBase?
    constructor ParameterInfo(name: System.String<u8>, type: System.Type, position: i32)
    // The custom attributes written on the parameter (`[Tag("n")] i32 n`).
    method GetCustomAttributes() -> System.Any[]
    method GetCustomAttributes(attributeType: System.Type) -> System.Any[]
    method IsDefined(attributeType: System.Type) -> bool
    method ToString() -> System.String<u8>
    property Name: System.String<u8>
    property ParameterType: System.Type
    property Position: i32
}
Esc