using System; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Specifies whether to wrap exceptions that do not derive from the class with a object. This class cannot be inherited. // Token: 0x02000542 RID: 1346 [Token(Token = "0x2000542")] [AttributeUsage(AttributeTargets.Assembly)] [Serializable] public sealed class RuntimeCompatibilityAttribute : Attribute { /// Initializes a new instance of the class. // Token: 0x06002A33 RID: 10803 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A33")] [Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")] public RuntimeCompatibilityAttribute() { } /// Gets or sets a value that indicates whether to wrap exceptions that do not derive from the class with a object. /// /// if exceptions that do not derive from the class should appear wrapped with a object; otherwise, . // Token: 0x1700063D RID: 1597 // (set) Token: 0x06002A34 RID: 10804 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700063D")] public bool WrapNonExceptionThrows { [Token(Token = "0x6002A34")] [Address(RVA = "0x495D50", Offset = "0x494B50", VA = "0x180495D50")] set { } } // Token: 0x04001880 RID: 6272 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4001880")] private bool m_wrapNonExceptionThrows; } }