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