[Mono-bugs] [Bug 21742] New - Cast resolves to field names rather than types.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
11 Mar 2002 17:20:09 -0000
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=21742
--- shadow/21742 Mon Mar 11 12:20:09 2002
+++ shadow/21742.tmp.32723 Mon Mar 11 12:20:09 2002
@@ -0,0 +1,22 @@
+Bug#: 21742
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: miguel@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Cast resolves to field names rather than types.
+
+The cast expression is resolving its names and simplenames without
+giving a special "weight" to resolve against a class/typename.
+
+This leads to problems with code like the one attached.