internal void EmitSourceLine(string line) { if (codeGenTrace != CodeGenTrace.None) { OperationInvokerTrace.WriteInstruction(lineNo++, line); } if (ilGen != null && codeGenTrace == CodeGenTrace.Tron) { ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", lineNo - 1, line)); ilGen.Emit(OpCodes.Call, OperationInvokerTrace.TraceInstructionMethod); } }
internal void EmitSourceLine(string line) { if (this.codeGenTrace != CodeGenTrace.None) { OperationInvokerTrace.WriteInstruction(this.lineNo++, line); } if ((this.ilGen != null) && (this.codeGenTrace == CodeGenTrace.Tron)) { this.ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", new object[] { this.lineNo - 1, line })); this.ilGen.Emit(OpCodes.Call, OperationInvokerTrace.TraceInstructionMethod); } }