sealed class Tinman.Core.Cx.Declarations.CxParameter

Represents a parameter of a method or delegate:

[A] int a
|   \____ Variable
\____ Attributes

ref Type a
out Type a
\____ Semantic

this Type a
\____ IsThis

ICxVariableContainer.Variable returns the variable declaration or definition of this parameter, which will never be null.

Public / Constructors


public constructor CxParameter → (4)

variable in : CxVariable

See ICxVariableContainer.Variable.

semantic opt : int32 = 1

See ICxSemanticContainer.Semantic.

isThis opt : bool = false

See IsThis.

attributes opt : IBagConst<CxAttribute> = null

The attribute list or null for an empty list. See ICxAttributesContainer.Attributes.

Creates a new instance of CxParameter.

Public / Attributes


public attribute IsThis → (get)

value : bool

true if this parameter if the this argument,
false if not.

Is this parameter the special this argument?