13 references to XmlEncode
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (6)
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()));
177
xml.WriteElementString(DiagnosticStrings.KeyTag,
XmlEncode
(dataItem.ToString()));
178
xml.WriteElementString(DiagnosticStrings.ValueTag,
XmlEncode
(exception.Data[dataItem].ToString()));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
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())),
367
xml.WriteElementString(DiagnosticStrings.KeyTag,
XmlEncode
(dataItem.ToString()));
374
xml.WriteElementString(DiagnosticStrings.ValueTag,
XmlEncode
(exception.Data[dataItem].ToString()));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\TraceRecord.cs (1)
27
return DiagnosticTraceBase.
XmlEncode
(text);