2007-11-15 Jb Evain <jbevain@novell.com>
authorJb Evain <jbevain@gmail.com>
Thu, 15 Nov 2007 20:36:46 +0000 (20:36 -0000)
committerJb Evain <jbevain@gmail.com>
Thu, 15 Nov 2007 20:36:46 +0000 (20:36 -0000)
* LinkedList.cs: let's not have an access to the SerializationInfo
field outside of serializations methods (We need a gendarme rule). Fixes #341938.

svn path=/trunk/mcs/; revision=89704

mcs/class/System/System.Collections.Generic/ChangeLog
mcs/class/System/System.Collections.Generic/LinkedList.cs

index fa78877e81f8cbe1f8459cc21ff563419ac83f7d..49cc2535ac137d71f988e3f0a002c6aea313d2e0 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-15  Jb Evain  <jbevain@novell.com>
+
+       * LinkedList.cs: let's not have an access to the SerializationInfo
+       field outside of serializations methods (We need a gendarme rule). Fixes #341938.
+
 2007-10-09  Raja R Harinath  <rharinath@novell.com>
 
        * RBTree.cs (get_Item, do_remove): Remove redundant code.
index 65355500afd0d76e368a21739b1b7b789cfc2b1b..765f14e716cf1167f3831675cc30227446792da6 100644 (file)
@@ -384,7 +384,6 @@ namespace System.Collections.Generic
                        
                        internal Enumerator (LinkedList <T> parent)
                        {
-                               si= null;
                                this.list = parent;
                                current = null;
                                index = -1;