Gets a hash code for the System.Security.NamedPermissionSet object that is suitable for use in hashing algorithms and data structures such as a hash table.
A hash code for the current System.Security.NamedPermissionSet object.
The hash code for two instances of the same permission might differ, hence a hash code should not be used to compare two System.Security.NamedPermissionSet objects.