[corlib] FileSystemInfo from reference source
[mono.git] / mcs / class / corlib / System.IO / MonoIOStat.cs
index a524b88ddd5fda1ac27e6cfb196b09c2f35307b1..c14420677ca909e8c5d5ff75cb0d0a2858979530 100644 (file)
@@ -1,11 +1,11 @@
-//\r
-// System.IO.MonoIOStat.cs: Idealized structure for file information.\r
-//\r
-// Author:\r
-//   Dan Lewis (dihlewis@yahoo.co.uk)\r
-//\r
-// (C) 2002\r
-//\r
+//
+// System.IO.MonoIOStat.cs: Idealized structure for file information.
+//
+// Author:
+//   Dan Lewis (dihlewis@yahoo.co.uk)
+//
+// (C) 2002
+//
 
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-using System;\r
-\r
-namespace System.IO\r
-{\r
-       internal struct MonoIOStat {\r
-               public FileAttributes Attributes;\r
-               public long Length;\r
-               public long CreationTime;\r
-               public long LastAccessTime;\r
-               public long LastWriteTime;\r
-       }\r
-}\r
+
+using System;
+using System.Runtime.InteropServices;
+
+namespace System.IO
+{
+       [StructLayout(LayoutKind.Sequential)]
+       internal struct MonoIOStat {
+               public FileAttributes fileAttributes;
+               public long Length;
+               public long CreationTime;
+               public long LastAccessTime;
+               public long LastWriteTime;
+       }
+}