projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2419 from esdrubal/xmlsubclassel
[mono.git]
/
mcs
/
class
/
corlib
/
System.Security.AccessControl
/
MutexAuditRule.cs
diff --git
a/mcs/class/corlib/System.Security.AccessControl/MutexAuditRule.cs
b/mcs/class/corlib/System.Security.AccessControl/MutexAuditRule.cs
index 0980d2edb01e3fc061177e46a156d940b3f7bbca..16656bec2b7c2d10462d2ee6ccf16c49927ed9f0 100644
(file)
--- a/
mcs/class/corlib/System.Security.AccessControl/MutexAuditRule.cs
+++ b/
mcs/class/corlib/System.Security.AccessControl/MutexAuditRule.cs
@@
-1,10
+1,11
@@
//
// System.Security.AccessControl.MutexAuditRule implementation
//
//
// System.Security.AccessControl.MutexAuditRule implementation
//
-// Author:
+// Author
s
:
// Dick Porter <dick@ximian.com>
// Dick Porter <dick@ximian.com>
+// Atsushi Enomoto <atsushi@ximian.com>
//
//
-// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2006
-2007
Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@
-26,29
+27,22
@@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-
using System.Security.Principal;
using System.Security.Principal;
-namespace System.Security.AccessControl {
+namespace System.Security.AccessControl
+{
public sealed class MutexAuditRule : AuditRule
{
public sealed class MutexAuditRule : AuditRule
{
- MutexRights mutexRights;
-
public MutexAuditRule (IdentityReference identity,
public MutexAuditRule (IdentityReference identity,
- MutexRights
mutex
Rights,
+ MutexRights
event
Rights,
AuditFlags flags)
AuditFlags flags)
+ : base (identity, (int)eventRights, false, InheritanceFlags.None, PropagationFlags.None, flags)
{
{
- this.mutexRights = mutexRights;
}
}
- public MutexRights MutexRights
- {
- get {
- return(mutexRights);
- }
+ public MutexRights MutexRights {
+ get { return (MutexRights)AccessMask; }
}
}
}
}
}
}
-#endif