X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.IO%2FFileInfo.cs;h=0911f8152c4827f7fdafb5f2dd993d302a651da0;hb=0146859e63468733659e108f7e8e4255e9ae0027;hp=004b145290683635b5d46cacbfef7dfc7d9dc8f5;hpb=2d23bfcbce7a3f7e54dcd5911adb88b244baca35;p=mono.git diff --git a/mcs/class/corlib/System.IO/FileInfo.cs b/mcs/class/corlib/System.IO/FileInfo.cs index 004b1452906..0911f8152c4 100644 --- a/mcs/class/corlib/System.IO/FileInfo.cs +++ b/mcs/class/corlib/System.IO/FileInfo.cs @@ -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 }