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; 135if (_switch.Enabled) 137System.Diagnostics.Trace.WriteLine($"{_switch.Description} {_switch.DisplayName} : {message}"); 146if (_switch.Enabled) 187_switch.Enabled = true; 195_switch.Enabled = false; 204return _switch.Enabled;