sealed class Tinman.Core.Cx.Declarations.CxMemberConstructor

A type member that constructs a new type instance:

Type(int p0, ..., int pN)
  : base(a0, ..., aN)
  a = 1;


ICxExpressionsContainer.Expressions returns the base constructor call arguments.
ICxTypeContainer.Type returns CxDeclaration.AsType of the enclosing declaration.

Public / Constructors


public constructor CxMemberConstructor → (7)

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

name in : CxId

See ICxIdContainer.Name.

body in : CxStatementBlock

See Body.

xmlDoc opt : CxXmlDoc = null

See ICxXmlDocContainer.XmlDoc.

attributes opt : IBagConst<CxAttribute> = null

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

parameters opt : IBagConst<CxParameter> = null

The parameter list of the constructor or null for an empty list. See ICxParametersContainer.Parameters.

expressions opt : IBagConst<CxExpression> = null

The base constructor call argument list or null for an empty list. See ICxExpressionsContainer.Expressions.

Creates a new instance of CxMemberConstructor.

Public / Attributes


public attribute Body → (get)

value : CxStatementBlock

The constructor body.

Returns the constructor body.