[Mono-bugs] [Bug 41550][Nor] New - (o is ValueType) always true under mcs
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 18 Apr 2003 13:19:25 -0400 (EDT)
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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=41550
--- shadow/41550 Fri Apr 18 13:19:25 2003
+++ shadow/41550.tmp.15071 Fri Apr 18 13:19:25 2003
@@ -0,0 +1,27 @@
+Bug#: 41550
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@freemail.hu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: (o is ValueType) always true under mcs
+
+When compiling the following code:
+
+object o = new object ();
+if (o is ValueType)
+ ....
+
+mcs prints the
+warning CS0183: The expression is always of type `System.ValueType'
+message, and the generated code will be incorrect.