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

PolicyStatementAttribute

Defines special attribute flags for security policy on code groups.
All = 3

All attribute flags are set.

The exclusive code group flag. When a code group has this flag set, only the permissions associated with that code group are granted to code belonging to the code group. At most, one code group matching a given piece of code can be set as exclusive.

The flag representing a policy statement that causes lower policy levels to not be evaluated as part of the resolve operation, effectively allowing the policy level to override lower levels.

Nothing = 0

No flags are set.