Parcourir la source

* Pointer.cs: remove serializable attribute to match MS.NET

svn path=/trunk/mcs/; revision=29797
Gert Driesen il y a 21 ans
Parent
commit
d150fc45d4

+ 4 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -1,3 +1,7 @@
+2004-06-17  Gert Driesen <[email protected]>
+
+	* Pointer.cs: remove serializable attribute to match MS.NET
+
 2004-06-17  Gert Driesen <[email protected]>
 	
 	* ParameterModifier.cs: marked serializable, renamed field to match

+ 0 - 3
mcs/class/corlib/System.Reflection/Pointer.cs

@@ -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)