[Mono-bugs] [Bug 615023] New: dynamic namespace confuses compiler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 17 04:44:19 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=615023#c0


           Summary: dynamic namespace confuses compiler
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


repro code:

using System.Collections.Generic;
namespace dynamic {
    public class C : List<dynamic>
    {
    }
}

results in:
test.cs(4,31): error CS0118: `dynamic' is a `namespace' but a `type' was
expected

csc (VS2010) compiles it successfully.

-- 
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