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

Public Member Functions

override 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[] GetArgs (InterpretedFrame frame, int first, int skip)
 
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)
 

Protected Attributes

readonly MethodInfo _target
 
readonly int _argumentCount
 

Package Functions

 MethodInfoCallInstruction (MethodInfo target, int argumentCount)
 

Properties

override int ArgumentCount [get]
 
override int ProducedStack [get]
 
override string InstructionName [get]
 
override int ConsumedStack [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 6 of file MethodInfoCallInstruction.cs.


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