svn path=/trunk/mcs/; revision=9323
@@ -1,3 +1,10 @@
+2002-12-01 Alejandro Sánchez Acosta <[email protected]>
+
+ * cs0100.cs,
+ cs0105.cs,
+ cs0112.cs,
+ cs0116.cs: New test.
2002-09-12 Martin Baulig <[email protected]>
* cs0038.cs: New test.
@@ -0,0 +1,24 @@
+// cs0100.cs: same parameters name in a method declaration.
+// Line: 6
+//
+// Author:
+// Alejandro Sánchez Acosta <[email protected]>
+// (C) Alejandro Sánchez Acosta
+public class X
+{
+ public void Add (int a, int a)
+ {
+ int c;
+ c= a + a;
+ Console.WriteLine (c);
+ }
+ static void Main ()
+ this.Add (3, 5);
+}
@@ -0,0 +1,11 @@
+using System;
+ static int Main ()
+ int a=5;
+ return a;
@@ -0,0 +1,25 @@
+// cs0112.cs: A static method can not be marked as virtual, abstract or override.
+// Line: 13
+namespace X
+ public abstract class Foo
+ public abstract int Add (int a, int b);
+ public class Bar: Foo
+ virtual public static int Add (int a, int b)
+ c = a + b;
+ return c;
@@ -0,0 +1,7 @@
+// cs0116.cs: A namespace cant have members that dont correspond to a class, delegate, interface, union, struct or enum.
+namespace Bar
+ float a;