compmod\system\diagnostics\XmlWriterTraceListener.cs (72)
94InternalWrite("<TraceData>");
96InternalWrite("<DataItem>");
98InternalWrite("</DataItem>");
100InternalWrite("</TraceData>");
110InternalWrite("<TraceData>");
113InternalWrite("<DataItem>");
116InternalWrite("</DataItem>");
119InternalWrite("</TraceData>");
142InternalWrite(strBldr.ToString());
145InternalWrite(data.ToString());
169InternalWrite("\" RelatedActivityID=\"");
170InternalWrite(relatedActivityId.ToString("B"));
180InternalWrite(fixedHeader);
182InternalWrite("<EventID>");
183InternalWrite(((uint)id).ToString(CultureInfo.InvariantCulture));
184InternalWrite("</EventID>");
186InternalWrite("<Type>3</Type>");
188InternalWrite("<SubType Name=\"");
189InternalWrite(eventType.ToString());
190InternalWrite("\">0</SubType>");
192InternalWrite("<Level>");
198InternalWrite(sev.ToString(CultureInfo.InvariantCulture));
199InternalWrite("</Level>");
201InternalWrite("<TimeCreated SystemTime=\"");
203InternalWrite(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
205InternalWrite(DateTime.Now.ToString("o", CultureInfo.InvariantCulture));
206InternalWrite("\" />");
208InternalWrite("<Source Name=\"");
210InternalWrite("\" />");
212InternalWrite("<Correlation ActivityID=\"");
214InternalWrite(eventCache.ActivityId.ToString("B"));
216InternalWrite(Guid.Empty.ToString("B"));
222InternalWrite("\" />");
224InternalWrite("<Execution ProcessName=\"");
225InternalWrite(TraceEventCache.GetProcessName());
226InternalWrite("\" ProcessID=\"");
227InternalWrite(((uint)TraceEventCache.GetProcessId()).ToString(CultureInfo.InvariantCulture));
228InternalWrite("\" ThreadID=\"");
233InternalWrite("\" />");
235InternalWrite("<Channel/>");
237InternalWrite("<Computer>");
238InternalWrite(machineName);
239InternalWrite("</Computer>");
241InternalWrite("</System>");
243InternalWrite("<ApplicationData>");
251InternalWrite("<System.Diagnostics xmlns=\"http://schemas.microsoft.com/2004/08/System.Diagnostics\">");
254InternalWrite("<LogicalOperationStack>");
260InternalWrite("<LogicalOperation>");
262InternalWrite("</LogicalOperation>");
265InternalWrite("</LogicalOperationStack>");
268InternalWrite("<Timestamp>");
269InternalWrite(eventCache.Timestamp.ToString(CultureInfo.InvariantCulture));
270InternalWrite("</Timestamp>");
273InternalWrite("<Callstack>");
275InternalWrite("</Callstack>");
278InternalWrite("</System.Diagnostics>");
281InternalWrite("</ApplicationData></E2ETraceEvent>");
292InternalWrite(str.Substring(lastIndex, i-lastIndex));
293InternalWrite("&");
297InternalWrite(str.Substring(lastIndex, i-lastIndex));
298InternalWrite("<");
302InternalWrite(str.Substring(lastIndex, i-lastIndex));
303InternalWrite(">");
307InternalWrite(str.Substring(lastIndex, i-lastIndex));
308InternalWrite(""");
312InternalWrite(str.Substring(lastIndex, i-lastIndex));
313InternalWrite("'");
317InternalWrite(str.Substring(lastIndex, i-lastIndex));
318InternalWrite("
");
322InternalWrite(str.Substring(lastIndex, i-lastIndex));
323InternalWrite("
");
328InternalWrite(str.Substring(lastIndex, str.Length-lastIndex));