Merge pull request #2419 from esdrubal/xmlsubclassel
[mono.git] / mcs / class / corlib / System.Security.AccessControl / DirectorySecurity.cs
index 01f40dca1703774516c75fe7774189bd55f35874..b4acd323834eee6a449345ebc4a4de6bac10d576 100644 (file)
@@ -1,10 +1,11 @@
 //
 // System.Security.AccessControl.DirectorySecurity implementation
 //
-// Author:
+// Authors:
 //     Sebastien Pouliot  <sebastien@ximian.com>
+//     Dick Porter <dick@ximian.com>
 //
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005, 2006 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
-namespace System.Security.AccessControl {
-
-       [MonoTODO ("required for System.IO.DirectoryInfo - implementation is missing")]
-       public sealed class DirectorySecurity {
-
+namespace System.Security.AccessControl
+{
+       public sealed class DirectorySecurity : FileSystemSecurity
+       {
                public DirectorySecurity ()
+                       : base (true)
                {
-                       throw new PlatformNotSupportedException ();
                }
 
-               // TODO
+               public DirectorySecurity (string name, AccessControlSections includeSections)
+                       : base (true, name, includeSections)
+               {
+               }
        }
 }
 
-#endif