Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Linq.Expressions.Interpreter.CallInstruction Class Referenceabstract

Public Member Functions

int Run (InterpretedFrame frame)
 
override string ToString ()
 
virtual string ToDebugString (int instructionIndex, object cookie, Func< int, int > labelIndexer, IReadOnlyList< object > objects)
 

Static Public Member Functions

static CallInstruction Create (MethodInfo info)
 
static CallInstruction Create (MethodInfo info, ParameterInfo[] parameters)
 
static void ArrayItemSetter1 (Array array, int index0, object value)
 
static void ArrayItemSetter2 (Array array, int index0, int index1, object value)
 
static void ArrayItemSetter3 (Array array, int index0, int index1, int index2, object value)
 

Protected Member Functions

object InterpretLambdaInvoke (LightLambda targetLambda, object[] args)
 

Static Protected Member Functions

static bool TryGetLightLambdaTarget (object instance, [NotNullWhen(true)] out LightLambda lightLambda)
 
static void NullCheck (object o)
 

Properties

int ArgumentCount [get]
 
override string InstructionName [get]
 
override int ConsumedStack [get]
 
virtual int ProducedStack [get]
 
virtual int ConsumedContinuations [get]
 
virtual int ProducedContinuations [get]
 
int StackBalance [get]
 
int ContinuationsBalance [get]
 

Static Private Member Functions

static CallInstruction GetArrayAccessor (MethodInfo info, int argumentCount)
 
static bool ShouldCache (MethodInfo info)
 
static Type TryGetParameterOrReturnType (MethodInfo target, ParameterInfo[] pi, int index)
 
static bool IndexIsNotReturnType (int index, MethodInfo target, ParameterInfo[] pi)
 
static CallInstruction SlowCreate (MethodInfo info, ParameterInfo[] pis)
 
static CallInstruction FastCreate (MethodInfo target, ParameterInfo[] pi)
 
static CallInstruction FastCreate< T0 > (MethodInfo target, ParameterInfo[] pi)
 
static CallInstruction FastCreate< T0, T1 > (MethodInfo target, ParameterInfo[] pi)
 
static Type GetHelperType (MethodInfo info, Type[] arrTypes)
 

Static Private Attributes

static readonly CacheDict< MethodInfo, CallInstructions_cache = new CacheDict<MethodInfo, CallInstruction>(256)
 

Detailed Description

Definition at line 8 of file CallInstruction.cs.


The documentation for this class was generated from the following file: