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: 0x0200012C RID: 300 [Token(Token = "0x200012C")] [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: 0x06000ADE RID: 2782 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000ADE")] [Address(RVA = "0x2D784A0", Offset = "0x2D774A0", VA = "0x182D784A0")] public ObsoleteAttribute() { } /// Initializes a new instance of the class with a specified workaround message. /// The text string that describes alternative workarounds. // Token: 0x06000ADF RID: 2783 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000ADF")] [Address(RVA = "0x2D78470", Offset = "0x2D77470", VA = "0x182D78470")] 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: 0x06000AE0 RID: 2784 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000AE0")] [Address(RVA = "0x166E9C0", Offset = "0x166D9C0", VA = "0x18166E9C0")] public ObsoleteAttribute(string message, bool error) { } /// Gets the workaround message, including a description of the alternative program elements. /// The workaround text string. // Token: 0x170000DA RID: 218 // (get) Token: 0x06000AE1 RID: 2785 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170000DA")] public string Message { [Token(Token = "0x6000AE1")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } // Token: 0x04000476 RID: 1142 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000476")] private string _message; // Token: 0x04000477 RID: 1143 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000477")] private bool _error; } }