13 references to BooleanSwitch
PresentationCore (4)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
150
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)
44
_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, $"[{name}]");
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)
53
private static readonly BooleanSwitch s_bufferPinkRect =
new
(
56
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");