oh dear
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: 0x020003AE RID: 942
|
||||
[Token(Token = "0x20003AE")]
|
||||
[MonoTODO]
|
||||
[ComVisible(true)]
|
||||
[MonoTODO("Serialization format not compatible with .NET")]
|
||||
[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: 0x06002092 RID: 8338 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002092")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
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: 0x17000462 RID: 1122
|
||||
// (get) Token: 0x06002093 RID: 8339 RVA: 0x00014238 File Offset: 0x00012438
|
||||
[Token(Token = "0x17000462")]
|
||||
[Obsolete]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6002093")]
|
||||
[Address(RVA = "0x2DF0430", Offset = "0x2DEF230", VA = "0x182DF0430", 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: 0x17000463 RID: 1123
|
||||
// (get) Token: 0x06002094 RID: 8340 RVA: 0x00014250 File Offset: 0x00012450
|
||||
[Token(Token = "0x17000463")]
|
||||
public bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6002094")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000464 RID: 1124
|
||||
// (get) Token: 0x06002095 RID: 8341 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000464")]
|
||||
public object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6002095")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", 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: 0x06002096 RID: 8342 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002096")]
|
||||
[Address(RVA = "0x2DF02C0", Offset = "0x2DEF0C0", VA = "0x182DF02C0", 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: 0x06002097 RID: 8343 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002097")]
|
||||
[Address(RVA = "0x2DF0380", Offset = "0x2DEF180", VA = "0x182DF0380", Slot = "8")]
|
||||
[Obsolete]
|
||||
public IEnumerator GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400127C RID: 4732
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400127C")]
|
||||
private bool _locked;
|
||||
|
||||
// Token: 0x0400127D RID: 4733
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400127D")]
|
||||
private ArrayList hostEvidenceList;
|
||||
|
||||
// Token: 0x0400127E RID: 4734
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400127E")]
|
||||
private ArrayList assemblyEvidenceList;
|
||||
|
||||
// Token: 0x020003AF RID: 943
|
||||
[Token(Token = "0x20003AF")]
|
||||
private class EvidenceEnumerator : IEnumerator
|
||||
{
|
||||
// Token: 0x06002098 RID: 8344 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002098")]
|
||||
[Address(RVA = "0x2DF0230", Offset = "0x2DEF030", VA = "0x182DF0230")]
|
||||
public EvidenceEnumerator(IEnumerator hostenum, IEnumerator assemblyenum)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002099 RID: 8345 RVA: 0x00014268 File Offset: 0x00012468
|
||||
[Token(Token = "0x6002099")]
|
||||
[Address(RVA = "0x2DF0130", Offset = "0x2DEEF30", VA = "0x182DF0130", Slot = "4")]
|
||||
public bool MoveNext()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600209A RID: 8346 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600209A")]
|
||||
[Address(RVA = "0x2DF01B0", Offset = "0x2DEEFB0", VA = "0x182DF01B0", Slot = "6")]
|
||||
public void Reset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000465 RID: 1125
|
||||
// (get) Token: 0x0600209B RID: 8347 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000465")]
|
||||
public object Current
|
||||
{
|
||||
[Token(Token = "0x600209B")]
|
||||
[Address(RVA = "0x2DF0270", Offset = "0x2DEF070", VA = "0x182DF0270", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400127F RID: 4735
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400127F")]
|
||||
private IEnumerator currentEnum;
|
||||
|
||||
// Token: 0x04001280 RID: 4736
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001280")]
|
||||
private IEnumerator hostEnum;
|
||||
|
||||
// Token: 0x04001281 RID: 4737
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001281")]
|
||||
private IEnumerator assemblyEnum;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user