Author: marek
Date: 2005-03-07 11:00:00 -0500 (Mon, 07 Mar 2005)
New Revision: 41531

Removed:
   trunk/mcs/errors/cs0576.cs
   trunk/mcs/errors/cs0654.cs
Modified:
   trunk/mcs/errors/CONTRIBUTORS_README
   trunk/mcs/errors/cs0108-10.cs
   trunk/mcs/errors/cs0108-11.cs
   trunk/mcs/errors/cs0108-12.cs
   trunk/mcs/errors/cs0108-2.cs
   trunk/mcs/errors/cs0108-3.cs
   trunk/mcs/errors/cs0108-4.cs
   trunk/mcs/errors/cs0108-5.cs
   trunk/mcs/errors/cs0108-6.cs
   trunk/mcs/errors/cs0108-7.cs
   trunk/mcs/errors/cs0108-8.cs
   trunk/mcs/errors/cs0108-9.cs
   trunk/mcs/errors/cs0108.cs
   trunk/mcs/errors/cs0114.cs
   trunk/mcs/errors/cs0681.cs
   trunk/mcs/errors/mcs-expect-no-error
   trunk/mcs/errors/mcs-expect-wrong-error
Log:
fixed warning level
update fixed

Modified: trunk/mcs/errors/CONTRIBUTORS_README
===================================================================
--- trunk/mcs/errors/CONTRIBUTORS_README        2005-03-07 15:58:01 UTC (rev 
41530)
+++ trunk/mcs/errors/CONTRIBUTORS_README        2005-03-07 16:00:00 UTC (rev 
41531)
@@ -74,6 +74,8 @@
 
        Here is a list of errors reported by csc 1.0, 1.1 and not supported by 
Mono.
         Please add comment for every error.
-        
+
+       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

