https://learn.microsoft.com/ru-ru/dotnet/api/system.security.permissions.gacidentitypermissionattribute?view=windowsdesktop-10.0&viewFallbackFrom=net-7.0
GacIdentityPermissionAttribute Class (System.Security.Permissions) | Microsoft Learn
Allows security actions for GacIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
class systemsecuritypermissionsmicrosoftlearn