using System; using System.Runtime.InteropServices; namespace System.Diagnostics { /// Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined. /// 1 // Token: 0x02000045 RID: 69 [ComVisible(true)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)] [Serializable] public sealed class ConditionalAttribute : Attribute { /// Initializes a new instance of the class. /// A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute. // Token: 0x06000660 RID: 1632 RVA: 0x00014AF8 File Offset: 0x00012CF8 public ConditionalAttribute(string conditionString) { this.myCondition = conditionString; } /// Gets the conditional compilation symbol that is associated with the attribute. /// A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute. /// 2 // Token: 0x170000B1 RID: 177 // (get) Token: 0x06000661 RID: 1633 RVA: 0x00014B08 File Offset: 0x00012D08 public string ConditionString { get { return this.myCondition; } } // Token: 0x0400009A RID: 154 private string myCondition; } }