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
/
FileSecurity.cs
diff --git
a/mcs/class/corlib/System.Security.AccessControl/FileSecurity.cs
b/mcs/class/corlib/System.Security.AccessControl/FileSecurity.cs
index e72559ab0aab01b6431471c92ce71df1e29708f4..046d34225e4e154b10278b68566e13432d982093 100644
(file)
--- a/
mcs/class/corlib/System.Security.AccessControl/FileSecurity.cs
+++ b/
mcs/class/corlib/System.Security.AccessControl/FileSecurity.cs
@@
-26,21
+26,28
@@
// 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.Runtime.InteropServices;
-namespace System.Security.AccessControl {
- public sealed class FileSecurity : FileSystemSecurity {
+namespace System.Security.AccessControl
+{
+ public sealed class FileSecurity : FileSystemSecurity
+{
public FileSecurity ()
public FileSecurity ()
+ : base (false)
{
{
- throw new PlatformNotSupportedException ();
}
public FileSecurity (string fileName,
AccessControlSections includeSections)
}
public FileSecurity (string fileName,
AccessControlSections includeSections)
+ : base (false, fileName, includeSections)
+ {
+ }
+
+ internal FileSecurity (SafeHandle handle,
+ AccessControlSections includeSections)
+ : base (false, handle, includeSections)
{
{
- throw new PlatformNotSupportedException ();
}
}
}
}
}
}
-#endif