-//\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;
+ }
+}