using System; using System.Collections.Generic; using System.Collections.Specialized; using Cpp2IlInjected; namespace System.Diagnostics { /// Provides an abstract base class to create new debugging and tracing switches. // Token: 0x020000C0 RID: 192 [Token(Token = "0x20000C0")] public abstract class Switch { /// Initializes a new instance of the class. /// The name of the switch. /// The description for the switch. // Token: 0x0600048B RID: 1163 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600048B")] [Address(RVA = "0x28ADD50", Offset = "0x28ACB50", VA = "0x1828ADD50")] protected Switch(string displayName, string description) { } /// Initializes a new instance of the class, specifying the display name, description, and default value for the switch. /// The name of the switch. /// The description of the switch. /// The default value for the switch. // Token: 0x0600048C RID: 1164 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600048C")] [Address(RVA = "0x28ADB90", Offset = "0x28AC990", VA = "0x1828ADB90")] protected Switch(string displayName, string description, string defaultSwitchValue) { } // Token: 0x0600048D RID: 1165 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600048D")] [Address(RVA = "0x28ADDC0", Offset = "0x28ACBC0", VA = "0x1828ADDC0")] private static void _pruneCachedSwitches() { } // Token: 0x04000372 RID: 882 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000372")] private object switchSettings; // Token: 0x04000373 RID: 883 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000373")] private readonly string description; // Token: 0x04000374 RID: 884 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000374")] private readonly string displayName; // Token: 0x04000375 RID: 885 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000375")] private int switchSetting; // Token: 0x04000376 RID: 886 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000376")] private bool initialized; // Token: 0x04000377 RID: 887 [FieldOffset(Offset = "0x2D")] [Token(Token = "0x4000377")] private bool initializing; // Token: 0x04000378 RID: 888 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000378")] private string switchValueString; // Token: 0x04000379 RID: 889 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000379")] private StringDictionary attributes; // Token: 0x0400037A RID: 890 [FieldOffset(Offset = "0x40")] [Token(Token = "0x400037A")] private string defaultValue; // Token: 0x0400037B RID: 891 [FieldOffset(Offset = "0x48")] [Token(Token = "0x400037B")] private object m_intializedLock; // Token: 0x0400037C RID: 892 [Token(Token = "0x400037C")] private static List switches; // Token: 0x0400037D RID: 893 [Token(Token = "0x400037D")] private static int s_LastCollectionCount; } }