Table of Contents

Class IndexerDeclaration

Namespace
ICSharpCode.Decompiler.CSharp.Syntax
Assembly
ICSharpCode.Decompiler.dll
public class IndexerDeclaration : EntityDeclaration, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
IndexerDeclaration
Implements
Inherited Members
Extension Methods

Constructors

IndexerDeclaration()

public IndexerDeclaration()

Fields

ExpressionBodyRole

public static readonly Role<Expression> ExpressionBodyRole

Field Value

Role<Expression>

GetterRole

public static readonly Role<Accessor> GetterRole

Field Value

Role<Accessor>

SetterRole

public static readonly Role<Accessor> SetterRole

Field Value

Role<Accessor>

ThisKeywordRole

public static readonly TokenRole ThisKeywordRole

Field Value

TokenRole

Properties

ExpressionBody

public Expression ExpressionBody { get; set; }

Property Value

Expression

Getter

public Accessor Getter { get; set; }

Property Value

Accessor

LBraceToken

public CSharpTokenNode LBraceToken { get; }

Property Value

CSharpTokenNode

LBracketToken

public CSharpTokenNode LBracketToken { get; }

Property Value

CSharpTokenNode

Name

public override string Name { get; set; }

Property Value

string

Parameters

public AstNodeCollection<ParameterDeclaration> Parameters { get; }

Property Value

AstNodeCollection<ParameterDeclaration>

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

RBracketToken

public CSharpTokenNode RBracketToken { get; }

Property Value

CSharpTokenNode

Setter

public Accessor Setter { get; set; }

Property Value

Accessor

SymbolKind

public override SymbolKind SymbolKind { get; }

Property Value

SymbolKind

ThisToken

public CSharpTokenNode ThisToken { 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