using System; using System.Collections; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Permissions; using Cpp2IlInjected; namespace System.Security { /// Represents a collection that can contain many different types of permissions. // Token: 0x020003A5 RID: 933 [Token(Token = "0x20003A5")] [MonoTODO] [MonoTODO("CAS support is experimental (and unsupported).")] [ComVisible(true)] [Serializable] public class PermissionSet : ISecurityEncodable, ICollection, IEnumerable, IDeserializationCallback { // Token: 0x06002050 RID: 8272 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002050")] [Address(RVA = "0x2DF0D40", Offset = "0x2DEFB40", VA = "0x182DF0D40")] internal PermissionSet() { } // Token: 0x06002051 RID: 8273 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002051")] [Address(RVA = "0x2DF0DA0", Offset = "0x2DEFBA0", VA = "0x182DF0DA0")] internal PermissionSet(IPermission perm) { } /// Copies the permission objects of the set to the indicated location in an . /// The target array to which to copy. /// The starting position in the array to begin copying (zero based). /// The parameter is . /// The parameter has more than one dimension. /// The parameter is out of the range of the parameter. // Token: 0x06002052 RID: 8274 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002052")] [Address(RVA = "0x2DF0500", Offset = "0x2DEF300", VA = "0x182DF0500", Slot = "11")] public virtual void CopyTo(Array array, int index) { } // Token: 0x06002053 RID: 8275 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002053")] [Address(RVA = "0x2DF0490", Offset = "0x2DEF290", VA = "0x182DF0490")] internal void CasOnlyDemand(int skip) { } /// Returns an enumerator for the permissions of the set. /// An enumerator object for the permissions of the set. // Token: 0x06002054 RID: 8276 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002054")] [Address(RVA = "0x2DF0820", Offset = "0x2DEF620", VA = "0x182DF0820", Slot = "9")] public IEnumerator GetEnumerator() { return null; } /// Returns a string representation of the . /// A representation of the . // Token: 0x06002055 RID: 8277 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002055")] [Address(RVA = "0x2DF08A0", Offset = "0x2DEF6A0", VA = "0x182DF08A0", Slot = "3")] public override string ToString() { return null; } /// Creates an XML encoding of the security object and its current state. /// An XML encoding of the security object, including any state information. // Token: 0x06002056 RID: 8278 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002056")] [Address(RVA = "0x2DF08E0", Offset = "0x2DEF6E0", VA = "0x182DF08E0", Slot = "12")] public virtual SecurityElement ToXml() { return null; } /// Gets the number of permission objects contained in the permission set. /// The number of permission objects contained in the . // Token: 0x17000456 RID: 1110 // (get) Token: 0x06002057 RID: 8279 RVA: 0x00014130 File Offset: 0x00012330 [Token(Token = "0x17000456")] public virtual int Count { [Token(Token = "0x6002057")] [Address(RVA = "0x4A44B0", Offset = "0x4A32B0", VA = "0x1804A44B0", Slot = "13")] get { return 0; } } /// Gets a value indicating whether the collection is guaranteed to be thread safe. /// Always . // Token: 0x17000457 RID: 1111 // (get) Token: 0x06002058 RID: 8280 RVA: 0x00014148 File Offset: 0x00012348 [Token(Token = "0x17000457")] public virtual bool IsSynchronized { [Token(Token = "0x6002058")] [Address(RVA = "0x2DF0E30", Offset = "0x2DEFC30", VA = "0x182DF0E30", Slot = "14")] get { return default(bool); } } /// Gets the root object of the current collection. /// The root object of the current collection. // Token: 0x17000458 RID: 1112 // (get) Token: 0x06002059 RID: 8281 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000458")] public virtual object SyncRoot { [Token(Token = "0x6002059")] [Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "15")] get { return null; } } /// Runs when the entire object graph has been deserialized. /// The object that initiated the callback. The functionality for this parameter is not currently implemented. // Token: 0x0600205A RID: 8282 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600205A")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "10")] [MonoTODO] void IDeserializationCallback.OnDeserialization(object sender) { } /// Determines whether the specified or object is equal to the current . /// The object to compare with the current . /// /// if the specified object is equal to the current object; otherwise, . // Token: 0x0600205B RID: 8283 RVA: 0x00014160 File Offset: 0x00012360 [Token(Token = "0x600205B")] [Address(RVA = "0x2DF0660", Offset = "0x2DEF460", VA = "0x182DF0660", Slot = "0")] [ComVisible(false)] public override bool Equals(object obj) { return default(bool); } /// Gets a hash code for the object that is suitable for use in hashing algorithms and data structures such as a hash table. /// A hash code for the current object. // Token: 0x0600205C RID: 8284 RVA: 0x00014178 File Offset: 0x00012378 [Token(Token = "0x600205C")] [Address(RVA = "0x2DF0850", Offset = "0x2DEF650", VA = "0x182DF0850", Slot = "2")] [ComVisible(false)] public override int GetHashCode() { return 0; } // Token: 0x04001261 RID: 4705 [Token(Token = "0x4001261")] private static object[] psUnrestricted; // Token: 0x04001262 RID: 4706 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001262")] private PermissionState state; // Token: 0x04001263 RID: 4707 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001263")] private ArrayList list; // Token: 0x04001264 RID: 4708 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001264")] private bool[] _ignored; // Token: 0x04001265 RID: 4709 [Token(Token = "0x4001265")] private static object[] action; } }