Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EmitDelegateConstruction() [1/2]

void System.Linq.Expressions.Compiler.LambdaCompiler.EmitDelegateConstruction ( LambdaCompiler inner)
inlineprivate

Definition at line 2303 of file LambdaCompiler.cs.

2304 {
2305 Type type = inner._lambda.Type;
2306 DynamicMethod value = inner._method as DynamicMethod;
2308 _ilg.EmitType(type);
2310 _ilg.Emit(OpCodes.Callvirt, CachedReflectionInfo.MethodInfo_CreateDelegate_Type_Object);
2312 }
void EmitConstant(LambdaCompiler lc, object value, Type type)
virtual void Emit(OpCode opcode)
static readonly OpCode Castclass
Definition OpCodes.cs:235
static readonly OpCode Callvirt
Definition OpCodes.cs:225

References System.Linq.Expressions.Compiler.LambdaCompiler._boundConstants, System.Linq.Expressions.Compiler.LambdaCompiler._ilg, System.Reflection.Emit.OpCodes.Callvirt, System.Reflection.Emit.OpCodes.Castclass, System.Reflection.Emit.ILGenerator.Emit(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitClosureCreation(), System.Linq.Expressions.Compiler.BoundConstants.EmitConstant(), System.Linq.inner, System.Linq.Expressions.CachedReflectionInfo.MethodInfo_CreateDelegate_Type_Object, System.type, and System.value.

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitDelegateConstruction(), and System.Linq.Expressions.Compiler.LambdaCompiler.EmitLambdaExpression().