// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-
-namespace System.Security.AccessControl {
- public sealed class DirectorySecurity : FileSystemSecurity {
+namespace System.Security.AccessControl
+{
+ public sealed class DirectorySecurity : FileSystemSecurity
+ {
public DirectorySecurity ()
+ : base (true)
{
- throw new PlatformNotSupportedException ();
}
public DirectorySecurity (string name, AccessControlSections includeSections)
+ : base (true, name, includeSections)
{
- throw new PlatformNotSupportedException ();
}
}
}
-#endif