ReflectionPermissionFlag
Specifies the permitted use of the Reflection and Emit namespaces.
namespace System.Security.Permissions
{
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
[Flags]
public enum ReflectionPermissionFlag
{
[Obsolete("ReflectionPermissionFlag.AllFlags has been deprecated. Use PermissionState.Unrestricted to get full access.")]
AllFlags = 7,
MemberAccess = 2,
NoFlags = 0,
[Obsolete("ReflectionPermissionFlag.ReflectionEmit has been deprecated and is not supported.")]
ReflectionEmit = 4,
RestrictedMemberAccess = 8,
[Obsolete("ReflectionPermissionFlag.TypeInformation has been deprecated and is not supported.")]
TypeInformation = 1
}
}