http://bugzilla.novell.com/show_bug.cgi?id=550960

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=550960#c1





--- Comment #1 from Stefano Sapienti <[email protected]>  
2009-10-29 05:06:40 MDT ---
If it can helps I looked at the source code and I found that in
systems/system.data/datatable.cs

internal void BinarySerialize (SerializationInfo info, string prefix)

makes this

Array recordArray = Array.CreateInstance (Rows[0][j].GetType (), recordsCount);

and then, after a while
recordArray.SetValue (dr [j, version], l);

Probably if Rows[0][j] is null it creates a wrong typed recordArray and it
fails the subsequent cast.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to