dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Xml NodeList.cs,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Xml NodeList.cs,1.6,1.7
Date: Thu, 20 Nov 2003 00:22:30 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv23932/System.Xml

Modified Files:
        NodeList.cs 
Log Message:


Fix the "MoveNext" method when enumerating over a node list when
encountering a null "XmlNode.list".


Index: NodeList.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/NodeList.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** NodeList.cs 5 Mar 2003 07:47:56 -0000       1.6
--- NodeList.cs 20 Nov 2003 00:22:28 -0000      1.7
***************
*** 248,252 ****
                                                }
                                        }
!                                       current = current.list.nextSibling;
                                        if(current != null)
                                        {
--- 248,259 ----
                                                }
                                        }
!                                       if(current.list != null)
!                                       {
!                                               current = 
current.list.nextSibling;
!                                       }
!                                       else
!                                       {
!                                               current = null;
!                                       }
                                        if(current != null)
                                        {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]