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
AttributeTargetToken
public Identifier AttributeTargetToken { get; set; }
Property Value
Attributes
public AstNodeCollection<Attribute> Attributes { get; }
Property Value
LBracketToken
public CSharpTokenNode LBracketToken { get; }
Property Value
NodeType
public override NodeType NodeType { get; }
Property Value
RBracketToken
public CSharpTokenNode RBracketToken { get; }
Property Value
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
Returns
Operators
implicit operator AttributeSection(Pattern)
public static implicit operator AttributeSection(Pattern pattern)
Parameters
pattern
Pattern