54 references to TraceCode
System.Runtime.Serialization (54)
System\Runtime\Serialization\Diagnostics\TraceCode.cs (18)
10
public const int WriteObjectBegin =
TraceCode
.Serialization | 0X0001;
11
public const int WriteObjectEnd =
TraceCode
.Serialization | 0X0002;
12
public const int WriteObjectContentBegin =
TraceCode
.Serialization | 0X0003;
13
public const int WriteObjectContentEnd =
TraceCode
.Serialization | 0X0004;
14
public const int ReadObjectBegin =
TraceCode
.Serialization | 0X0005;
15
public const int ReadObjectEnd =
TraceCode
.Serialization | 0X0006;
16
public const int ElementIgnored =
TraceCode
.Serialization | 0X0007;
17
public const int XsdExportBegin =
TraceCode
.Serialization | 0X0008;
18
public const int XsdExportEnd =
TraceCode
.Serialization | 0X0009;
19
public const int XsdImportBegin =
TraceCode
.Serialization | 0X000A;
20
public const int XsdImportEnd =
TraceCode
.Serialization | 0X000B;
21
public const int XsdExportError =
TraceCode
.Serialization | 0X000C;
22
public const int XsdImportError =
TraceCode
.Serialization | 0X000D;
23
public const int XsdExportAnnotationFailed =
TraceCode
.Serialization | 0X000E;
24
public const int XsdImportAnnotationFailed =
TraceCode
.Serialization | 0X000F;
25
public const int XsdExportDupItems =
TraceCode
.Serialization | 0X0010;
26
public const int FactoryTypeNotFound =
TraceCode
.Serialization | 0X0011;
27
public const int ObjectWithLargeDepth =
TraceCode
.Serialization | 0X0012;
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (18)
18
{
TraceCode
.WriteObjectBegin, "WriteObjectBegin" },
19
{
TraceCode
.WriteObjectEnd, "WriteObjectEnd" },
20
{
TraceCode
.WriteObjectContentBegin, "WriteObjectContentBegin" },
21
{
TraceCode
.WriteObjectContentEnd, "WriteObjectContentEnd" },
22
{
TraceCode
.ReadObjectBegin, "ReadObjectBegin" },
23
{
TraceCode
.ReadObjectEnd, "ReadObjectEnd" },
24
{
TraceCode
.ElementIgnored, "ElementIgnored" },
25
{
TraceCode
.XsdExportBegin, "XsdExportBegin" },
26
{
TraceCode
.XsdExportEnd, "XsdExportEnd" },
27
{
TraceCode
.XsdImportBegin, "XsdImportBegin" },
28
{
TraceCode
.XsdImportEnd, "XsdImportEnd" },
29
{
TraceCode
.XsdExportError, "XsdExportError" },
30
{
TraceCode
.XsdImportError, "XsdImportError" },
31
{
TraceCode
.XsdExportAnnotationFailed, "XsdExportAnnotationFailed" },
32
{
TraceCode
.XsdImportAnnotationFailed, "XsdImportAnnotationFailed" },
33
{
TraceCode
.XsdExportDupItems, "XsdExportDupItems" },
34
{
TraceCode
.FactoryTypeNotFound, "FactoryTypeNotFound" },
35
{
TraceCode
.ObjectWithLargeDepth, "ObjectWithLargeDepth" },
System\Runtime\Serialization\SchemaExporter.cs (2)
541
TraceUtility.Trace(TraceEventType.Verbose,
TraceCode
.XsdExportAnnotationFailed,
585
TraceUtility.Trace(TraceEventType.Warning,
TraceCode
.XsdExportDupItems,
System\Runtime\Serialization\SchemaImporter.cs (1)
735
TraceUtility.Trace(TraceEventType.Verbose,
TraceCode
.XsdImportAnnotationFailed,
System\Runtime\Serialization\XmlObjectSerializer.cs (6)
74
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.WriteObjectBegin,
77
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.WriteObjectEnd,
155
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.WriteObjectContentBegin,
162
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.WriteObjectContentEnd,
304
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.ReadObjectBegin,
307
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.ReadObjectEnd,
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
217
TraceUtility.Trace(TraceEventType.Warning,
TraceCode
.FactoryTypeNotFound,
319
TraceUtility.Trace(TraceEventType.Verbose,
TraceCode
.ElementIgnored,
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
377
TraceUtility.Trace(TraceEventType.Warning,
TraceCode
.ObjectWithLargeDepth, SR.GetString(SR.TraceCodeObjectWithLargeDepth));
System\Runtime\Serialization\XsdDataContractExporter.cs (3)
75
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.XsdExportBegin, SR.GetString(SR.TraceCodeXsdExportBegin));
83
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.XsdExportEnd, SR.GetString(SR.TraceCodeXsdExportEnd));
91
TraceUtility.Trace(TraceEventType.Error,
TraceCode
.XsdExportError, SR.GetString(SR.TraceCodeXsdExportError), null, exception);
System\Runtime\Serialization\XsdDataContractImporter.cs (3)
249
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.XsdImportBegin, SR.GetString(SR.TraceCodeXsdImportBegin));
274
TraceUtility.Trace(TraceEventType.Information,
TraceCode
.XsdImportEnd, SR.GetString(SR.TraceCodeXsdImportEnd));
290
TraceUtility.Trace(TraceEventType.Error,
TraceCode
.XsdImportError, SR.GetString(SR.TraceCodeXsdImportError), null, exception);