CxMemberConstant

Description

sealed class Tinman.Core.Cx.Declarations.CxMemberConstant

Derived from

CxMember abstract
ICxVariableContainer

A type member that defines a compile-time constant:

...
const int Name = 1;

ICxTypeContainer.Type returns the variable type.
ICxVariableContainer.Variable returns the variable definition of this constant, which will never be null.

Public / Constructors

Cx​Member​Constant


public constructor CxMemberConstant → (4)

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

variable in : CxVariable

[not-null]
See ICxVariableContainer.Variable.

xmlDoc opt : CxXmlDoc = null

See ICxXmlDocContainer.XmlDoc.

attributes opt : IBagConst<CxAttribute> = null

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

Creates a new instance of CxMemberConstant.