class · System.Reflection

ParameterInfo

public class System.Reflection.ParameterInfo : System.Any

A parameter of a method or constructor.

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

Inheritance

Base classes
Any ParameterInfo

Properties

property Name: System.String<u8>
#

read-only

property ParameterType: System.Type
#

read-only

property Position: i32
#

read-only

Methods

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

Private and internal members (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

Inherited members (4)

Source

ParameterInfo as Larva HIR, decompiled from its 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