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

◆ EmitQuote()

void System.Linq.Expressions.Compiler.LambdaCompiler.EmitQuote ( UnaryExpression quote)
inlineprivate

Definition at line 3432 of file LambdaCompiler.cs.

3433 {
3434 EmitConstant(quote.Operand, quote.Type);
3435 if (_scope.NearestHoistedLocals != null)
3436 {
3439 _ilg.Emit(OpCodes.Call, CachedReflectionInfo.RuntimeOps_Quote);
3441 }
3442 }
void EmitGet(ParameterExpression variable)
readonly ParameterExpression SelfVariable
virtual void Emit(OpCode opcode)
static readonly OpCode Castclass
Definition OpCodes.cs:235
static readonly OpCode Call
Definition OpCodes.cs:83

References System.Linq.Expressions.Compiler.LambdaCompiler._ilg, System.Linq.Expressions.Compiler.LambdaCompiler._scope, System.Reflection.Emit.OpCodes.Call, System.Reflection.Emit.OpCodes.Castclass, System.Reflection.Emit.ILGenerator.Emit(), System.Linq.Expressions.Compiler.LambdaCompiler.EmitConstant(), System.Linq.Expressions.Compiler.CompilerScope.EmitGet(), System.Linq.Expressions.Compiler.CompilerScope.NearestHoistedLocals, System.Linq.Expressions.CachedReflectionInfo.RuntimeOps_Quote, and System.Linq.Expressions.Compiler.HoistedLocals.SelfVariable.

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitQuoteUnaryExpression().