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: 0x020000BC RID: 188 [Token(Token = "0x20000BC")] public abstract class Switch { /// Initializes a new instance of the class. /// The name of the switch. /// The description for the switch. // Token: 0x06000475 RID: 1141 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000475")] [Address(RVA = "0x2F48800", Offset = "0x2F47800", VA = "0x182F48800")] 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: 0x06000476 RID: 1142 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000476")] [Address(RVA = "0x2F48640", Offset = "0x2F47640", VA = "0x182F48640")] protected Switch(string displayName, string description, string defaultSwitchValue) { } // Token: 0x06000477 RID: 1143 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000477")] [Address(RVA = "0x2F48870", Offset = "0x2F47870", VA = "0x182F48870")] private static void _pruneCachedSwitches() { } // Token: 0x04000365 RID: 869 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000365")] private object switchSettings; // Token: 0x04000366 RID: 870 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000366")] private readonly string description; // Token: 0x04000367 RID: 871 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000367")] private readonly string displayName; // Token: 0x04000368 RID: 872 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000368")] private int switchSetting; // Token: 0x04000369 RID: 873 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000369")] private bool initialized; // Token: 0x0400036A RID: 874 [FieldOffset(Offset = "0x2D")] [Token(Token = "0x400036A")] private bool initializing; // Token: 0x0400036B RID: 875 [FieldOffset(Offset = "0x30")] [Token(Token = "0x400036B")] private string switchValueString; // Token: 0x0400036C RID: 876 [FieldOffset(Offset = "0x38")] [Token(Token = "0x400036C")] private StringDictionary attributes; // Token: 0x0400036D RID: 877 [FieldOffset(Offset = "0x40")] [Token(Token = "0x400036D")] private string defaultValue; // Token: 0x0400036E RID: 878 [FieldOffset(Offset = "0x48")] [Token(Token = "0x400036E")] private object m_intializedLock; // Token: 0x0400036F RID: 879 [Token(Token = "0x400036F")] private static List switches; // Token: 0x04000370 RID: 880 [Token(Token = "0x4000370")] private static int s_LastCollectionCount; } }