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
DeclaringTypeRole
public static readonly Role<AstType> DeclaringTypeRole
Field Value
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
DeclaringType
Gets/Sets the declaring type.
public AstType DeclaringType { get; set; }
Property Value
HasParameterList
Gets/Sets whether a parameter list was provided.
public bool HasParameterList { get; set; }
Property Value
MemberName
Gets/sets the member name. This property is only used when SymbolKind==None.
public string MemberName { get; set; }
Property Value
NodeType
public override NodeType NodeType { get; }
Property Value
OperatorType
Gets/Sets the operator type. This property is only used when SymbolKind==Operator.
public OperatorType OperatorType { get; set; }
Property Value
Parameters
public AstNodeCollection<ParameterDeclaration> Parameters { get; }
Property Value
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
TypeArguments
public AstNodeCollection<AstType> TypeArguments { 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)