sealed class Tinman.Core.Cx.Declarations.CxMemberField

Derived from

CxMember abstract

A type member that defines a static or instance data field:

int a;

int a = 1;

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

Public / Constructors


public constructor CxMemberField → (4)

modifiers in : CxModifiers

See ICxModifiersContainer.Modifiers.

variable in : CxVariable

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.