<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.6.25358.103" />

ReflectionPermissionFlag

Specifies the permitted use of the Reflection and Emit namespaces.
namespace System.Security.Permissions { [Flags] public enum ReflectionPermissionFlag { [System.Obsolete("ReflectionPermissionFlag.AllFlags has been deprecated. Use PermissionState.Unrestricted to get full access.")] AllFlags = 7, MemberAccess = 2, NoFlags = 0, [System.Obsolete("ReflectionPermissionFlag.ReflectionEmit has been deprecated and is not supported.")] ReflectionEmit = 4, RestrictedMemberAccess = 8, [System.Obsolete("ReflectionPermissionFlag.TypeInformation has been deprecated and is not supported.")] TypeInformation = 1 } }