18 instantiations of BooleanSwitch
PresentationCore (4)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
138
new System.Diagnostics.
BooleanSwitch
("SiteOfOrigin", "SiteOfOriginContainer and SiteOfOriginPart trace messages");
MS\Internal\MediaTrace.cs (1)
69
_switch = new
BooleanSwitch
(switchName, "[PresentationCore]");
System\IO\Packaging\PackWebRequestFactory.cs (1)
31
_traceSwitch = new
BooleanSwitch
("PackWebRequest", "PackWebRequest/Response and NetStream trace messages");
System\IO\Packaging\PackWebResponse.cs (1)
42
_forceWebResponseLengthFailureSwitch = new
BooleanSwitch
("PackWebResponseBadServerLength", "Simulate PackWebResponse handling of server that returns bogus content length");
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
121
_switch = new
BooleanSwitch
(switchName, $"[{shortAssemblyName}]");
PresentationUI (5)
MS\Internal\Documents\Application\Trace.cs (5)
59
internal static readonly BooleanSwitch File =
new
(FileSwitchName, FileSwitchName, "1");
60
internal static readonly BooleanSwitch Packaging =
new
(PackagingSwitchName, PackagingSwitchName, "1");
61
internal static readonly BooleanSwitch Presentation =
new
(PresentationSwitchName, PresentationSwitchName, "1");
62
internal static readonly BooleanSwitch Rights =
new
(RightsSwitchName, RightsSwitchName, "1");
63
internal static readonly BooleanSwitch Signatures =
new
(SignaturesSwitchName, SignaturesSwitchName, "1");
System.Private.Xml (2)
System\Xml\DiagnosticsSwitches.cs (2)
14
s_keepTempFiles ??= new
BooleanSwitch
("XmlSerialization.Compilation", "Keep XmlSerialization generated (temp) files.");
17
s_nonRecursiveTypeLoading ??= new
BooleanSwitch
("XmlSerialization.NonRecursiveTypeLoading", "Turn on non-recursive algorithm generating XmlMappings for CLR types.");
System.Windows.Forms (6)
misc\CoreSwitches.cs (1)
10
public static BooleanSwitch PerfTrack => s_perfTrack ??= new
BooleanSwitch
("PERFTRACK", "Debug performance critical sections.");
System\Windows\Forms\ActiveX\AxHost.cs (1)
30
private static readonly BooleanSwitch s_axAlwaysSaveSwitch =
new
(
System\Windows\Forms\Control.cs (2)
51
private static readonly BooleanSwitch s_bufferPinkRect =
new
(
54
private static readonly BooleanSwitch s_bufferDisabled =
new
(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
23
=
new
("PbrsAssertProps", "PropertyBrowser : Assert on broken properties");
System\Windows\Forms\NativeWindow.cs (1)
18
=
new
("AlwaysUseNormalWndProc", "Skips checking for the debugger when choosing the debuggable WndProc handler");
28 references to BooleanSwitch
netstandard (1)
netstandard.cs (1)
618
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
BooleanSwitch
))]
PresentationCore (4)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
137
internal static System.Diagnostics.
BooleanSwitch
_traceSwitch =
MS\Internal\MediaTrace.cs (1)
151
private System.Diagnostics.
BooleanSwitch
_switch;
System\IO\Packaging\PackWebRequestFactory.cs (1)
162
internal static System.Diagnostics.
BooleanSwitch
_traceSwitch;
System\IO\Packaging\PackWebResponse.cs (1)
952
internal static System.Diagnostics.
BooleanSwitch
_forceWebResponseLengthFailureSwitch;
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
213
private System.Diagnostics.
BooleanSwitch
_switch;
PresentationUI (7)
MS\Internal\Documents\Application\Trace.cs (7)
20
internal static void SafeWrite(
BooleanSwitch
boolSwitch, string format, params ReadOnlySpan<object> args)
36
BooleanSwitch
boolSwitch,
59
internal static readonly
BooleanSwitch
File = new(FileSwitchName, FileSwitchName, "1");
60
internal static readonly
BooleanSwitch
Packaging = new(PackagingSwitchName, PackagingSwitchName, "1");
61
internal static readonly
BooleanSwitch
Presentation = new(PresentationSwitchName, PresentationSwitchName, "1");
62
internal static readonly
BooleanSwitch
Rights = new(RightsSwitchName, RightsSwitchName, "1");
63
internal static readonly
BooleanSwitch
Signatures = new(SignaturesSwitchName, SignaturesSwitchName, "1");
System (1)
src\libraries\shims\System\ref\System.cs (1)
474
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
BooleanSwitch
))]
System.Configuration.ConfigurationManager (2)
System\Diagnostics\TraceUtils.cs (2)
156
case nameof(
BooleanSwitch
):
157
return 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)
10
private static volatile
BooleanSwitch
? s_keepTempFiles;
11
private static volatile
BooleanSwitch
? s_nonRecursiveTypeLoading;
13
public static
BooleanSwitch
KeepTempFiles =>
16
public static
BooleanSwitch
NonRecursiveTypeLoading =>
System.Windows.Forms (7)
misc\CoreSwitches.cs (2)
9
private static
BooleanSwitch
? s_perfTrack;
10
public static
BooleanSwitch
PerfTrack => s_perfTrack ??= new BooleanSwitch("PERFTRACK", "Debug performance critical sections.");
System\Windows\Forms\ActiveX\AxHost.cs (1)
30
private static readonly
BooleanSwitch
s_axAlwaysSaveSwitch = new(
System\Windows\Forms\Control.cs (2)
51
private static readonly
BooleanSwitch
s_bufferPinkRect = new(
54
private static readonly
BooleanSwitch
s_bufferDisabled = new(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
22
private static readonly
BooleanSwitch
s_pbrsAssertPropsSwitch
System\Windows\Forms\NativeWindow.cs (1)
17
private static
BooleanSwitch
AlwaysUseNormalWndProc { get; }