m
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Policy
|
||||
{
|
||||
/// <summary>Defines the set of information that constitutes input to security policy decisions. This class cannot be inherited.</summary>
|
||||
// Token: 0x020003CA RID: 970
|
||||
[Token(Token = "0x20003CA")]
|
||||
[MonoTODO]
|
||||
[MonoTODO("Serialization format not compatible with .NET")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class Evidence : ICollection, IEnumerable
|
||||
{
|
||||
/// <summary>Initializes a new empty instance of the <see cref="T:System.Security.Policy.Evidence" /> class.</summary>
|
||||
// Token: 0x0600229E RID: 8862 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600229E")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public Evidence()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of evidence objects in the evidence set.</summary>
|
||||
/// <returns>The number of evidence objects in the evidence set.</returns>
|
||||
// Token: 0x170004D9 RID: 1241
|
||||
// (get) Token: 0x0600229F RID: 8863 RVA: 0x00016608 File Offset: 0x00014808
|
||||
[Token(Token = "0x170004D9")]
|
||||
[Obsolete]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x600229F")]
|
||||
[Address(RVA = "0xD06BE0", Offset = "0xD05BE0", VA = "0x180D06BE0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the evidence set is thread-safe.</summary>
|
||||
/// <returns>Always <see langword="false" /> because thread-safe evidence sets are not supported.</returns>
|
||||
// Token: 0x170004DA RID: 1242
|
||||
// (get) Token: 0x060022A0 RID: 8864 RVA: 0x00016620 File Offset: 0x00014820
|
||||
[Token(Token = "0x170004DA")]
|
||||
public bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x60022A0")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the synchronization root.</summary>
|
||||
/// <returns>Always <see langword="this" /> (<see langword="Me" /> in Visual Basic), because synchronization of evidence sets is not supported.</returns>
|
||||
// Token: 0x170004DB RID: 1243
|
||||
// (get) Token: 0x060022A1 RID: 8865 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004DB")]
|
||||
public object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x60022A1")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Copies evidence objects to an <see cref="T:System.Array" />.</summary>
|
||||
/// <param name="array">The target array to which to copy evidence objects.</param>
|
||||
/// <param name="index">The zero-based position in the array to which to begin copying evidence objects.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is outside the range of the target array.</exception>
|
||||
// Token: 0x060022A2 RID: 8866 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60022A2")]
|
||||
[Address(RVA = "0xD06A70", Offset = "0xD05A70", VA = "0x180D06A70", Slot = "4")]
|
||||
[Obsolete]
|
||||
public void CopyTo(Array array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Enumerates all evidence in the set, both that provided by the host and that provided by the assembly.</summary>
|
||||
/// <returns>An enumerator for evidence added by both the <see cref="M:System.Security.Policy.Evidence.AddHost(System.Object)" /> method and the <see cref="M:System.Security.Policy.Evidence.AddAssembly(System.Object)" /> method.</returns>
|
||||
// Token: 0x060022A3 RID: 8867 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60022A3")]
|
||||
[Address(RVA = "0xD06B30", Offset = "0xD05B30", VA = "0x180D06B30", Slot = "8")]
|
||||
[Obsolete]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400133F RID: 4927
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400133F")]
|
||||
private bool _locked;
|
||||
|
||||
// Token: 0x04001340 RID: 4928
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001340")]
|
||||
private ArrayList hostEvidenceList;
|
||||
|
||||
// Token: 0x04001341 RID: 4929
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001341")]
|
||||
private ArrayList assemblyEvidenceList;
|
||||
|
||||
// Token: 0x020003CB RID: 971
|
||||
[Token(Token = "0x20003CB")]
|
||||
private class EvidenceEnumerator : IEnumerator
|
||||
{
|
||||
// Token: 0x060022A4 RID: 8868 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60022A4")]
|
||||
[Address(RVA = "0xD069E0", Offset = "0xD059E0", VA = "0x180D069E0")]
|
||||
public EvidenceEnumerator(IEnumerator hostenum, IEnumerator assemblyenum)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060022A5 RID: 8869 RVA: 0x00016638 File Offset: 0x00014838
|
||||
[Token(Token = "0x60022A5")]
|
||||
[Address(RVA = "0xD068E0", Offset = "0xD058E0", VA = "0x180D068E0", Slot = "4")]
|
||||
public bool MoveNext()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060022A6 RID: 8870 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60022A6")]
|
||||
[Address(RVA = "0xD06960", Offset = "0xD05960", VA = "0x180D06960", Slot = "6")]
|
||||
public void Reset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004DC RID: 1244
|
||||
// (get) Token: 0x060022A7 RID: 8871 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004DC")]
|
||||
public object Current
|
||||
{
|
||||
[Token(Token = "0x60022A7")]
|
||||
[Address(RVA = "0xD06A20", Offset = "0xD05A20", VA = "0x180D06A20", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001342 RID: 4930
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001342")]
|
||||
private IEnumerator currentEnum;
|
||||
|
||||
// Token: 0x04001343 RID: 4931
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001343")]
|
||||
private IEnumerator hostEnum;
|
||||
|
||||
// Token: 0x04001344 RID: 4932
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001344")]
|
||||
private IEnumerator assemblyEnum;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user