Managed_Attribute

class Managed_Attribute (concrete, physical)

C++/CLI attribute

Direct parents:
Ancestor classes and implemented interfaces:

Attribute, Declaration, Linked_Node, Named_Entity_Interface, Operation, Physical_IR_Root

Field

Kind

Type

Description

Target

attribute

enum Ms_Attribute_Target

The target to which the managed attribute applies. (e.g., [return: ...]) If the target is not specified explicitly, the value is Target_None.

Its_Type

syntactic

interface Possibly_Attributed_Type_Interface

Selection of the attribute type.

Arguments

syntactic

list of class Expression

Positional arguments passed to the constructor.

Named_Arguments

syntactic

list of class Field_Initializer

Named arguments that assign to the attribute’s fields or properties.

Constructor

semantic to logical

class Constructor

The attribute’s constructor.

Has_Argument_List

attribute

builtin Boolean

true if and only if the managed attribute expression is given with a (possibly empty) argument list. E.g., for the attribute in [Obsolete()] or the attribute in [Obsolete("Message")] the value is true, for the attribute in [Obsolete] the value is false. (currently only set for C#)

Logical (from Linked_Node)

semantic to logical

class Logical_IR_Root

cross-reference into LIR

Parent (from Physical_IR_Root)

semantic

class Physical_IR_Root

The parent of the node in the syntactic forest.

Original_Position_Index (from Physical_IR_Root)

attribute

builtin SLoc_Index_Type

Internal source location info. If from macro expansion, this location is inside the macro body or macro argument

Original_Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is inside the macro body or macro argument

Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is that of the macro expansion

Artificial (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was compiler-generated

Parenthesized (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was enclosed in parentheses (used for expressions)

In_Template_Instance (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node is inside a template instance

Enclosing_Template_Instance (from Physical_IR_Root)

semantic

class Physical_IR_Root

Innermost enclosing template instance if In_Template_Instance is true

Name (from Named_Entity_Interface)

attribute

builtin String