[Mono-bugs] [Bug 75852][Nor] New - [GMCS] Delegate constraints ignored

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 19 14:54:23 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer at users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=75852

--- shadow/75852	2005-08-19 14:54:23.000000000 -0400
+++ shadow/75852.tmp.14514	2005-08-19 14:54:23.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 75852
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: bmaurer at users.sf.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] Delegate constraints ignored
+
+class X {
+	System.EventHandler <int> x;
+	static void Main () {}
+}
+
+Should not compile. EventHandler is declared:
+
+	public delegate void EventHandler <T> (object sender, T e) where T :
+EventArgs;


More information about the mono-bugs mailing list