[Mono-bugs] [Bug 619929] System.InvalidCastException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 8 09:39:23 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=619929#c3


--- Comment #3 from scott fluto <srfcanada at hotmail.com> 2010-07-08 13:39:23 UTC ---
this is actually related to Bug 620154 and puting in the GetENumerator()
overrids which seems to remove the problem of picking the correct GetEnumerator
 As noted in that issue, windows gave a warning about the abiguity but mono
doesnt and ends up getting confused when doing a foreach and trying to pick the
correct GetEnumerator. The strange thing is, even though windows gives the
warning , it still ends up picking the correct GetEnumerator method. At any
rate we put in the override which should be done anyhow so this isnt an issue
anymore. Ill leave it up to you if you want to mimic what windows does when it
runs into these ambiguous situations.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list