8 writes to Enabled
PresentationCore (5)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
145_traceSwitch.Enabled = value;
MS\Internal\MediaTrace.cs (3)
74_switch.Enabled = initialState; 137_switch.Enabled = true; 142_switch.Enabled = false;
System\IO\Packaging\PackWebRequestFactory.cs (1)
158_traceSwitch.Enabled = value;
PresentationFramework (3)
MS\Internal\Documents\DocumentsTrace.cs (3)
128_switch.Enabled = initialState; 188_switch.Enabled = true; 196_switch.Enabled = false;
84 references to Enabled
PresentationCore (66)
MS\Internal\AppModel\SiteOfOriginContainer.cs (3)
45if (_traceSwitch.Enabled) 141return _traceSwitch.Enabled; 192if (_traceSwitch.Enabled)
MS\Internal\AppModel\SiteOfOriginPart.cs (9)
49if (SiteOfOriginContainer._traceSwitch.Enabled) 61if (SiteOfOriginContainer._traceSwitch.Enabled) 89if (SiteOfOriginContainer._traceSwitch.Enabled) 105if (SiteOfOriginContainer._traceSwitch.Enabled) 119if (SiteOfOriginContainer._traceSwitch.Enabled) 132if (SiteOfOriginContainer._traceSwitch.Enabled) 158if (SiteOfOriginContainer._traceSwitch.Enabled) 182if (SiteOfOriginContainer._traceSwitch.Enabled) 192if (SiteOfOriginContainer._traceSwitch.Enabled)
MS\Internal\IO\Packaging\NetStream.cs (20)
75if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 127if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 261if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 287if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 378if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 390if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 427if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 516if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 533if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 556if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 627if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 636if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 690if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 702if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 943if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 964if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 1010if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 1083if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 1104if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled) 1130if (System.IO.Packaging.PackWebRequestFactory._traceSwitch.Enabled)
MS\Internal\IO\Packaging\ResponseStream.cs (1)
234if (PackWebRequestFactory._traceSwitch.Enabled)
MS\Internal\MediaTrace.cs (3)
79if (_switch.Enabled) 87if (_switch.Enabled) 147get { return _switch.Enabled; }
System\IO\Packaging\PackWebRequest.cs (3)
80if (PackWebRequestFactory._traceSwitch.Enabled && (cacheEntry != null)) 152if (PackWebRequestFactory._traceSwitch.Enabled) 168if (PackWebRequestFactory._traceSwitch.Enabled)
System\IO\Packaging\PackWebRequestFactory.cs (4)
64if (_traceSwitch.Enabled) 103if (_traceSwitch.Enabled) 116if (_traceSwitch.Enabled) 153return _traceSwitch.Enabled;
System\IO\Packaging\PackWebResponse.cs (23)
68if (PackWebRequestFactory._traceSwitch.Enabled) 91if (PackWebRequestFactory._traceSwitch.Enabled) 101if (PackWebRequestFactory._traceSwitch.Enabled) 135if (PackWebRequestFactory._traceSwitch.Enabled) 174if (PackWebRequestFactory._traceSwitch.Enabled) 190if (_forceWebResponseLengthFailureSwitch.Enabled) 196if (PackWebRequestFactory._traceSwitch.Enabled) 488if (PackWebRequestFactory._traceSwitch.Enabled) 508if (PackWebRequestFactory._traceSwitch.Enabled) 521if (PackWebRequestFactory._traceSwitch.Enabled) 547if (PackWebRequestFactory._traceSwitch.Enabled) 606if (PackWebRequestFactory._traceSwitch.Enabled) 623if (PackWebRequestFactory._traceSwitch.Enabled) 632if (PackWebRequestFactory._traceSwitch.Enabled) 650if (PackWebRequestFactory._traceSwitch.Enabled) 663if (PackWebRequestFactory._traceSwitch.Enabled) 674if (PackWebRequestFactory._traceSwitch.Enabled) 776if (PackWebRequestFactory._traceSwitch.Enabled) 798if (PackWebRequestFactory._traceSwitch.Enabled) 813if (PackWebRequestFactory._traceSwitch.Enabled) 842if (PackWebRequestFactory._traceSwitch.Enabled) 884if (PackWebRequestFactory._traceSwitch.Enabled) 899if (PackWebRequestFactory._traceSwitch.Enabled)
PresentationFramework (3)
MS\Internal\Documents\DocumentsTrace.cs (3)
136if (_switch.Enabled) 147if (_switch.Enabled) 205return _switch.Enabled;
PresentationUI (2)
MS\Internal\Documents\Application\Trace.cs (2)
32boolSwitch.Enabled, 54boolSwitch.Enabled && condition,
System.Private.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2361_maxDepth = DiagnosticsSwitches.NonRecursiveTypeLoading.Enabled ? 1 : int.MaxValue;
System.Windows.Forms (12)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2025if (s_axAlwaysSaveSwitch.Enabled)
System\Windows\Forms\Application.ThreadContext.cs (4)
114if (CoreSwitches.PerfTrack.Enabled) 117Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.StackTrace); 189if (CoreSwitches.PerfTrack.Enabled) 192Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.StackTrace);
System\Windows\Forms\Control.cs (4)
9156Debug.WriteLineIf(CoreSwitches.PerfTrack.Enabled, $"RecreateHandle: {GetType().FullName} [Text={Text}]"); 11725if (s_bufferDisabled.Enabled) 11769if (s_bufferPinkRect.Enabled) 11796if (s_bufferPinkRect.Enabled)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1380Debug.Assert(!s_pbrsAssertPropsSwitch.Enabled, $"Bad property '{PropertyLabel}.{property.Name}': {w}");
System\Windows\Forms\NativeWindow.cs (2)
217if (AlwaysUseNormalWndProc.Enabled) 467CoreSwitches.PerfTrack.Enabled,