Modified: trunk/mcs/errors/cs0108-10.cs
===================================================================
--- trunk/mcs/errors/cs0108-10.cs       2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-10.cs       2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.EE' because it hides 
inherited member
-// Line: 11
+// Line: 12
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public enum EE {

Modified: trunk/mcs/errors/cs0108-11.cs
===================================================================
--- trunk/mcs/errors/cs0108-11.cs       2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-11.cs       2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,6 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Bar.this[int, int]' because it 
hides inherited member
 // Line: 15
-// Compiler options: -warnaserror -warn:1
+// Compiler options: -warnaserror -warn:2
 
 public class Foo
 {

Modified: trunk/mcs/errors/cs0108-12.cs
===================================================================
--- trunk/mcs/errors/cs0108-12.cs       2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-12.cs       2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,6 +1,6 @@
 // cs0108-12.cs: The keyword new is required on 'Libs.MyLib' because it hides 
inherited member
 // Line: 18
-// Compiler options: -warnaserror -warn:1
+// Compiler options: -warnaserror -warn:2
 
 using System;
 using System.Runtime.InteropServices;

Modified: trunk/mcs/errors/cs0108-2.cs
===================================================================
--- trunk/mcs/errors/cs0108-2.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-2.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,6 +1,6 @@
 // cs0108-2.cs: The new keyword is required on 'Derived.Test(bool)' because it 
hides 'BaseInterface.Test(bool)'
 // Line: 9
-// Compiler options: -warnaserror -warn:1 -t:library
+// Compiler options: -warnaserror -warn:2 -t:library
 
 interface BaseInterface {
        void Test (bool arg);

Modified: trunk/mcs/errors/cs0108-3.cs
===================================================================
--- trunk/mcs/errors/cs0108-3.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-3.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,6 +1,6 @@
 // cs0108.cs: The new keyword is required on 'O.InnerAttribute()' because it 
hides inherited member
 // Line: 12
-// Compiler options: -t:library
+// Compiler options: -warnaserror -warn:2
 
 using System;
 

Modified: trunk/mcs/errors/cs0108-4.cs
===================================================================
--- trunk/mcs/errors/cs0108-4.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-4.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.Prop(int)' because it 
hides inherited member
-// Line: 13
+// Line: 10
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public void Prop (int a) {}

Modified: trunk/mcs/errors/cs0108-5.cs
===================================================================
--- trunk/mcs/errors/cs0108-5.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-5.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.Prop' because it hides 
inherited member
-// Line: 13
+// Line: 10
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public bool Prop = false;

Modified: trunk/mcs/errors/cs0108-6.cs
===================================================================
--- trunk/mcs/errors/cs0108-6.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-6.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.Prop' because it hides 
inherited member
-// Line: 13
+// Line: 14
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public int Prop {

Modified: trunk/mcs/errors/cs0108-7.cs
===================================================================
--- trunk/mcs/errors/cs0108-7.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-7.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.Prop because it hides 
inherited member
 // Line: 13
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public bool Prop = false;

Modified: trunk/mcs/errors/cs0108-8.cs
===================================================================
--- trunk/mcs/errors/cs0108-8.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-8.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Derived.Method()' because it 
hides inherited member
-// Line: 10
+// Line: 11
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public bool Method () { return false; }

Modified: trunk/mcs/errors/cs0108-9.cs
===================================================================
--- trunk/mcs/errors/cs0108-9.cs        2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108-9.cs        2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,6 @@
 // cs0108.cs: The new keyword is required on 'Outer.Inner' because it hides 
inherited member
 // Line: 13
+// Compiler options: -warnaserror -warn:2
 
 public class Base
 {

Modified: trunk/mcs/errors/cs0108.cs
===================================================================
--- trunk/mcs/errors/cs0108.cs  2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0108.cs  2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,6 +1,6 @@
 // cs0108.cs: The new keyword is required on MEMBER because it hides MEMBER2
 // Line:
-// Compiler options: -warnaserror -warn:1
+// Compiler options: -warnaserror -warn:2
 
 class Base {
        public void F () {}

Modified: trunk/mcs/errors/cs0114.cs
===================================================================
--- trunk/mcs/errors/cs0114.cs  2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0114.cs  2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,5 +1,7 @@
 // cs0114.cs: Y.XX hides inherited member X.XX.  Must use `override' or `new' 
keyword
 // Line: 8
+// Compiler options: -warnaserror -warn:2
+
 public abstract class X {
        public abstract void XX ();
 }

Deleted: trunk/mcs/errors/cs0576.cs
===================================================================
--- trunk/mcs/errors/cs0576.cs  2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0576.cs  2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,10 +0,0 @@
-// cs0576.cs: Namespace already contains a definition for 'System'
-// Line: 5
-
-using System;
-using System = System;
-
-class MainClass {
-        public static void Main() {
-        }
-}

Deleted: trunk/mcs/errors/cs0654.cs
===================================================================
--- trunk/mcs/errors/cs0654.cs  2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0654.cs  2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,13 +0,0 @@
-// cs0654.cs: Method referenced without argument list.
-// Line: 12
-class X {
-       int a (int a)
-       {
-               return 0;
-       }
-
-       void b ()
-       {
-               int x = a;
-       }
-}

Modified: trunk/mcs/errors/cs0681.cs
===================================================================
--- trunk/mcs/errors/cs0681.cs  2005-03-07 15:58:01 UTC (rev 41530)
+++ trunk/mcs/errors/cs0681.cs  2005-03-07 16:00:00 UTC (rev 41531)
@@ -1,7 +1,8 @@
-// cs0681: Fields can not be abstract
-// Line: 4
+// cs0681: The modifier 'abstract' is not valid on fields. Try using a 
property instead
+// Line: 5
+
 class X {
-       abstract int name;
+       abstract const int name = 3;
 
        static void Main () {}
 }

Modified: trunk/mcs/errors/mcs-expect-no-error
===================================================================
--- trunk/mcs/errors/mcs-expect-no-error        2005-03-07 15:58:01 UTC (rev 
41530)
+++ trunk/mcs/errors/mcs-expect-no-error        2005-03-07 16:00:00 UTC (rev 
41531)
@@ -17,5 +17,4 @@
 cs0642.cs
 cs0647.cs # corlib bug #73142
 cs0652.cs
-cs1035.cs
 cs2023.cs

Modified: trunk/mcs/errors/mcs-expect-wrong-error
===================================================================
--- trunk/mcs/errors/mcs-expect-wrong-error     2005-03-07 15:58:01 UTC (rev 
41530)
+++ trunk/mcs/errors/mcs-expect-wrong-error     2005-03-07 16:00:00 UTC (rev 
41531)
@@ -32,9 +32,6 @@
 cs0642-6.cs
 cs0647-15.cs # corlib bug 73143
 cs0654.cs
-cs0681.cs
-cs0683.cs
-cs0686.cs
 cs1501-5.cs
 cs1513.cs
 cs1518.cs

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

Reply via email to