<PackageReference Include="System.Security.Permissions" Version="9.0.6" />

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.