[Mono-bugs] [Bug 445464] New: [GMCS] typeof of delegate inside unbound type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 16 01:55:07 EST 2008


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


           Summary: [GMCS] typeof of delegate inside unbound type
           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: sanxiyn at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following program errors with gmcs, while it compiles with csc:

using System;

public class EventClass<T> {
    public delegate void HookDelegate(T del);
}

public class Test {
    public static void Main() {
        Console.WriteLine(typeof(EventClass<>.HookDelegate));
    }
}

Test.cs(9,59): error CS1031: Type expected

Found in Phalanger.


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