Author: marek
Date: 2005-03-08 07:47:42 -0500 (Tue, 08 Mar 2005)
New Revision: 41565

Added:
   trunk/mcs/errors/cs0122-12.cs
   trunk/mcs/errors/cs0156-2.cs
   trunk/mcs/errors/cs0172-2.cs
   trunk/mcs/errors/cs0266-2.cs
   trunk/mcs/errors/cs0266.cs
   trunk/mcs/errors/cs0407.cs
   trunk/mcs/errors/cs0428.cs
   trunk/mcs/errors/cs0610-4.cs
   trunk/mcs/errors/cs0720.cs
   trunk/mcs/errors/cs1527-2.cs
   trunk/mcs/errors/cs1656.cs
   trunk/mcs/errors/cs1657.cs
   trunk/mcs/errors/cs1715.cs
Removed:
   trunk/mcs/errors/cs0029-2.cs
   trunk/mcs/errors/cs0029-3.cs
   trunk/mcs/errors/cs0134.cs
   trunk/mcs/errors/cs0173.cs
   trunk/mcs/errors/cs0508-2.cs
   trunk/mcs/errors/cs0708-2.cs
   trunk/mcs/errors/cs1501.cs
   trunk/mcs/errors/cs1604.cs
   trunk/mcs/errors/cs1605.cs
   trunk/mcs/errors/cs1901.cs
Modified:
   trunk/mcs/errors/CONTRIBUTORS_README
   trunk/mcs/errors/cs0029-4.cs
   trunk/mcs/errors/cs0061.cs
   trunk/mcs/errors/cs0066-2.cs
   trunk/mcs/errors/cs0123.cs
   trunk/mcs/errors/cs0155-2.cs
   trunk/mcs/errors/cs0183.cs
   trunk/mcs/errors/cs0184.cs
   trunk/mcs/errors/cs0233.cs
   trunk/mcs/errors/cs0652.cs
   trunk/mcs/errors/cs0658.cs
   trunk/mcs/errors/cs0724.cs
   trunk/mcs/errors/cs3001-8.cs
   trunk/mcs/errors/cs3021.cs
   trunk/mcs/errors/cs3022.cs
   trunk/mcs/errors/cs3023.cs
   trunk/mcs/errors/mcs-expect-no-error
   trunk/mcs/errors/mcs-expect-wrong-error
Log:
fixed wrong errors
update

Modified: trunk/mcs/errors/CONTRIBUTORS_README
===================================================================
--- trunk/mcs/errors/CONTRIBUTORS_README        2005-03-08 12:45:09 UTC (rev 
41564)
+++ trunk/mcs/errors/CONTRIBUTORS_README        2005-03-08 12:47:42 UTC (rev 
41565)
@@ -75,7 +75,9 @@
        Here is a list of errors reported by csc 1.0, 1.1 and not supported by 
Mono.
         Please add comment for every error.
 
+       CS0134: not supported by csc 2.0
        CS0576: not supported by csc 2.0
         CS0580: Included in error CS1501 (not supported by csc 2.0)
         CS0581: Included in error CS0117 (not supported by csc 2.0)
        CS0654: not supported by csc 2.0
+

Deleted: trunk/mcs/errors/cs0029-2.cs
===================================================================
--- trunk/mcs/errors/cs0029-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0029-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,22 +0,0 @@
-public class Foo {
-  enum MyEnumType { MyValue }
-
-  public void Bar ()
-  {
-    uint my_uint_var = 0;
-    switch (my_uint_var) {
-    case MyEnumType.MyValue:
-      break;
-    default:
-      break;
-    }
-  }
-
-  static void Main () {}
-}
-
-
-
-
-
-

Deleted: trunk/mcs/errors/cs0029-3.cs
===================================================================
--- trunk/mcs/errors/cs0029-3.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0029-3.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,22 +0,0 @@
-// cs0029.cs: Cannot implicitly convert type 'Helper*' to 'Obsolete*'
-// Line: 18
-// Compiler options: -unsafe
-
-class Box {
-        public Helper o;
-}
-
-unsafe struct Obsolete {
-}
-
-unsafe struct Helper {}
-
-class MainClass {
-        unsafe public static void Main ()
-        {
-                Box b = new Box ();
-                fixed (Obsolete* p = &b.o)
-                {
-                }
-        }
-}

