* Pointer.cs: remove serializable attribute to match MS.NET
authorGert Driesen <drieseng@users.sourceforge.net>
Thu, 17 Jun 2004 18:15:01 +0000 (18:15 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Thu, 17 Jun 2004 18:15:01 +0000 (18:15 -0000)
svn path=/trunk/mcs/; revision=29797

mcs/class/corlib/System.Reflection/ChangeLog
mcs/class/corlib/System.Reflection/Pointer.cs

index 982b4bd2f77afb94a6327966e351b26300c97140..8a7945e688ea15557f37e3440cb0152446c095f5 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * Pointer.cs: remove serializable attribute to match MS.NET
+
 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
        
        * ParameterModifier.cs: marked serializable, renamed field to match
index 123ff2bfcf866f3f503641a0658ce293082d4975..56012626130ababf6be4386bf9ae1d04c93955d6 100755 (executable)
@@ -38,8 +38,6 @@ using System.Runtime.CompilerServices;
 using System.Runtime.Serialization;
 
 namespace System.Reflection {
-
-       [Serializable]
        [CLSCompliant(false)]
        public unsafe sealed class Pointer : ISerializable {
 
@@ -51,7 +49,6 @@ namespace System.Reflection {
                
                public static object Box (void *ptr, Type type) 
                {
-
                        if (type == null)
                                throw new ArgumentNullException ("type");
                        if (!type.IsPointer)