Class TypeReferenceExpression
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
Represents an AstType as an expression. This is used when calling a method on a primitive type: "int.Parse()"
public class TypeReferenceExpression : Expression, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
TypeReferenceExpression
- Implements
- Inherited Members
- Extension Methods
Constructors
TypeReferenceExpression()
public TypeReferenceExpression()
TypeReferenceExpression(AstType)
public TypeReferenceExpression(AstType type)
Parameters
type
AstType
Properties
Type
public AstType Type { get; set; }
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)