111 references to TD
System.Runtime.Serialization (111)
System\Runtime\Serialization\DataContract.cs (4)
2056
if (
TD
.ImportKnownTypesStartIsEnabled())
2058
TD
.ImportKnownTypesStart();
2132
if (
TD
.ImportKnownTypesStopIsEnabled())
2134
TD
.ImportKnownTypesStop();
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (12)
41
if (
TD
.DCJsonGenReaderStartIsEnabled())
43
TD
.DCJsonGenReaderStart("Class", classContract.UnderlyingType.FullName);
50
if (
TD
.DCJsonGenReaderStopIsEnabled())
52
TD
.DCJsonGenReaderStop();
63
if (
TD
.DCJsonGenReaderStartIsEnabled())
65
TD
.DCJsonGenReaderStart("Collection", collectionContract.StableName.Name);
73
if (
TD
.DCJsonGenReaderStopIsEnabled())
75
TD
.DCJsonGenReaderStop();
88
if (
TD
.DCJsonGenReaderStartIsEnabled())
90
TD
.DCJsonGenReaderStart("GetOnlyCollection", collectionContract.UnderlyingType.FullName);
98
if (
TD
.DCJsonGenReaderStopIsEnabled())
100
TD
.DCJsonGenReaderStop();
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (8)
35
if (
TD
.DCJsonGenWriterStartIsEnabled())
37
TD
.DCJsonGenWriterStart("Class", classContract.UnderlyingType.FullName);
44
if (
TD
.DCJsonGenWriterStopIsEnabled())
46
TD
.DCJsonGenWriterStop();
57
if (
TD
.DCJsonGenWriterStartIsEnabled())
59
TD
.DCJsonGenWriterStart("Collection", collectionContract.UnderlyingType.FullName);
66
if (
TD
.DCJsonGenWriterStopIsEnabled())
68
TD
.DCJsonGenWriterStop();
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (12)
46
if (
TD
.DCGenReaderStartIsEnabled())
48
TD
.DCGenReaderStart("Class", classContract.UnderlyingType.FullName);
55
if (
TD
.DCGenReaderStopIsEnabled())
57
TD
.DCGenReaderStop();
68
if (
TD
.DCGenReaderStartIsEnabled())
70
TD
.DCGenReaderStart("Collection", collectionContract.UnderlyingType.FullName);
77
if (
TD
.DCGenReaderStopIsEnabled())
79
TD
.DCGenReaderStop();
90
if (
TD
.DCGenReaderStartIsEnabled())
92
TD
.DCGenReaderStart("GetOnlyCollection", collectionContract.UnderlyingType.FullName);
99
if (
TD
.DCGenReaderStopIsEnabled())
101
TD
.DCGenReaderStop();
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (8)
45
if (
TD
.DCGenWriterStartIsEnabled())
47
TD
.DCGenWriterStart("Class", classContract.UnderlyingType.FullName);
54
if (
TD
.DCGenWriterStopIsEnabled())
56
TD
.DCGenWriterStop();
67
if (
TD
.DCGenWriterStartIsEnabled())
69
TD
.DCGenWriterStart("Collection", collectionContract.UnderlyingType.FullName);
77
if (
TD
.DCGenWriterStopIsEnabled())
79
TD
.DCGenWriterStop();
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
292
if (
TD
.DCResolverResolveIsEnabled())
294
TD
.DCResolverResolve(typeName.Name + ":" + typeName.Namespace);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (4)
194
if (
TD
.DCDeserializeWithSurrogateStartIsEnabled())
196
TD
.DCDeserializeWithSurrogateStart(declaredType.FullName);
212
if (
TD
.DCDeserializeWithSurrogateStopIsEnabled())
214
TD
.DCDeserializeWithSurrogateStop();
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (4)
338
if (
TD
.DCSerializeWithSurrogateStartIsEnabled())
340
TD
.DCSerializeWithSurrogateStart(declaredType.FullName);
367
if (
TD
.DCSerializeWithSurrogateStopIsEnabled())
369
TD
.DCSerializeWithSurrogateStop();
System\Xml\XmlExceptionHelper.cs (2)
37
if (
TD
.ReaderQuotaExceededIsEnabled())
39
TD
.ReaderQuotaExceeded(s);
TD.Designer.cs (55)
43
resourceManager = new System.Resources.ResourceManager("System.Runtime.Serialization.Diagnostics.Application.TD", typeof(
TD
).Assembly);
68
return (FxTrace.ShouldTraceError &&
TD
.IsEtwEventEnabled(0));
79
if (
TD
.IsEtwEventEnabled(0))
81
TD
.WriteEtwEvent(0, null, param0, payload.AppDomainFriendlyName);
91
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(1));
102
if (
TD
.IsEtwEventEnabled(1))
104
TD
.WriteEtwEvent(1, null, SurrogateType, payload.AppDomainFriendlyName);
114
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(2));
124
if (
TD
.IsEtwEventEnabled(2))
126
TD
.WriteEtwEvent(2, null, payload.AppDomainFriendlyName);
136
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(3));
147
if (
TD
.IsEtwEventEnabled(3))
149
TD
.WriteEtwEvent(3, null, SurrogateType, payload.AppDomainFriendlyName);
159
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(4));
169
if (
TD
.IsEtwEventEnabled(4))
171
TD
.WriteEtwEvent(4, null, payload.AppDomainFriendlyName);
181
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(5));
191
if (
TD
.IsEtwEventEnabled(5))
193
TD
.WriteEtwEvent(5, null, payload.AppDomainFriendlyName);
203
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(6));
213
if (
TD
.IsEtwEventEnabled(6))
215
TD
.WriteEtwEvent(6, null, payload.AppDomainFriendlyName);
225
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(7));
236
if (
TD
.IsEtwEventEnabled(7))
238
TD
.WriteEtwEvent(7, null, TypeName, payload.AppDomainFriendlyName);
248
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(8));
260
if (
TD
.IsEtwEventEnabled(8))
262
TD
.WriteEtwEvent(8, null, Kind, TypeName, payload.AppDomainFriendlyName);
272
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(9));
282
if (
TD
.IsEtwEventEnabled(9))
284
TD
.WriteEtwEvent(9, null, payload.AppDomainFriendlyName);
294
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(10));
306
if (
TD
.IsEtwEventEnabled(10))
308
TD
.WriteEtwEvent(10, null, Kind, TypeName, payload.AppDomainFriendlyName);
318
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(11));
328
if (
TD
.IsEtwEventEnabled(11))
330
TD
.WriteEtwEvent(11, null, payload.AppDomainFriendlyName);
340
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(12));
352
if (
TD
.IsEtwEventEnabled(12))
354
TD
.WriteEtwEvent(12, null, Kind, TypeName, payload.AppDomainFriendlyName);
364
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(13));
374
if (
TD
.IsEtwEventEnabled(13))
376
TD
.WriteEtwEvent(13, null, payload.AppDomainFriendlyName);
386
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(14));
398
if (
TD
.IsEtwEventEnabled(14))
400
TD
.WriteEtwEvent(14, null, Kind, TypeName, payload.AppDomainFriendlyName);
410
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(15));
420
if (
TD
.IsEtwEventEnabled(15))
422
TD
.WriteEtwEvent(15, null, payload.AppDomainFriendlyName);
432
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(16));
443
if (
TD
.IsEtwEventEnabled(16))
445
TD
.WriteEtwEvent(16, null, DCType, payload.AppDomainFriendlyName);
455
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(17));
465
if (
TD
.IsEtwEventEnabled(17))
467
TD
.WriteEtwEvent(17, null, payload.AppDomainFriendlyName);