Author: raja
Date: 2006-06-16 07:59:38 -0400 (Fri, 16 Jun 2006)
New Revision: 61794

Added:
   trunk/mcs/errors/cs0120-9.cs
Modified:
   trunk/mcs/errors/ChangeLog
Log:
* cs0120-9.cs: New test from #78601.


Modified: trunk/mcs/errors/ChangeLog
===================================================================
--- trunk/mcs/errors/ChangeLog  2006-06-16 11:58:28 UTC (rev 61793)
+++ trunk/mcs/errors/ChangeLog  2006-06-16 11:59:38 UTC (rev 61794)
@@ -1,3 +1,7 @@
+2006-06-16  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * cs0120-9.cs: New test from #78601.
+
 2006-05-23  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * cs0139-3.cs, cs0139-4.cs, cs0139-5.cs, cs0139-6.cs: New

Added: trunk/mcs/errors/cs0120-9.cs
===================================================================
--- trunk/mcs/errors/cs0120-9.cs        2006-06-16 11:58:28 UTC (rev 61793)
+++ trunk/mcs/errors/cs0120-9.cs        2006-06-16 11:59:38 UTC (rev 61794)
@@ -0,0 +1,13 @@
+// cs0120-9.cs: `X.Y(System.Text.StringBuilder)': An object reference is 
required for the nonstatic field, method or property
+// Line: 8
+
+using System.Text;
+
+class X {
+       static void Main () {
+               X.Y(null);      
+       }
+       
+       void Y(StringBuilder someParam) {
+       }
+}


Property changes on: trunk/mcs/errors/cs0120-9.cs
___________________________________________________________________
Name: svn:mime-type
   + text/cpp
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to