using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System { /// Marks the program elements that are no longer in use. This class cannot be inherited. // Token: 0x02000125 RID: 293 [Token(Token = "0x2000125")] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate)] [ComVisible(true)] [Serializable] public sealed class ObsoleteAttribute : Attribute { /// Initializes a new instance of the class with default properties. // Token: 0x06000AAC RID: 2732 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000AAC")] [Address(RVA = "0x2A0BDC0", Offset = "0x2A0ABC0", VA = "0x182A0BDC0")] public ObsoleteAttribute() { } /// Initializes a new instance of the class with a specified workaround message. /// The text string that describes alternative workarounds. // Token: 0x06000AAD RID: 2733 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000AAD")] [Address(RVA = "0x2A0BD90", Offset = "0x2A0AB90", VA = "0x182A0BD90")] public ObsoleteAttribute(string message) { } /// Initializes a new instance of the class with a workaround message and a Boolean value indicating whether the obsolete element usage is considered an error. /// The text string that describes alternative workarounds. /// /// if the obsolete element usage generates a compiler error; if it generates a compiler warning. // Token: 0x06000AAE RID: 2734 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000AAE")] [Address(RVA = "0xB90C50", Offset = "0xB8FA50", VA = "0x180B90C50")] public ObsoleteAttribute(string message, bool error) { } /// Gets the workaround message, including a description of the alternative program elements. /// The workaround text string. // Token: 0x170000D5 RID: 213 // (get) Token: 0x06000AAF RID: 2735 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170000D5")] public string Message { [Token(Token = "0x6000AAF")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } } // Token: 0x0400046C RID: 1132 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x400046C")] private string _message; // Token: 0x0400046D RID: 1133 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400046D")] private bool _error; } }