[Mono-bugs] [Bug 491841] New: LINQ's Cast operator doesn't care about underlying source type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 3 06:41:19 EDT 2009


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


           Summary: LINQ's Cast operator doesn't care about underlying
                    source type
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Kubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: jbevain at novell.com
        ReportedBy: paszczi at go2.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=283926)
 --> (http://bugzilla.novell.com/attachment.cgi?id=283926)
test case

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8)
Gecko/2009032711 Ubuntu/8.10 (intrepid) Firefox/3.0.8

When class A implements more than one IEnumerable<> interface using .Cast<X>,
where X is a type that class A implements enumerable for, invalid cast
exception is thrown.

Reproducible: Always

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


More information about the mono-bugs mailing list