m
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Permissions
|
||||
{
|
||||
/// <summary>Controls access to non-public types and members through the <see cref="N:System.Reflection" /> APIs. Controls some features of the <see cref="N:System.Reflection.Emit" /> APIs.</summary>
|
||||
// Token: 0x020003CE RID: 974
|
||||
[Token(Token = "0x20003CE")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class ReflectionPermission : CodeAccessPermission
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Permissions.ReflectionPermission" /> class with the specified access.</summary>
|
||||
/// <param name="flag">One of the <see cref="T:System.Security.Permissions.ReflectionPermissionFlag" /> values.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="flag" /> parameter is not a valid value of <see cref="T:System.Security.Permissions.ReflectionPermissionFlag" />.</exception>
|
||||
// Token: 0x060022A8 RID: 8872 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60022A8")]
|
||||
[Address(RVA = "0xD08960", Offset = "0xD07960", VA = "0x180D08960")]
|
||||
public ReflectionPermission(ReflectionPermissionFlag flag)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the type of reflection allowed for the current permission.</summary>
|
||||
/// <returns>The set flags for the current permission.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">An attempt is made to set this property to an invalid value. See <see cref="T:System.Security.Permissions.ReflectionPermissionFlag" /> for the valid values.</exception>
|
||||
// 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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current permission is a subset of the specified permission.</summary>
|
||||
/// <param name="target">A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current permission is a subset of the specified permission; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="target" /> parameter is not <see langword="null" /> and is not of the same type as the current permission.</exception>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Returns a value indicating whether the current permission is unrestricted.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current permission is unrestricted; otherwise, <see langword="false" />.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Creates an XML encoding of the permission and its current state.</summary>
|
||||
/// <returns>An XML encoding of the permission, including any state information.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user