using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Permissions { /// Controls access to non-public types and members through the APIs. Controls some features of the APIs. // Token: 0x020003CE RID: 974 [Token(Token = "0x20003CE")] [ComVisible(true)] [Serializable] public sealed class ReflectionPermission : CodeAccessPermission { /// Initializes a new instance of the class with the specified access. /// One of the values. /// The parameter is not a valid value of . // Token: 0x060022A8 RID: 8872 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60022A8")] [Address(RVA = "0xD08960", Offset = "0xD07960", VA = "0x180D08960")] public ReflectionPermission(ReflectionPermissionFlag flag) { } /// Gets or sets the type of reflection allowed for the current permission. /// The set flags for the current permission. /// An attempt is made to set this property to an invalid value. See for the valid values. // Token: 0x170004DD RID: 1245 // (get) Token: 0x060022A9 RID: 8873 RVA: 0x00016650 File Offset: 0x00014850 // (set) Token: 0x060022AA RID: 8874 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004DD")] public ReflectionPermissionFlag Flags { [Token(Token = "0x60022A9")] [Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")] get { return ReflectionPermissionFlag.NoFlags; } [Token(Token = "0x60022AA")] [Address(RVA = "0xD08A20", Offset = "0xD07A20", VA = "0x180D08A20")] set { } } /// Determines whether the current permission is a subset of the specified permission. /// A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission. /// /// if the current permission is a subset of the specified permission; otherwise, . /// The parameter is not and is not of the same type as the current permission. // Token: 0x060022AB RID: 8875 RVA: 0x00016668 File Offset: 0x00014868 [Token(Token = "0x60022AB")] [Address(RVA = "0xD08720", Offset = "0xD07720", VA = "0x180D08720", Slot = "6")] public override bool IsSubsetOf(IPermission target) { return default(bool); } /// Returns a value indicating whether the current permission is unrestricted. /// /// if the current permission is unrestricted; otherwise, . // Token: 0x060022AC RID: 8876 RVA: 0x00016680 File Offset: 0x00014880 [Token(Token = "0x60022AC")] [Address(RVA = "0xD08800", Offset = "0xD07800", VA = "0x180D08800", Slot = "8")] public bool IsUnrestricted() { return default(bool); } /// Creates an XML encoding of the permission and its current state. /// An XML encoding of the permission, including any state information. // Token: 0x060022AD RID: 8877 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60022AD")] [Address(RVA = "0xD08810", Offset = "0xD07810", VA = "0x180D08810", Slot = "7")] public override SecurityElement ToXml() { return null; } // Token: 0x060022AE RID: 8878 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60022AE")] [Address(RVA = "0xD08680", Offset = "0xD07680", VA = "0x180D08680")] private ReflectionPermission Cast(IPermission target) { return null; } // Token: 0x04001348 RID: 4936 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001348")] private ReflectionPermissionFlag flags; } }