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


           Summary: Extension methods in parent namespace not found
           Product: Mono: Compilers
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


gmcs does not find extension methods defined in classes in the parent
namespace. (see attached test case)
The test case compiles correctly when I put both classes in the same namespace.

Expected result:
  Attached program should compile without errors
Actual result:
  error CS1061: Type `System.Collections.Generic.IList<Outer.Inner.Test>' does
not contain a definition for `AddRange' and no extension method `AddRange' of
type `System.Collections.Generic.IList<Outer.Inner.Test>' could be found (are
you missing a using directive or an assembly reference?)


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to