Class PropertyDeclaration
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
public class PropertyDeclaration : EntityDeclaration, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
PropertyDeclaration
- Implements
- Inherited Members
- Extension Methods
Constructors
PropertyDeclaration()
public PropertyDeclaration()
Fields
ExpressionBodyRole
public static readonly Role<Expression> ExpressionBodyRole
Field Value
GetKeywordRole
public static readonly TokenRole GetKeywordRole
Field Value
GetterRole
public static readonly Role<Accessor> GetterRole
Field Value
InitKeywordRole
public static readonly TokenRole InitKeywordRole
Field Value
SetKeywordRole
public static readonly TokenRole SetKeywordRole
Field Value
SetterRole
public static readonly Role<Accessor> SetterRole
Field Value
Properties
AssignToken
public CSharpTokenNode AssignToken { get; }
Property Value
ExpressionBody
public Expression ExpressionBody { get; set; }
Property Value
Getter
public Accessor Getter { get; set; }
Property Value
Initializer
public Expression Initializer { get; set; }
Property Value
LBraceToken
public CSharpTokenNode LBraceToken { get; }
Property Value
PrivateImplementationType
Gets/Sets the type reference of the interface that is explicitly implemented. Null node if this member is not an explicit interface implementation.
public AstType PrivateImplementationType { get; set; }
Property Value
RBraceToken
public CSharpTokenNode RBraceToken { get; }
Property Value
Setter
public Accessor Setter { get; set; }
Property Value
SymbolKind
public override SymbolKind SymbolKind { 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)