https://learn.microsoft.com/ja-jp/dotnet/api/system.security.codeaccesspermission.revertpermitonly?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
CodeAccessPermission.RevertPermitOnly Method (System.Security) | Microsoft Learn
Causes any previous PermitOnly() for the current frame to be removed and no longer in effect.
system securitymethodmicrosoftlearn