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

IUnrestrictedPermission

public interface IUnrestrictedPermission
Allows a permission to expose an unrestricted state.

Returns a value indicating whether unrestricted access to the resource protected by the permission is allowed.