Merge pull request #537 from madewokherd/ccwmarshal
[mono.git] / mcs / class / corlib / System.IO / FileInfo.cs
index 004b145290683635b5d46cacbfef7dfc7d9dc8f5..0911f8152c4827f7fdafb5f2dd993d302a651da0 100644 (file)
@@ -49,11 +49,6 @@ namespace System.IO {
        {
                private bool exists;
 
-#if MOONLIGHT
-               internal FileInfo ()
-               {
-               }
-#endif
                public FileInfo (string fileName)
                {
                        if (fileName == null)
@@ -281,12 +276,12 @@ namespace System.IO {
 #if !NET_2_1
                public FileSecurity GetAccessControl ()
                {
-                       throw new NotImplementedException ();
+                       return File.GetAccessControl (FullPath); 
                }
                
                public FileSecurity GetAccessControl (AccessControlSections includeSections)
                {
-                       throw new NotImplementedException ();
+                       return File.GetAccessControl (FullPath, includeSections);
                }
 
                [ComVisible (false)]
@@ -332,7 +327,7 @@ namespace System.IO {
 
                public void SetAccessControl (FileSecurity fileSecurity)
                {
-                       throw new NotImplementedException ();
+                       File.SetAccessControl (FullPath, fileSecurity);
                }
 #endif
        }