Class Call
- Namespace
- ICSharpCode.Decompiler.IL
- Assembly
- ICSharpCode.Decompiler.dll
Non-virtual method call.
public sealed class Call : CallInstruction, ILiftableInstruction
- Inheritance
-
Call
- Implements
- Inherited Members
Constructors
Call(IMethod)
public Call(IMethod method)
Parameters
method
IMethod
Properties
IsLifted
Calls can only be lifted when calling a lifted operator. Note that the semantics of such a lifted call depend on the type of operator: we follow C# semantics here.
public bool IsLifted { get; }
Property Value
UnderlyingResultType
If the instruction is lifted and returns a nullable result, gets the underlying result type.
Note that not all lifted instructions return a nullable result: C# comparisons always return a bool!
public StackType UnderlyingResultType { get; }
Property Value
Methods
AcceptVisitor(ILVisitor)
Calls the Visit*-method on the visitor corresponding to the concrete type of this instruction.
public override void AcceptVisitor(ILVisitor visitor)
Parameters
visitor
ILVisitor
AcceptVisitor<T>(ILVisitor<T>)
Calls the Visit*-method on the visitor corresponding to the concrete type of this instruction.
public override T AcceptVisitor<T>(ILVisitor<T> visitor)
Parameters
visitor
ILVisitor<T>
Returns
- T
Type Parameters
T
AcceptVisitor<C, T>(ILVisitor<C, T>, C)
Calls the Visit*-method on the visitor corresponding to the concrete type of this instruction.
public override T AcceptVisitor<C, T>(ILVisitor<C, T> visitor, C context)
Parameters
visitor
ILVisitor<C, T>context
C
Returns
- T
Type Parameters
C
T