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