Imported Upstream version 4.6.0.182

Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-09-01 10:46:18 +00:00
parent c911219690
commit 804b15604f
118 changed files with 1007 additions and 891 deletions

View File

@ -34,16 +34,16 @@ namespace System.Security.AccessControl {
public sealed class SemaphoreAccessRule : AccessRule
{
public SemaphoreAccessRule (IdentityReference identity,
SemaphoreRights semaphoreRights,
SemaphoreRights eventRights,
AccessControlType type)
: base (identity, (int)semaphoreRights, false, InheritanceFlags.None, PropagationFlags.None, type)
: base (identity, (int)eventRights, false, InheritanceFlags.None, PropagationFlags.None, type)
{
}
public SemaphoreAccessRule (string identity,
SemaphoreRights semaphoreRights,
SemaphoreRights eventRights,
AccessControlType type)
: this (new NTAccount (identity), semaphoreRights, type)
: this (new NTAccount (identity), eventRights, type)
{
}