Skip to content

Commit

Permalink
Make sure a proper 'Not Implemented' exception is thrown instead of a…
Browse files Browse the repository at this point in the history
…n 'Out of Range' exception.
  • Loading branch information
TalAloni authored and kumpera committed Mar 19, 2012
1 parent 363fd54 commit 5ae8462
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -54,8 +54,7 @@ public sealed class RegistryAccessRule : AccessRule
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type)
// FIXME: accessMask=0 likely causes an error
: base (identity.Translate(typeof(SecurityIdentifier)), 0, false, inheritanceFlags, propagationFlags, type)
: base (identity, (int)registryRights, false, inheritanceFlags, propagationFlags, type)
{
this.rights = registryRights;
}
Expand Down

0 comments on commit 5ae8462

Please sign in to comment.