[Mono-bugs] [Bug 341205] New: gmcs fails to resolve extension method.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 12 20:21:13 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=341205

           Summary: gmcs fails to resolve extension method.
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


repro:

--
using System;
using System.Collections.Generic;

public static class Foo {

        public static IEnumerable<T> Reverse<T> (this IEnumerable<T> self)
        {
                return self;
        }

        public static void Main ()
        {
                int [] data = {0, 1, 2};

                var rev = data.Reverse ();
        }
}
--


-- 
Configure bugmail: https://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