Class SimpleType
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
public class SimpleType : AstType, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
SimpleType
- Implements
- Inherited Members
- Extension Methods
Constructors
SimpleType()
public SimpleType()
SimpleType(Identifier)
public SimpleType(Identifier identifier)
Parameters
identifier
Identifier
SimpleType(string)
public SimpleType(string identifier)
Parameters
identifier
string
SimpleType(string, params AstType[])
public SimpleType(string identifier, params AstType[] typeArguments)
Parameters
SimpleType(string, TextLocation)
public SimpleType(string identifier, TextLocation location)
Parameters
identifier
stringlocation
TextLocation
SimpleType(string, IEnumerable<AstType>)
public SimpleType(string identifier, IEnumerable<AstType> typeArguments)
Parameters
identifier
stringtypeArguments
IEnumerable<AstType>
Fields
Null
public static readonly SimpleType Null
Field Value
Properties
Identifier
public string Identifier { get; set; }
Property Value
IdentifierToken
public Identifier IdentifierToken { 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)
Parameters
Returns
ToTypeReference(NameLookupMode, InterningProvider)
public override ITypeReference ToTypeReference(NameLookupMode lookupMode, InterningProvider interningProvider = null)
Parameters
lookupMode
NameLookupModeinterningProvider
InterningProvider