3 types derived from Switch
System.Diagnostics.TraceSource (3)
System\Diagnostics\BooleanSwitch.cs (1)
14public class BooleanSwitch : Switch
System\Diagnostics\SourceSwitch.cs (1)
9public class SourceSwitch : Switch
System\Diagnostics\TraceSwitch.cs (1)
13public class TraceSwitch : Switch
16 references to Switch
netstandard (1)
netstandard.cs (1)
680[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Switch))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
533[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Switch))]
System.Configuration.ConfigurationManager (2)
System\Diagnostics\TraceConfiguration.cs (2)
20Switch.Initializing += InitializingSwitch; 176Switch sw = e.Switch;
System.Diagnostics.TraceSource (12)
System\Diagnostics\InitializingSwitchEventArgs.cs (3)
7/// Provides data for the <see cref="Switch.Initializing"/> event. 11public InitializingSwitchEventArgs(Switch @switch) 16public Switch Switch { get; }
System\Diagnostics\Switch.cs (8)
30private static readonly List<WeakReference<Switch>> s_switches = new List<WeakReference<Switch>>(); 49/// <para>Initializes a new instance of the <see cref='System.Diagnostics.Switch'/> 66s_switches.Add(new WeakReference<Switch>(this)); 78List<WeakReference<Switch>> buffer = new List<WeakReference<Switch>>(s_switches.Count); 201/// Occurs when a <see cref="Switch"/> needs to be initialized. 280if (s_switches[i].TryGetTarget(out Switch? swtch))
System\Diagnostics\Trace.cs (1)
177Switch.RefreshAll();