[Mono-dev] fix for DataConverter.cs

Cliff Brake cliff.brake at gmail.com
Thu Feb 7 16:18:56 EST 2008


In PackEnumerable(), b.i is getting incremented in two places:

--- DataConverter.cs.1  2008-02-07 16:14:01.000000000 -0500
+++ DataConverter.cs    2008-02-07 16:18:03.000000000 -0500
@@ -309,7 +309,7 @@
                        IEnumerator enumerator = args.GetEnumerator ();
                        bool ok = enumerator.MoveNext ();

-                       for (b.i = 0; b.i < description.Length; b.i++){
+                       for (b.i = 0; b.i < description.Length; ){
                                object oarg;

                                if (ok)

Thanks,
Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com



More information about the Mono-devel-list mailing list