[Mono-bugs] [Bug 42570][Wis] New - const defined item not defined
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Thu, 8 May 2003 02:57:10 -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 max.stekelenburg@planet.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=42570
--- shadow/42570 Thu May 8 02:57:10 2003
+++ shadow/42570.tmp.17662 Thu May 8 02:57:10 2003
@@ -0,0 +1,31 @@
+Bug#: 42570
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: max.stekelenburg@planet.nl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: const defined item not defined
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+when compiling the following code the compiler gives this error:
+test1.cs(4) error CS0103: The name `r' could not be found in `test'
+
+
+class test {
+ static void Main(){
+ const int r=2;
+ const int bs=r*2+1;
+ }
+}