using System; namespace System.Diagnostics { /// Identifies the level type for a switch. /// 1 // Token: 0x020000F6 RID: 246 [global::System.MonoLimitation("This attribute is not considered in trace support.")] [AttributeUsage(AttributeTargets.Class)] public sealed class SwitchLevelAttribute : Attribute { /// Initializes a new instance of the class, specifying the type that determines whether a trace should be written. /// The that determines whether a trace should be written. // Token: 0x060008B1 RID: 2225 RVA: 0x00016F98 File Offset: 0x00015198 public SwitchLevelAttribute(Type switchLevelType) { if (switchLevelType == null) { throw new ArgumentNullException("switchLevelType"); } this.type = switchLevelType; } /// Gets or sets the type that determines whether a trace should be written. /// The that determines whether a trace should be written. /// The set operation failed because the value is null. /// 2 // Token: 0x1700024E RID: 590 // (get) Token: 0x060008B2 RID: 2226 RVA: 0x00016FB8 File Offset: 0x000151B8 // (set) Token: 0x060008B3 RID: 2227 RVA: 0x00016FC0 File Offset: 0x000151C0 public Type SwitchLevelType { get { return this.type; } set { if (value == null) { throw new ArgumentNullException("value"); } this.type = value; } } // Token: 0x040002C2 RID: 706 private Type type; } }