10 instantiations of BooleanSwitch
PresentationCore (1)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
137new System.Diagnostics.BooleanSwitch("SiteOfOrigin", "SiteOfOriginContainer and SiteOfOriginPart trace messages");
PresentationUI (5)
MS\Internal\Documents\Application\Trace.cs (5)
59internal static readonly BooleanSwitch File = new(FileSwitchName, FileSwitchName, "1"); 60internal static readonly BooleanSwitch Packaging = new(PackagingSwitchName, PackagingSwitchName, "1"); 61internal static readonly BooleanSwitch Presentation = new(PresentationSwitchName, PresentationSwitchName, "1"); 62internal static readonly BooleanSwitch Rights = new(RightsSwitchName, RightsSwitchName, "1"); 63internal static readonly BooleanSwitch Signatures = new(SignaturesSwitchName, SignaturesSwitchName, "1");
System.Private.Xml (2)
System\Xml\DiagnosticsSwitches.cs (2)
14s_keepTempFiles ??= new BooleanSwitch("XmlSerialization.Compilation", "Keep XmlSerialization generated (temp) files."); 17s_nonRecursiveTypeLoading ??= new BooleanSwitch("XmlSerialization.NonRecursiveTypeLoading", "Turn on non-recursive algorithm generating XmlMappings for CLR types.");
System.Windows.Forms (2)
misc\CoreSwitches.cs (1)
10public static BooleanSwitch PerfTrack => s_perfTrack ??= new BooleanSwitch("PERFTRACK", "Debug performance critical sections.");
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
23= new("PbrsAssertProps", "PropertyBrowser : Assert on broken properties");
20 references to BooleanSwitch
netstandard (1)
netstandard.cs (1)
618[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.BooleanSwitch))]
PresentationCore (1)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
136internal static System.Diagnostics.BooleanSwitch _traceSwitch =
PresentationUI (7)
MS\Internal\Documents\Application\Trace.cs (7)
20internal static void SafeWrite(BooleanSwitch boolSwitch, string format, params ReadOnlySpan<object> args) 36BooleanSwitch boolSwitch, 59internal static readonly BooleanSwitch File = new(FileSwitchName, FileSwitchName, "1"); 60internal static readonly BooleanSwitch Packaging = new(PackagingSwitchName, PackagingSwitchName, "1"); 61internal static readonly BooleanSwitch Presentation = new(PresentationSwitchName, PresentationSwitchName, "1"); 62internal static readonly BooleanSwitch Rights = new(RightsSwitchName, RightsSwitchName, "1"); 63internal static readonly BooleanSwitch Signatures = new(SignaturesSwitchName, SignaturesSwitchName, "1");
System (1)
parent\ref\System.cs (1)
474[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.BooleanSwitch))]
System.Configuration.ConfigurationManager (2)
System\Diagnostics\TraceUtils.cs (2)
156case nameof(BooleanSwitch): 157return typeof(BooleanSwitch);
System.Diagnostics.TraceSource (1)
System\Diagnostics\BooleanSwitch.cs (1)
17/// <para>Initializes a new instance of the <see cref='System.Diagnostics.BooleanSwitch'/>
System.Private.Xml (4)
System\Xml\DiagnosticsSwitches.cs (4)
10private static BooleanSwitch? s_keepTempFiles; 11private static BooleanSwitch? s_nonRecursiveTypeLoading; 13public static BooleanSwitch KeepTempFiles => 16public static BooleanSwitch NonRecursiveTypeLoading =>
System.Windows.Forms (3)
misc\CoreSwitches.cs (2)
9private static BooleanSwitch? s_perfTrack; 10public static BooleanSwitch PerfTrack => s_perfTrack ??= new BooleanSwitch("PERFTRACK", "Debug performance critical sections.");
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
22private static readonly BooleanSwitch s_pbrsAssertPropsSwitch