Table of Contents

Class Accessor

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

get/set/init/add/remove

public class Accessor : EntityDeclaration, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
Accessor
Implements
Inherited Members
Extension Methods

Constructors

Accessor()

public Accessor()

Fields

Null

public static readonly Accessor Null

Field Value

Accessor

Properties

Body

public BlockStatement Body { get; set; }

Property Value

BlockStatement

Keyword

Gets the 'get'/'set'/'init'/'add'/'remove' keyword

public CSharpTokenNode Keyword { get; }

Property Value

CSharpTokenNode

NodeType

public override NodeType NodeType { get; }

Property Value

NodeType

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