[Mono-bugs] [Bug 77483][Nor] New - [gmcs] Compile error when
casting to generic types
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Feb 6 10:46:27 EST 2006
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 anders at tlabwest.se.
http://bugzilla.ximian.com/show_bug.cgi?id=77483
--- shadow/77483 2006-02-06 10:46:27.000000000 -0500
+++ shadow/77483.tmp.4047 2006-02-06 10:46:27.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 77483
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: anders at tlabwest.se
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [gmcs] Compile error when casting to generic types
+
+Description of Problem:
+The attached file doesn't compile with gmcs (Mono 1.1.13), but works fine
+in VS2005.
+
+Steps to reproduce the problem:
+1. gmcs testcase.cs
+
+Actual Results:
+testcase.cs(27,19): error CS0452: The type 'TestCase.ITest' must be a
+reference type in order to use it as type paramenter 'T' in the generic
+type or method 'TestCase.CGenericTest<T,V>'.
+
+Expected Results:
+Should compile without errors.
+
+How often does this happen?
+Always
More information about the mono-bugs
mailing list