1 write to _switch
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
121_switch = new BooleanSwitch(switchName, $"[{name}]");
8 references to _switch
PresentationFramework (8)
MS\Internal\Documents\DocumentsTrace.cs (8)
128_switch.Enabled = initialState; 136if (_switch.Enabled) 138System.Diagnostics.Trace.WriteLine($"{_switch.Description} {_switch.DisplayName} : {message}"); 147if (_switch.Enabled) 188_switch.Enabled = true; 196_switch.Enabled = false; 205return _switch.Enabled;