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

◆ EmitWriteLine() [3/3]

virtual void System.Reflection.Emit.ILGenerator.EmitWriteLine ( string value)
inlinevirtual

Definition at line 931 of file ILGenerator.cs.

932 {
933 Emit(OpCodes.Ldstr, value);
934 Type[] types = new Type[1] { typeof(string) };
935 Type type = Type.GetType("System.Console, System.Console", throwOnError: true);
936 MethodInfo method = type.GetMethod("WriteLine", types);
937 Emit(OpCodes.Call, method);
938 }

References System.Reflection.Emit.OpCodes.Call, System.Type.GetType(), System.Reflection.Emit.OpCodes.Ldstr, System.type, and System.value.