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