21 references to DiagnosticStrings
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (9)
166
xml.WriteElementString(
DiagnosticStrings
.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName));
167
xml.WriteElementString(
DiagnosticStrings
.MessageTag, XmlEncode(exception.Message));
168
xml.WriteElementString(
DiagnosticStrings
.StackTraceTag, XmlEncode(StackTraceString(exception)));
169
xml.WriteElementString(
DiagnosticStrings
.ExceptionStringTag, XmlEncode(exception.ToString()));
173
xml.WriteStartElement(
DiagnosticStrings
.DataItemsTag);
176
xml.WriteStartElement(
DiagnosticStrings
.DataTag);
177
xml.WriteElementString(
DiagnosticStrings
.KeyTag, XmlEncode(dataItem.ToString()));
178
xml.WriteElementString(
DiagnosticStrings
.ValueTag, XmlEncode(exception.Data[dataItem].ToString()));
185
xml.WriteStartElement(
DiagnosticStrings
.InnerExceptionTag);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (12)
195
writer.WriteStartElement(
DiagnosticStrings
.ExtendedDataTag);
272
if (!WriteStartElement(xml,
DiagnosticStrings
.ExceptionTag, ref remainingLength))
281
new Tuple<string, string> (
DiagnosticStrings
.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
282
new Tuple<string, string> (
DiagnosticStrings
.MessageTag, XmlEncode(exception.Message)),
283
new Tuple<string, string> (
DiagnosticStrings
.StackTraceTag, XmlEncode(StackTraceString(exception))), // Stack trace is sometimes null
284
new Tuple<string, string> (
DiagnosticStrings
.ExceptionStringTag, XmlEncode(exception.ToString())),
334
if (!WriteStartElement(xml,
DiagnosticStrings
.InnerExceptionTag, ref remainingLength))
363
xml.WriteStartElement(
DiagnosticStrings
.DataItemsTag);
366
xml.WriteStartElement(
DiagnosticStrings
.DataTag);
367
xml.WriteElementString(
DiagnosticStrings
.KeyTag, XmlEncode(dataItem.ToString()));
370
xml.WriteElementString(
DiagnosticStrings
.ValueTag, string.Empty);
374
xml.WriteElementString(
DiagnosticStrings
.ValueTag, XmlEncode(exception.Data[dataItem].ToString()));