Modified: trunk/mcs/errors/cs0029-4.cs
===================================================================
--- trunk/mcs/errors/cs0029-4.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0029-4.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -4,7 +4,7 @@
 namespace Tsunami {
   public sealed class Gl {
 
-    [DllImport("libGL.so", EntryPoint="glCopyTexSubImage3D", 
CallingConvention="cdecl", ExactSpelling=true), SuppressUnmanagedCodeSecurity]
+    [DllImport("libGL.so", EntryPoint="glCopyTexSubImage3D", 
CallingConvention="cdecl", ExactSpelling=true)]
     public static extern void CopyTexSubImage3D ();
 
   }

Modified: trunk/mcs/errors/cs0061.cs
===================================================================
--- trunk/mcs/errors/cs0061.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0061.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -3,7 +3,7 @@
 
 using System;
 
-protected interface IFoo {
+interface IFoo {
 }
 
 public interface IBar : IFoo {

Modified: trunk/mcs/errors/cs0066-2.cs
===================================================================
--- trunk/mcs/errors/cs0066-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0066-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,3 +1,6 @@
-// cs0066.cs : 'System.TypedReference' : event must be of a delegate type 
+// cs0066.cs : 'Sample.reference' : event must be of a delegate type 
 // Line: 5
-public class Sample {        event System.TypedReference reference;}
\ No newline at end of file
+
+public class Sample {        
+       event object reference;
+}
\ No newline at end of file

Copied: trunk/mcs/errors/cs0122-12.cs (from rev 41549, 
trunk/mcs/errors/cs1501.cs)
===================================================================
--- trunk/mcs/errors/cs1501.cs  2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs0122-12.cs       2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,15 @@
+// cs0122.cs: 'Base.Base(string)' is inaccessible due to its protection level
+// Line: 12
+class Base {
+       Base (string x)
+       {
+       }
+}
+
+// Notice how there is no invocation to "base (something)"
+
+class Derived : Base {
+       Derived ()
+       {
+       }
+}

Modified: trunk/mcs/errors/cs0123.cs
===================================================================
--- trunk/mcs/errors/cs0123.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0123.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,7 +1,7 @@
 // cs0123.cs: Method 'MainClass.Delegate()' does not match delegate 'void 
TestDelegate()'
 // Line: 12
 
-delegate void TestDelegate();
+delegate int TestDelegate(bool b);
 
 public class MainClass {
         public static int Delegate() {

Deleted: trunk/mcs/errors/cs0134.cs
===================================================================
--- trunk/mcs/errors/cs0134.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0134.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,11 +0,0 @@
-// cs0134.cs: Cannot use qualified namespace names in nested namespace 
declarations
-// Line: 5
-
-namespace Level1 {
-        namespace Level1.Level2 {
-                public class MainClass {
-                        public static void Main() {
-                        }
-                }
-        }
-}

Modified: trunk/mcs/errors/cs0155-2.cs
===================================================================
--- trunk/mcs/errors/cs0155-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0155-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -4,8 +4,7 @@
        static void Main ()
        {
                try {
-                       ;
-               } catch (int e) {
+               } catch (object e) {
                        throw;
                }
        }

Added: trunk/mcs/errors/cs0156-2.cs
===================================================================
--- trunk/mcs/errors/cs0156-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0156-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,17 @@
+// CS0156: A throw statement with no arguments is not allowed outside of a 
catch clause
+// Line: 14
+
+using System;
+
+class Foo
+{
+       static void Main ()
+       {
+               try {
+                   Console.WriteLine ("TEST");
+               }
+               finally {
+                       throw;
+               }
+       }
+}

Copied: trunk/mcs/errors/cs0172-2.cs (from rev 41549, 
trunk/mcs/errors/cs0173.cs)
===================================================================
--- trunk/mcs/errors/cs0173.cs  2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs0172-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,31 @@
+// cs0172.cs: Type of conditional expression can't be determined because there 
is no implicit conversion between 'ClassA' and 'ClassB'
+// Line: 29
+
+class ClassA {
+        public static implicit operator ClassB (ClassA value) {
+                return null;
+        }
+        
+        public static implicit operator ClassA (ClassB value) {
+                return null;
+        }
+}
+
+class ClassB {
+        public static implicit operator ClassA (ClassB value) {
+                return null;
+        }
+        
+        public static implicit operator ClassB (ClassA value) {
+                return null;
+        }
+}
+
+public class MainClass {
+        public static void Main() {
+                ClassA a = new ClassA();
+                ClassB b = new ClassB();
+            
+                System.Console.WriteLine(true ? a : b);
+   }
+}

Deleted: trunk/mcs/errors/cs0173.cs
===================================================================
--- trunk/mcs/errors/cs0173.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0173.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,31 +0,0 @@
-// cs0173.cs: Type of conditional expression can't be determined because there 
is no implicit conversion between 'ClassA' and 'ClassB'
-// Line: 29
-
-class ClassA {
-        public static implicit operator ClassB (ClassA value) {
-                return null;
-        }
-        
-        public static implicit operator ClassA (ClassB value) {
-                return null;
-        }
-}
-
-class ClassB {
-        public static implicit operator ClassA (ClassB value) {
-                return null;
-        }
-        
-        public static implicit operator ClassB (ClassA value) {
-                return null;
-        }
-}
-
-public class MainClass {
-        public static void Main() {
-                ClassA a = new ClassA();
-                ClassB b = new ClassB();
-            
-                System.Console.WriteLine(true ? a : b);
-   }
-}

Modified: trunk/mcs/errors/cs0183.cs
===================================================================
--- trunk/mcs/errors/cs0183.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0183.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs0183.cs: the expression is always of the type `x'
 // Line:
+// Compiler options: -warnaserror -warn:1
 
 class X {
 

Modified: trunk/mcs/errors/cs0184.cs
===================================================================
--- trunk/mcs/errors/cs0184.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0184.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs0184.cs: The expression is never of the provided type
 // Line:
+// Compiler options: -warnaserror -warn:1
 
 class X {
 

Modified: trunk/mcs/errors/cs0233.cs
===================================================================
--- trunk/mcs/errors/cs0233.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0233.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,10 +1,13 @@
-// cs0233.cs: sizeof can only be used in an unsafe context (consider using 
System.Runtime.InteropServices.Marshal.SizeOf)
-// Line: 7
-// Compiler options: -unsafe
+// cs0233.cs: 'MainClass.S' does not have a predefined size, therefore sizeof 
can only be used in an unsafe context (consider using 
System.Runtime.InteropServices.Marshal.SizeOf)
+// Line: 10
 
 public class MainClass {
-        static void Main () {
-                const int size = sizeof(int);
+       struct S
+       {
+       }
+       
+        static int Main () {
+                return sizeof(S);
         }
 }
 

Copied: trunk/mcs/errors/cs0266-2.cs (from rev 41549, 
trunk/mcs/errors/cs0029-3.cs)
===================================================================
--- trunk/mcs/errors/cs0029-3.cs        2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs0266-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,22 @@
+// cs0266.cs: Cannot implicitly convert type 'Helper*' to 'Obsolete*'. An 
explicit conversion exists (are you missing a cast?)
+// Line: 18
+// Compiler options: -unsafe
+
+class Box {
+        public Helper o;
+}
+
+unsafe struct Obsolete {
+}
+
+unsafe struct Helper {}
+
+class MainClass {
+        unsafe public static void Main ()
+        {
+                Box b = new Box ();
+                fixed (Obsolete* p = &b.o)
+                {
+                }
+        }
+}

Copied: trunk/mcs/errors/cs0266.cs (from rev 41549, 
trunk/mcs/errors/cs0029-2.cs)
===================================================================
--- trunk/mcs/errors/cs0029-2.cs        2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs0266.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,25 @@
+// cs0266.cs: Cannot implicitly convert type 'Foo.MyEnumType' to 'uint'. An 
explicit conversion exists (are you missing a cast?)
+// Line: 10
+
+public class Foo {
+  enum MyEnumType { MyValue }
+
+  public void Bar ()
+  {
+    uint my_uint_var = 0;
+    switch (my_uint_var) {
+    case MyEnumType.MyValue:
+      break;
+    default:
+      break;
+    }
+  }
+
+  static void Main () {}
+}
+
+
+
+
+
+

Added: trunk/mcs/errors/cs0407.cs
===================================================================
--- trunk/mcs/errors/cs0407.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0407.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,14 @@
+// cs0407.cs: 'int MainClass.Delegate()' has the wrong return type
+// Line: 12
+
+delegate void TestDelegate();
+
+public class MainClass {
+        public static int Delegate() {
+                return 0;
+        }
+
+        public static void Main() {
+                TestDelegate delegateInstance = new TestDelegate (Delegate);
+       }
+}

Added: trunk/mcs/errors/cs0428.cs
===================================================================
--- trunk/mcs/errors/cs0428.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0428.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,14 @@
+// cs0428.cs: Cannot convert method group 'a' to non-delegate type 'int'. Did 
you intend to invoke the method?
+// Line: 12
+
+class X {
+       int a (int a)
+       {
+               return 0;
+       }
+
+       void b ()
+       {
+               int x = a;
+       }
+}

Deleted: trunk/mcs/errors/cs0508-2.cs
===================================================================
--- trunk/mcs/errors/cs0508-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0508-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,13 +0,0 @@
-// cs0508.cs: 'DerivedClass.Prop' : cannot change return type when overriding 
inherited member 'BaseClass.Prop'
-// Line: 9
-
-class BaseClass {
-        protected virtual bool Prop { set {} }
-}
-
-class DerivedClass: BaseClass {
-        protected override int Prop { set {} }
-}
-
-
-

Added: trunk/mcs/errors/cs0610-4.cs
===================================================================
--- trunk/mcs/errors/cs0610-4.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0610-4.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,6 @@
+// cs0610.cs: Field or property cannot be of type 'System.TypedReference'
+// Line: 5
+
+public class Sample {
+    event System.TypedReference reference;
+}
\ No newline at end of file

Modified: trunk/mcs/errors/cs0652.cs
===================================================================
--- trunk/mcs/errors/cs0652.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0652.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs0652.cs: Comparison to integral constant is useless; the constant is 
outside the range of type 'type'
 // Line: 9
+// Compiler options: -warnaserror -warn:2
 
 class X
 {

Modified: trunk/mcs/errors/cs0658.cs
===================================================================
--- trunk/mcs/errors/cs0658.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0658.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs0658.cs : Invalid attribute location "blah"
 // Line : 8
+// Compiler options: -warnaserror -warn:1
 
 public class MyClass {
 

Deleted: trunk/mcs/errors/cs0708-2.cs
===================================================================
--- trunk/mcs/errors/cs0708-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0708-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,6 +0,0 @@
-// cs0708.cs: 'StaticClass.this[int]': cannot declare instance members in a 
static class
-// Line: 5
-
-static class StaticClass {
-        public int this [int arg] { set {} }
-}

Copied: trunk/mcs/errors/cs0720.cs (from rev 41549, 
trunk/mcs/errors/cs0708-2.cs)
===================================================================
--- trunk/mcs/errors/cs0708-2.cs        2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs0720.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,6 @@
+// cs0720.cs: 'StaticClass.this[int]': cannot declare indexers in a static 
class
+// Line: 5
+
+static class StaticClass {
+        public int this [int arg] { set {} }
+}

Modified: trunk/mcs/errors/cs0724.cs
===================================================================
--- trunk/mcs/errors/cs0724.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs0724.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,17 +1,23 @@
 // CS0742: A throw statement with no argument is only allowed in a catch 
clause nested inside of the innermost catch clause
 // Line: 14
 
-using System;
-
-class Foo
-{
-       static void Main ()
-       {
-               try {
-                   Console.WriteLine ("TEST");
-               }
-               finally {
-                       throw;
-               }                       
-       }
-}
+class C
+{
+       static void Test()
+       {
+               try
+               {
+                       throw new System.Exception();
+               }
+               catch
+               {
+                       try
+                       {
+                       }
+                       finally
+                       {
+                               throw;
+                       }
+               }
+       }
+}
\ No newline at end of file

Deleted: trunk/mcs/errors/cs1501.cs
===================================================================
--- trunk/mcs/errors/cs1501.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs1501.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,15 +0,0 @@
-// cs1501.cs: No overload for method `Base' takes `0' arguments
-// Line: 12
-class Base {
-       Base (string x)
-       {
-       }
-}
-
-// Notice how there is no invocation to "base (something)"
-
-class Derived : Base {
-       Derived ()
-       {
-       }
-}

Added: trunk/mcs/errors/cs1527-2.cs
===================================================================
--- trunk/mcs/errors/cs1527-2.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs1527-2.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,5 @@
+// cs1527.cs: Namespace elements cannot be explicitly declared as private, 
protected, or protected internal
+// Line: 4
+
+protected interface IFoo {
+}

Deleted: trunk/mcs/errors/cs1604.cs
===================================================================
--- trunk/mcs/errors/cs1604.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs1604.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,14 +0,0 @@
-// cs1604.cs: m is a readonly variable
-// line: 10
-using System.IO;
-
-class X {
-
-       static void Main ()
-       {
-               using (MemoryStream m = new MemoryStream ()){
-                       m = null;
-               }
-       }
-}
-       

Deleted: trunk/mcs/errors/cs1605.cs
===================================================================
--- trunk/mcs/errors/cs1605.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs1605.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,14 +0,0 @@
-// cs1605.cs: Cannot pass 'i' as a ref or out argument because it is read-only
-// Line: 9
-
-class E
-{
-    public E (int[] args)
-    {
-        foreach (int i in args)
-            Init (ref i);
-    }
-    
-    void Init (ref int val) {}
-       
-}

Copied: trunk/mcs/errors/cs1656.cs (from rev 41549, trunk/mcs/errors/cs1604.cs)
===================================================================
--- trunk/mcs/errors/cs1604.cs  2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs1656.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,14 @@
+// cs1656.cs: Cannot assign to 'm' because it is a 'using variable'
+// line: 10
+using System.IO;
+
+class X {
+
+       static void Main ()
+       {
+               using (MemoryStream m = new MemoryStream ()){
+                       m = null;
+               }
+       }
+}
+       

Copied: trunk/mcs/errors/cs1657.cs (from rev 41549, trunk/mcs/errors/cs1605.cs)
===================================================================
--- trunk/mcs/errors/cs1605.cs  2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs1657.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,14 @@
+// cs1657.cs: Cannot pass 'i' as a ref or out argument because it is a 
'foreach iteration variable'
+// Line: 9
+
+class E
+{
+    public E (int[] args)
+    {
+        foreach (int i in args)
+            Init (ref i);
+    }
+    
+    void Init (ref int val) {}
+       
+}

Copied: trunk/mcs/errors/cs1715.cs (from rev 41549, 
trunk/mcs/errors/cs0508-2.cs)
===================================================================
--- trunk/mcs/errors/cs0508-2.cs        2005-03-08 06:15:47 UTC (rev 41549)
+++ trunk/mcs/errors/cs1715.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -0,0 +1,13 @@
+// cs1715.cs: 'DerivedClass.Prop': type must be 'bool' to match overridden 
member 'BaseClass.Prop'
+// Line: 9
+
+class BaseClass {
+        protected virtual bool Prop { set {} }
+}
+
+class DerivedClass: BaseClass {
+        protected override int Prop { set {} }
+}
+
+
+

Deleted: trunk/mcs/errors/cs1901.cs
===================================================================
--- trunk/mcs/errors/cs1901.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs1901.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,8 +0,0 @@
-// cs1901.cs: Conflicting options specified: Warning level 0; Treat warnings 
as errors
-// Line: 0
-// Compiler options: -warn:0 -warnaserror
-
-class ClassMain {
-        public static void Main () {}
-}
-

Modified: trunk/mcs/errors/cs3001-8.cs
===================================================================
--- trunk/mcs/errors/cs3001-8.cs        2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs3001-8.cs        2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,6 +1,6 @@
 // cs3001.cs: Argument type 'int*' is not CLS-compliant
 // Line: 9
-// Compiler options: --unsafe
+// Compiler options: -unsafe
 
 using System;
 [assembly:CLSCompliant(true)]

Modified: trunk/mcs/errors/cs3021.cs
===================================================================
--- trunk/mcs/errors/cs3021.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs3021.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs3021.cs: 'I' does not need a CLSCompliant attribute because the assembly 
does not have a CLSCompliant attribute
 // Line: 9
+// Compiler options: -warn:2 -warnaserror
 
 using System;
 

Modified: trunk/mcs/errors/cs3022.cs
===================================================================
--- trunk/mcs/errors/cs3022.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs3022.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs3022.cs: CLSCompliant attribute has no meaning when applied to 
parameters. Try putting it on the method instead
 // Line: 8
+// Compiler options: -warn:1 -warnaserror
 
 using System;
 [assembly: CLSCompliant (true)]

Modified: trunk/mcs/errors/cs3023.cs
===================================================================
--- trunk/mcs/errors/cs3023.cs  2005-03-08 12:45:09 UTC (rev 41564)
+++ trunk/mcs/errors/cs3023.cs  2005-03-08 12:47:42 UTC (rev 41565)
@@ -1,5 +1,6 @@
 // cs3023.cs: CLSCompliant attribute has no meaning when applied to return 
types. Try putting it on the method instead
 // Line: 8
+// Compiler options: -warn:1 -warnaserror
 
 using System;
 [assembly: CLSCompliant (true)]

Modified: trunk/mcs/errors/mcs-expect-no-error
===================================================================
--- trunk/mcs/errors/mcs-expect-no-error        2005-03-08 12:45:09 UTC (rev 
41564)
+++ trunk/mcs/errors/mcs-expect-no-error        2005-03-08 12:47:42 UTC (rev 
41565)
@@ -12,6 +12,7 @@
 cs0121-3.cs
 cs0186.cs
 cs0229.cs
+cs0266-2.cs
 cs0576.cs
 cs0642-2.cs
 cs0642.cs

Modified: trunk/mcs/errors/mcs-expect-wrong-error
===================================================================
--- trunk/mcs/errors/mcs-expect-wrong-error     2005-03-08 12:45:09 UTC (rev 
41564)
+++ trunk/mcs/errors/mcs-expect-wrong-error     2005-03-08 12:47:42 UTC (rev 
41565)
@@ -12,12 +12,17 @@
 cs0116-2.cs
 cs0118.cs
 cs0119.cs
+cs0122-12.cs
 cs0128.cs
+cs0156-2.cs
 cs0173.cs
 cs0192-2.cs
 cs0201.cs
 cs0208-3.cs
 cs0229-2.cs
+cs0266.cs
+cs0407.cs
+cs0428.cs
 cs0525.cs
 cs0526.cs
 cs0529.cs
@@ -26,16 +31,19 @@
 cs0548.cs
 cs0560.cs
 cs0567.cs
+cs0610-4.cs
 cs0642-3.cs
 cs0642-4.cs
 cs0642-5.cs
 cs0642-6.cs
 cs0647-15.cs # corlib bug 73143
 cs0654.cs
+cs0720.cs
 cs1501-5.cs
 cs1513.cs
 cs1518.cs
 cs1525.cs
+cs1527-2.cs
 cs1528.cs
 cs1535.cs
 cs1552.cs
@@ -47,5 +55,8 @@
 cs1626.cs
 cs1638.cs
 cs1641.cs
+cs1656.cs
+cs1657.cs
 cs1666.cs
+cs1715.cs
 cs2007.cs

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

Reply via email to