Table of Contents

Class DocumentationReference

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

Represents a 'cref' reference in XML documentation.

public class DocumentationReference : AstNode, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
DocumentationReference
Implements
Inherited Members
Extension Methods

Constructors

DocumentationReference()

public DocumentationReference()

Fields

ConversionOperatorReturnTypeRole

public static readonly Role<AstType> ConversionOperatorReturnTypeRole

Field Value

Role<AstType>

DeclaringTypeRole

public static readonly Role<AstType> DeclaringTypeRole

Field Value

Role<AstType>

Properties

ConversionOperatorReturnType

Gets/Sets the return type of conversion operators. This property is only used when SymbolKind==Operator and OperatorType is explicit or implicit.

public AstType ConversionOperatorReturnType { get; set; }

Property Value

AstType

DeclaringType

Gets/Sets the declaring type.

public AstType DeclaringType { get; set; }

Property Value

AstType

HasParameterList

Gets/Sets whether a parameter list was provided.

public bool HasParameterList { get; set; }

Property Value

bool

MemberName

Gets/sets the member name. This property is only used when SymbolKind==None.

public string MemberName { get; set; }

Property Value

string

NodeType

public override NodeType NodeType { get; }

Property Value

NodeType

OperatorType

Gets/Sets the operator type. This property is only used when SymbolKind==Operator.

public OperatorType OperatorType { get; set; }

Property Value

OperatorType

Parameters

public AstNodeCollection<ParameterDeclaration> Parameters { get; }

Property Value

AstNodeCollection<ParameterDeclaration>

SymbolKind

Gets/Sets the entity type. Possible values are: SymbolKind.Operator for operators, SymbolKind.Indexer for indexers, SymbolKind.TypeDefinition for references to primitive types, and SymbolKind.None for everything else.

public SymbolKind SymbolKind { get; set; }

Property Value

SymbolKind

TypeArguments

public AstNodeCollection<AstType> TypeArguments { get; }

Property Value

AstNodeCollection<AstType>

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