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: 0x020003C1 RID: 961
[Token(Token = "0x20003C1")]
[MonoTODO]
[ComVisible(true)]
[MonoTODO("CAS support is experimental (and unsupported).")]
[Serializable]
public class PermissionSet : ISecurityEncodable, ICollection, IEnumerable, IDeserializationCallback
{
// Token: 0x0600225C RID: 8796 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600225C")]
[Address(RVA = "0xD08560", Offset = "0xD07560", VA = "0x180D08560")]
internal PermissionSet()
{
}
// Token: 0x0600225D RID: 8797 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600225D")]
[Address(RVA = "0xD085C0", Offset = "0xD075C0", VA = "0x180D085C0")]
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: 0x0600225E RID: 8798 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600225E")]
[Address(RVA = "0xD07D20", Offset = "0xD06D20", VA = "0x180D07D20", Slot = "11")]
public virtual void CopyTo(Array array, int index)
{
}
// Token: 0x0600225F RID: 8799 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600225F")]
[Address(RVA = "0xD07CB0", Offset = "0xD06CB0", VA = "0x180D07CB0")]
internal void CasOnlyDemand(int skip)
{
}
/// Returns an enumerator for the permissions of the set.
/// An enumerator object for the permissions of the set.
// Token: 0x06002260 RID: 8800 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002260")]
[Address(RVA = "0xD08040", Offset = "0xD07040", VA = "0x180D08040", Slot = "9")]
public IEnumerator GetEnumerator()
{
return null;
}
/// Returns a string representation of the .
/// A representation of the .
// Token: 0x06002261 RID: 8801 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002261")]
[Address(RVA = "0xD080C0", Offset = "0xD070C0", VA = "0x180D080C0", 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: 0x06002262 RID: 8802 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002262")]
[Address(RVA = "0xD08100", Offset = "0xD07100", VA = "0x180D08100", 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: 0x170004CD RID: 1229
// (get) Token: 0x06002263 RID: 8803 RVA: 0x00016500 File Offset: 0x00014700
[Token(Token = "0x170004CD")]
public virtual int Count
{
[Token(Token = "0x6002263")]
[Address(RVA = "0x8E1280", Offset = "0x8E0280", VA = "0x1808E1280", Slot = "13")]
get
{
return 0;
}
}
/// Gets a value indicating whether the collection is guaranteed to be thread safe.
/// Always .
// Token: 0x170004CE RID: 1230
// (get) Token: 0x06002264 RID: 8804 RVA: 0x00016518 File Offset: 0x00014718
[Token(Token = "0x170004CE")]
public virtual bool IsSynchronized
{
[Token(Token = "0x6002264")]
[Address(RVA = "0xD08650", Offset = "0xD07650", VA = "0x180D08650", Slot = "14")]
get
{
return default(bool);
}
}
/// Gets the root object of the current collection.
/// The root object of the current collection.
// Token: 0x170004CF RID: 1231
// (get) Token: 0x06002265 RID: 8805 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004CF")]
public virtual object SyncRoot
{
[Token(Token = "0x6002265")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", 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: 0x06002266 RID: 8806 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002266")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002267 RID: 8807 RVA: 0x00016530 File Offset: 0x00014730
[Token(Token = "0x6002267")]
[Address(RVA = "0xD07E80", Offset = "0xD06E80", VA = "0x180D07E80", 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: 0x06002268 RID: 8808 RVA: 0x00016548 File Offset: 0x00014748
[Token(Token = "0x6002268")]
[Address(RVA = "0xD08070", Offset = "0xD07070", VA = "0x180D08070", Slot = "2")]
[ComVisible(false)]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04001324 RID: 4900
[Token(Token = "0x4001324")]
private static object[] psUnrestricted;
// Token: 0x04001325 RID: 4901
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001325")]
private PermissionState state;
// Token: 0x04001326 RID: 4902
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001326")]
private ArrayList list;
// Token: 0x04001327 RID: 4903
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001327")]
private bool[] _ignored;
// Token: 0x04001328 RID: 4904
[Token(Token = "0x4001328")]
private static object[] action;
}
}