1 write to _switch
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
124_switch = new BooleanSwitch(switchName, $"[{name}]");
8 references to _switch
PresentationFramework (8)
MS\Internal\Documents\DocumentsTrace.cs (8)
131_switch.Enabled = initialState; 139if (_switch.Enabled) 141System.Diagnostics.Trace.WriteLine($"{_switch.Description} {_switch.DisplayName} : {message}"); 150if (_switch.Enabled) 191_switch.Enabled = true; 199_switch.Enabled = false; 208return _switch.Enabled;