System\Diagnostics\EventSchemaTraceListener.cs (82)
224_InternalBuildRaw(writer, s_userDataHeader);
226_InternalBuildRaw(writer, "</System.Diagnostics.UserData>");
243_InternalBuildRaw(writer, s_userDataHeader);
248_InternalBuildRaw(writer, "</System.Diagnostics.UserData>");
265_InternalBuildRaw(writer, "<Data>");
267_InternalBuildRaw(writer, "</Data>");
273_InternalBuildRaw(writer, s_eventHeader);
280_InternalBuildRaw(writer, "{00000000-0000-0000-0000-000000000000}");
282_InternalBuildRaw(writer, "\"/><EventID>");
283_InternalBuildRaw(writer, ((uint)((id <0)?0:id)).ToString(CultureInfo.InvariantCulture));
284_InternalBuildRaw(writer, "</EventID>");
286_InternalBuildRaw(writer, "<Level>");
293_InternalBuildRaw(writer, sev.ToString(CultureInfo.InvariantCulture));
294_InternalBuildRaw(writer, "</Level>");
299_InternalBuildRaw(writer, "<Opcode>");
300_InternalBuildRaw(writer, op.ToString(CultureInfo.InvariantCulture));
301_InternalBuildRaw(writer, "</Opcode>");
305_InternalBuildRaw(writer, "<TimeCreated SystemTime=\"");
307_InternalBuildRaw(writer, eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
309_InternalBuildRaw(writer, DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture));
310_InternalBuildRaw(writer, "\"/>");
314_InternalBuildRaw(writer, "<Correlation ActivityID=\"");
316_InternalBuildRaw(writer, Trace.CorrelationManager.ActivityId.ToString("B"));
318_InternalBuildRaw(writer, "\" RelatedActivityID=\"");
319_InternalBuildRaw(writer, relatedActivityId);
321_InternalBuildRaw(writer, "\"/>");
327_InternalBuildRaw(writer, "<Execution ");
328_InternalBuildRaw(writer, "ProcessID=\"");
330_InternalBuildRaw(writer, ((uint)eventCache.ProcessId).ToString(CultureInfo.InvariantCulture));
331_InternalBuildRaw(writer, "\" ");
332_InternalBuildRaw(writer, "ThreadID=\"");
333_InternalBuildRaw(writer, eventCache.ThreadId);
334_InternalBuildRaw(writer, "\"");
335_InternalBuildRaw(writer, "/>");
340_InternalBuildRaw(writer, "<Computer>");
341_InternalBuildRaw(writer, machineName);
342_InternalBuildRaw(writer, "</Computer>");
345_InternalBuildRaw(writer, "</System>");
348_InternalBuildRaw(writer, "<EventData>");
351_InternalBuildRaw(writer, "<UserData>");
357_InternalBuildRaw(writer, "</EventData>");
360_InternalBuildRaw(writer, "</UserData>");
364_InternalBuildRaw(writer, "<RenderingInfo Culture=\"en-EN\">");
369_InternalBuildRaw(writer, "<Level>Critical</Level>");
372_InternalBuildRaw(writer, "<Level>Error</Level>");
375_InternalBuildRaw(writer, "<Level>Warning</Level>");
378_InternalBuildRaw(writer, "<Level>Information</Level>");
381_InternalBuildRaw(writer, "<Level>Verbose</Level>");
385_InternalBuildRaw(writer, "<Level>Information</Level><Opcode>Start</Opcode>");
388_InternalBuildRaw(writer, "<Level>Information</Level><Opcode>Stop</Opcode>");
391_InternalBuildRaw(writer, "<Level>Information</Level><Opcode>Suspend</Opcode>");
394_InternalBuildRaw(writer, "<Level>Information</Level><Opcode>Resume</Opcode>");
397_InternalBuildRaw(writer, "<Level>Information</Level><Opcode>Transfer</Opcode>");
402_InternalBuildRaw(writer, "</RenderingInfo>");
407_InternalBuildRaw(writer, "<System.Diagnostics.ExtendedData xmlns=\"http://schemas.microsoft.com/2006/09/System.Diagnostics/ExtendedData\">");
410_InternalBuildRaw(writer, "<Timestamp>");
411_InternalBuildRaw(writer, eventCache.Timestamp.ToString(CultureInfo.InvariantCulture));
412_InternalBuildRaw(writer, "</Timestamp>");
417_InternalBuildRaw(writer, "<LogicalOperationStack>");
420_InternalBuildRaw(writer, "<LogicalOperation>");
422_InternalBuildRaw(writer, "</LogicalOperation>");
425_InternalBuildRaw(writer, "</LogicalOperationStack>");
429_InternalBuildRaw(writer, "<Callstack>");
431_InternalBuildRaw(writer, "</Callstack>");
434_InternalBuildRaw(writer, "</System.Diagnostics.ExtendedData>");
437_InternalBuildRaw(writer, "</Event>");
448_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
449_InternalBuildRaw(writer, "&");
453_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
454_InternalBuildRaw(writer, "<");
458_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
459_InternalBuildRaw(writer, ">");
463_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
464_InternalBuildRaw(writer, """);
468_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
469_InternalBuildRaw(writer, "'");
473_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
474_InternalBuildRaw(writer, "
");
478_InternalBuildRaw(writer, str.Substring(lastIndex, i-lastIndex));
479_InternalBuildRaw(writer, "
");
484_InternalBuildRaw(writer, str.Substring(lastIndex, str.Length-lastIndex));
495_InternalBuildRaw(writer, xmlBlob.ToString());