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

◆ Emit()

static void System.Linq.Expressions.Compiler.ILGen.Emit ( this ILGenerator il,
OpCode opcode,
MethodBase methodBase )
inlinestaticpackage

Definition at line 16 of file ILGen.cs.

17 {
18 if (methodBase is ConstructorInfo con)
19 {
20 il.Emit(opcode, con);
21 }
22 else
23 {
24 il.Emit(opcode, (MethodInfo)methodBase);
25 }
26 }

References System.Reflection.Emit.ILGenerator.Emit().