1 write to _switch
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
120
_switch
= new BooleanSwitch(switchName, $"[{shortAssemblyName}]");
8 references to _switch
PresentationFramework (8)
MS\Internal\Documents\DocumentsTrace.cs (8)
127
_switch
.Enabled = initialState;
135
if (
_switch
.Enabled)
137
System.Diagnostics.Trace.WriteLine($"{
_switch
.Description} {
_switch
.DisplayName} : {message}");
146
if (
_switch
.Enabled)
187
_switch
.Enabled = true;
195
_switch
.Enabled = false;
204
return
_switch
.Enabled;