diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2004-06-18 10:33:49 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2004-06-18 10:33:49 +0400 |
commit | 2bcaebf1cc347d8f2bf5d4ce2b3f1f0a5b837a9f (patch) | |
tree | 150c190e65f516beab85ff2bb517c305b2480d9a /mcs/class | |
parent | 1b8b2a501df4f165ae3cbbdb65c35195d52d1c48 (diff) |
* ArgIterator.cs: changed layout to Auto
* DateTime.cs: changed layout to Auto
svn path=/trunk/mcs/; revision=29853
Diffstat (limited to 'mcs/class')
-rwxr-xr-x | mcs/class/corlib/System/ArgIterator.cs | 2 | ||||
-rw-r--r-- | mcs/class/corlib/System/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/corlib/System/DateTime.cs | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/corlib/System/ArgIterator.cs b/mcs/class/corlib/System/ArgIterator.cs index ae16ae9b614..139a82eaa12 100755 --- a/mcs/class/corlib/System/ArgIterator.cs +++ b/mcs/class/corlib/System/ArgIterator.cs @@ -32,9 +32,11 @@ // using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace System { + [StructLayout (LayoutKind.Auto)] public struct ArgIterator { IntPtr sig; diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog index b711f7bc368..21b9a0c99e1 100644 --- a/mcs/class/corlib/System/ChangeLog +++ b/mcs/class/corlib/System/ChangeLog @@ -1,5 +1,10 @@ 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net> + * ArgIterator.cs: changed layout to Auto + * DateTime.cs: changed layout to Auto + +2004-06-18 Gert Driesen <drieseng@users.sourceforge.net> + * DateTime.cs: CRLF to LF 2004-06-17 Sebastien Pouliot <sebastien@ximian.com> diff --git a/mcs/class/corlib/System/DateTime.cs b/mcs/class/corlib/System/DateTime.cs index 4b6fa34be5e..6b42d2747b4 100644 --- a/mcs/class/corlib/System/DateTime.cs +++ b/mcs/class/corlib/System/DateTime.cs @@ -34,6 +34,7 @@ using System; using System.Collections; using System.Globalization; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using System.Text; namespace System @@ -44,6 +45,7 @@ namespace System /// </summary> /// [Serializable] + [StructLayout (LayoutKind.Auto)] public struct DateTime : IComparable, IFormattable, IConvertible { private TimeSpan ticks; |