[Mono-bugs] [Bug 56459][Wis] New - CS1512: Keyword base is not available in the current context

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 12:55:54 -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 bmaurer@users.sf.net.

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

--- shadow/56459	2004-04-04 12:55:54.000000000 -0400
+++ shadow/56459.tmp.28409	2004-04-04 12:55:54.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 56459
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS1512: Keyword base is not available in the current context
+
+We compile:
+class A {
+   string a = base.ToString ();
+
+   public static void Main()
+   {
+   }
+}
+
+csc says:
+t.cs(4,15): error CS1512: Keyword base is not available in the current 
+context