Table of Contents

Class AttributeSection

Namespace
ICSharpCode.Decompiler.CSharp.Syntax
Assembly
ICSharpCode.Decompiler.dll

[AttributeTarget: Attributes]

public class AttributeSection : AstNode, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
AttributeSection
Implements
Inherited Members
Extension Methods

Constructors

AttributeSection()

public AttributeSection()

AttributeSection(Attribute)

public AttributeSection(Attribute attr)

Parameters

attr Attribute

Properties

AttributeTarget

public string AttributeTarget { get; set; }

Property Value

string

AttributeTargetToken

public Identifier AttributeTargetToken { get; set; }

Property Value

Identifier

Attributes

public AstNodeCollection<Attribute> Attributes { get; }

Property Value

AstNodeCollection<Attribute>

LBracketToken

public CSharpTokenNode LBracketToken { get; }

Property Value

CSharpTokenNode

NodeType

public override NodeType NodeType { get; }

Property Value

NodeType

RBracketToken

public CSharpTokenNode RBracketToken { get; }

Property Value

CSharpTokenNode

Methods

AcceptVisitor(IAstVisitor)

public override void AcceptVisitor(IAstVisitor visitor)

Parameters

visitor IAstVisitor

AcceptVisitor<T>(IAstVisitor<T>)

public override T AcceptVisitor<T>(IAstVisitor<T> visitor)

Parameters

visitor IAstVisitor<T>

Returns

T

Type Parameters

T

AcceptVisitor<T, S>(IAstVisitor<T, S>, T)

public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)

Parameters

visitor IAstVisitor<T, S>
data T

Returns

S

Type Parameters

T
S

DoMatch(AstNode, Match)

protected override bool DoMatch(AstNode other, Match match)

Parameters

other AstNode
match Match

Returns

bool

Operators

implicit operator AttributeSection(Pattern)

public static implicit operator AttributeSection(Pattern pattern)

Parameters

pattern Pattern

Returns

AttributeSection