Table of Contents

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

Role<Expression>

GetKeywordRole

public static readonly TokenRole GetKeywordRole

Field Value

TokenRole

GetterRole

public static readonly Role<Accessor> GetterRole

Field Value

Role<Accessor>

InitKeywordRole

public static readonly TokenRole InitKeywordRole

Field Value

TokenRole

SetKeywordRole

public static readonly TokenRole SetKeywordRole

Field Value

TokenRole

SetterRole

public static readonly Role<Accessor> SetterRole

Field Value

Role<Accessor>

Properties

AssignToken

public CSharpTokenNode AssignToken { get; }

Property Value

CSharpTokenNode

ExpressionBody

public Expression ExpressionBody { get; set; }

Property Value

Expression

Getter

public Accessor Getter { get; set; }

Property Value

Accessor

Initializer

public Expression Initializer { get; set; }

Property Value

Expression

LBraceToken

public CSharpTokenNode LBraceToken { get; }

Property Value

CSharpTokenNode

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

AstType

RBraceToken

public CSharpTokenNode RBraceToken { get; }

Property Value

CSharpTokenNode

Setter

public Accessor Setter { get; set; }

Property Value

Accessor

SymbolKind

public override SymbolKind SymbolKind { get; }

Property Value

SymbolKind

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