10 references to DiagnosticsSwitches
System.Xml (10)
System\Xml\Schema\ContentValidator.cs (2)
1130
Debug.WriteLineIf(
DiagnosticsSwitches
.XmlSchemaContentModel.Enabled, "\t\t\tContentType: " + ctype);
1134
Debug.WriteLineIf(
DiagnosticsSwitches
.XmlSchemaContentModel.Enabled, "\t\t\tContent: EMPTY");
System\Xml\Serialization\CodeGenerator.cs (3)
253
if (
DiagnosticsSwitches
.KeepTempFiles.Enabled)
1735
if (
DiagnosticsSwitches
.KeepTempFiles.Enabled)
1769
if (
DiagnosticsSwitches
.KeepTempFiles.Enabled)
System\Xml\Serialization\Compilation.cs (2)
160
bool logEnabled =
DiagnosticsSwitches
.PregenEventLog.Enabled;
508
if (
DiagnosticsSwitches
.KeepTempFiles.Enabled) {
System\Xml\Serialization\Compiler.cs (1)
29
bool debugEnabled =
DiagnosticsSwitches
.KeepTempFiles.Enabled;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2034
this.maxDepth =
DiagnosticsSwitches
.NonRecursiveTypeLoading.Enabled ? 1 : int.MaxValue;
System\Xml\Serialization\XmlSchemas.cs (1)
437
Debug.WriteLineIf(
DiagnosticsSwitches
.XmlSerialization.TraceVerbose, "XmlSerialization::Failed to Merge " + MergeFailedMessage(o, dest, schema.TargetNamespace)