new tests + error syntax fixes
authorMarek Safar <marek.safar@gmail.com>
Wed, 24 Aug 2005 15:23:34 +0000 (15:23 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 24 Aug 2005 15:23:34 +0000 (15:23 -0000)
svn path=/trunk/mcs/; revision=48785

62 files changed:
mcs/errors/CS0619-42-lib.cs [new file with mode: 0644]
mcs/errors/CS1546-lib.il [new file with mode: 0644]
mcs/errors/cs0019-10.cs
mcs/errors/cs0026-2.cs
mcs/errors/cs0034-2.cs
mcs/errors/cs0034-3.cs
mcs/errors/cs0037-3.cs
mcs/errors/cs0038-3.cs
mcs/errors/cs0038-4.cs
mcs/errors/cs0038.cs
mcs/errors/cs0039.cs
mcs/errors/cs0110-2.cs
mcs/errors/cs0110.cs
mcs/errors/cs0121-3.cs
mcs/errors/cs0122-5.cs
mcs/errors/cs0122-6.cs
mcs/errors/cs0122-7.cs
mcs/errors/cs0122-8.cs
mcs/errors/cs0133-5.cs
mcs/errors/cs0136-6.cs
mcs/errors/cs0159-2.cs
mcs/errors/cs0196.cs
mcs/errors/cs0200.cs
mcs/errors/cs0205.cs
mcs/errors/cs0230.cs
mcs/errors/cs0236.cs
mcs/errors/cs0246-10.cs
mcs/errors/cs0246-11.cs
mcs/errors/cs0523.cs
mcs/errors/cs0524-2.cs
mcs/errors/cs0524-3.cs
mcs/errors/cs0525.cs
mcs/errors/cs0557-2.cs
mcs/errors/cs0571-2.cs
mcs/errors/cs0571-4.cs [new file with mode: 0644]
mcs/errors/cs0619-39.cs
mcs/errors/cs0619-40.cs
mcs/errors/cs0619-41.cs [new file with mode: 0644]
mcs/errors/cs0619-42.cs [new file with mode: 0644]
mcs/errors/cs0625-1.cs
mcs/errors/cs0625.cs
mcs/errors/cs0636.cs
mcs/errors/cs0652-2.cs
mcs/errors/cs0652-3.cs
mcs/errors/cs0652-4.cs
mcs/errors/cs0652.cs
mcs/errors/cs1023.cs
mcs/errors/cs1501-3.cs
mcs/errors/cs1540-2.cs
mcs/errors/cs1546.cs [new file with mode: 0644]
mcs/errors/cs1601-2.cs
mcs/errors/cs1601.cs
mcs/errors/cs1656-2.cs
mcs/errors/cs1656-3.cs
mcs/errors/cs1656.cs
mcs/errors/cs1721.cs
mcs/errors/cs1722-2.cs
mcs/errors/cs3005-11.cs
mcs/errors/cs3005-15.cs
mcs/errors/cs3005-6.cs
mcs/errors/cs5001.cs
mcs/errors/known-issues-mcs

diff --git a/mcs/errors/CS0619-42-lib.cs b/mcs/errors/CS0619-42-lib.cs
new file mode 100644 (file)
index 0000000..d8290dc
--- /dev/null
@@ -0,0 +1,12 @@
+using System;
+
+public class Error {
+       [Obsolete ("NOT", true)]
+       public virtual string Filename {
+               set {
+               }
+               get {
+                       return "aa";
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/errors/CS1546-lib.il b/mcs/errors/CS1546-lib.il
new file mode 100644 (file)
index 0000000..5c2dc2e
--- /dev/null
@@ -0,0 +1,18 @@
+.assembly extern mscorlib { }
+
+.assembly 'cs1546-lib' { }
+
+.namespace Test {
+
+.class interface public abstract auto ansi import ITopic
+{
+      .property string Title(int32)
+      {
+            .get instance string Test.ITopic::get_Title(int32, int32)
+      }
+         
+       .method public hidebysig newslot specialname abstract virtual instance string get_Title(int32, int32) runtime managed internalcall
+       {
+       }
+}
+}
index 97b00d8f2ef1848f01a83f5e629cb13155831bc8..038f9422b075bae532f0b8d29eee624840361c4e 100644 (file)
@@ -1,4 +1,4 @@
-// cs0019-10.cs: Operator `+' cannot be applied to operands of type `A' and `B'
+// cs0019-10.cs: Operator `-' cannot be applied to operands of type `A' and `B'
 // Line : 20
 
 enum A
index c5a80d0d619b9b60c69d08d5bdf147fe4a5a1a31..450ed8a2152b3b5f37e8142a4d55b9a54bdd005b 100644 (file)
@@ -1,5 +1,5 @@
 // cs0026-2.cs: Keyword `this' is not valid in a static property, static method, or static field initializer
-// 
+// Line: 4
 class X {
        static object o = this;
 
index 34243dcd0f24edba9bc555bc7a06530532875e82..f10b0de29f6fbdab42e808458966b25ad16f4d42 100644 (file)
@@ -1,4 +1,4 @@
-// cs0034-2.cs : Operator '+' is ambiguous on operands of type 'A' and 'A'
+// cs0034-2.cs : Operator `+' is ambiguous on operands of type `A' and `A'
 // Line: 22
 
 public class A {
index 550d7e2b6f137bc9333c9aeeeaf907f05e2a6c3f..1958679de9ae6cb4d3ed1da0d98c55700398fff2 100644 (file)
@@ -1,4 +1,4 @@
-// cs0034-2.cs : Operator '+' is ambiguous on operands of type 'Y' and 'X'
+// cs0034-2.cs : Operator `+' is ambiguous on operands of type `Y' and `X'
 // Line: 22
 public class Y {
        public static implicit operator int (Y y) {
index a19c609d9ce00395ac8f4ff7312e6109a310718b..379127ffd7358129a3700d3111ea15083e7ca27c 100644 (file)
@@ -1,4 +1,4 @@
-// cs0031.cs: Constant value `256' cannot be converted to a `byte'
+// cs0037-2.cs: Cannot convert null to `byte' because it is a value type
 // Line : 7
 
 public class Blah {
index 9093f3f9ae0ba8989e44612b245558e9ca551f92..a0116db210769911cfd195c926833a63f656f0f7 100644 (file)
@@ -1,5 +1,5 @@
 // cs0038.cs: Cannot access a nonstatic member of outer type `A' via nested type `B.C'
-// line: 15
+// Line: 15
 
 public class A {
        public int Foo { get { return 1; } }
index 474e8a7eb5b5ea8fe98a3e165c62cac6a3286382..9ec27b6e02910e163d81c5372758963f27f29875 100644 (file)
@@ -1,5 +1,5 @@
 // cs0038.cs: Cannot access a nonstatic member of outer type `B' via nested type `B.C'
-// line: 14
+// Line: 14
 
 public class B {
        public static void Main ()
index 8a608fc5a029d3d1ffb345735651868cec0be733..3d896a2a2eb15d029558b8d22d67c2797a5caec1 100644 (file)
@@ -1,5 +1,5 @@
 // cs0038.cs: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'
-// line: 15
+// Line: 15
 using System;
 
 class X
index aaa491653583355943512462d95b1012625a5b1f..e55211d2f3c7d45bffe4fb1ab0771fc2bf48e46d 100644 (file)
@@ -1,5 +1,5 @@
 // cs0039.cs: Cannot convert type `decimal' to `string' via a built-in conversion
-// line: 8
+// Line: 8
 class A {
         public static void Main ()
         {
index cb069f15e7d78798f9c58245fe282ffb8dba012a..342d990ca007383229ff9b769d4ada72058e96b4 100644 (file)
@@ -1,4 +1,4 @@
-// cs0110.cs: The evaluation of the constant value for `E.a' involves a circular definition
+// cs0110.cs: The evaluation of the constant value for `E.c' involves a circular definition
 // Line: 6
 
 enum E
index 6580d0f8931c114c2ed79b34f5332e0cba0b035a..40b074aafc276382487ee8027e39aa20a8c7d109 100644 (file)
@@ -1,4 +1,4 @@
-// cs0110.cs: The evaluation of the constant value for `A.B.C.F.D' involves a circular definition
+// cs0110.cs: The evaluation of the constant value for `A.B.C.X' involves a circular definition
 // Line: 9
 
 class A {
index 1972f45ef21ff444cb200154b01f5c1c47fb92a9..d044e204a3d31bb225ef1f0a6c1b35a67af47435 100644 (file)
@@ -1,5 +1,5 @@
 // cs0121-3.cs: The call is ambigious between `IInteger.Add (int)' and `IDouble.Add (double)'
-// line 28
+// Line: 28
 
 // (note, this is taken from `13.2.5 Interface member access')
 interface IInteger {
index 530e1e690c2c4d37c94c107681dc2c0b8db622fb..75069a2e31b50871ed371bb99a74ab6c9b4db815 100644 (file)
@@ -1,4 +1,5 @@
 // cs0122-5.cs: `Test.Foo.Bar' is inaccessible due to its protection level
+// Line: 11
 
 public class Test
 {
index 252b66ca4fd44df2ed1c15a9f74400d4193b3677..a0646f126342fa3c9dae02383eeb223719482651 100644 (file)
@@ -1,4 +1,5 @@
 // cs0122-6.cs: `Test.Foo.IBar' is inaccessible due to its protection level
+// Line: 11
 
 public class Test
 {
index b6158220c997f1dcd5571e5ffea696f5e6cba0c9..6945e6dd511c40317dab8a125e5072013456abb4 100644 (file)
@@ -1,4 +1,5 @@
 // cs0122-7.cs: `BB.AnEvent' is inaccessible due to its protection level
+// Line: 10
 
 using System;
 
index fc8482ae743220ef8e60d14c2769c2a6a5cba518..b61b31720f4d6f42e255f07fa2c1ba8280e4053e 100644 (file)
@@ -1,5 +1,5 @@
 // cs0122-8.cs: `A.member' is inaccessible due to its protection level
-//
+// Line: 17
 // NOTE: if `member' were a field or a property, this'd be CS1540
 
 using System;
index da55726770636b70a80c7da9a71cf0d8b2939f32..da896bb471ec982c41087601f3ea592fb152ce0b 100644 (file)
@@ -1,4 +1,4 @@
-// cs0133-5.cs: The expression being assigned to `i' must be constant
+// cs0133-5.cs: The expression being assigned to `T.i' must be constant
 // Line: 12
 
 class T
index 32aea4747db8fed6a97f6b7dfd5b3d264e2154fe..9dff24c5531c45bec98de5f930792b4a767a06c1 100644 (file)
@@ -1,4 +1,4 @@
-// cs0136-6.cs: A local variable named `top' cannot be declared in this scope because it would give a different meaning to `top', which is already used in a `child' scope
+// cs0136-6.cs: A local variable named `top' cannot be declared in this scope because it would give a different meaning to `top', which is already used in a `parent or current' scope
 // Line: 19
 
 using System.Collections;
index 316f87544a1c4d4f853449581ac6bbb3d6a8bbff..a582528271cdb68730c24de133f3b4a8a7417b55 100644 (file)
@@ -1,4 +1,5 @@
 // cs0159-2.cs: No such label `case 20:' within the scope of the goto statement
+// Line: 13
 
 class y {
        enum X { A = 1, B = 1, C = 1 }
index f3fb933b50abef0179936ae13d1101b057bb0bea..1240bdf7081f6f1cebd813fff8ae507b33e74e29 100644 (file)
@@ -1,5 +1,5 @@
 // cs0196.cs: A pointer must be indexed by only one value
-// line: 10
+// Line: 10
 // Compiler options: -unsafe
 using System;
 
index 3f3536f139a60198bfa0a96256e0639f3b3f3def..86e385a5d24716048ae14e11be6f04c0ec9b57d0 100644 (file)
@@ -1,5 +1,5 @@
 // cs0200.cs: Property or indexer `X.P' cannot be assigned to (it is read only)
-// line: 12
+// Line: 12
 class X {
        static int P {
                get {
index eff3da32e50dccb80e2043720646f095d2103f39..25f6050eba286770e3575439b4a975b8bc02f33b 100644 (file)
@@ -1,5 +1,5 @@
 // cs0205.cs: Cannot call an abstract base member `A.Foobar()'
-//
+// Line: 20
 using System;
 
 public abstract class A
index 23ac662d5a08db4aec44d861d582130185484759..327eb6137aae4064b7a604eff65b08c26674e17a 100644 (file)
@@ -1,5 +1,5 @@
 // CS0230.cs: Type and identifier are both required in a foreach statement
-// Lise: 12
+// Line: 12
 
 using System;
 
index 76fbe497ae06f0fd79d18ff9c17934dfd937dbd2..5d29a695c28c324e50beaea627bad56bd357c265 100644 (file)
@@ -1,4 +1,5 @@
 // cs0236.cs: A field initializer cannot reference the nonstatic field, method, or property `X.Foo'
+// Line: 12
 
 class X
 {
index f951cb7085a1ccac1afae6f1ce89dc9c6853b571..9073ad96bbea7dd4edb38f963921e0bc212f71af 100644 (file)
@@ -1,4 +1,5 @@
 // cs0246-10.cs: The type or namespace name `Nonexistant' could not be found. Are you missing a using directive or an assembly reference?
+// Line: 5
 
 using System;
 using Nonexistant;
index 6768efdffc74666d05439ebf83a5de1c8613741c..12ea7406be2fb641af64a0b1b5f224bd5f9fb341 100644 (file)
@@ -1,4 +1,5 @@
 // cs0246-11.cs: The type or namespace name `aa' could not be found. Are you missing a using directive or an assembly reference?
+// Line: 6
 
 public class Test
 {
index 3479e9d61b0e0cf1bbd5ed6f096b7de6058911c0..219954430cd484d49f91a0e334d717768b96f1be 100644 (file)
@@ -1,5 +1,5 @@
 // cs0523.cs: Struct member `B.a' of type `A' causes a cycle in the struct layout
-//
+// Line: 9
 
 struct A {
        B b;
index 83666517ac19475de6d6adf3280657c7a45365e3..53abc1f53adba6e4654dcc2dd6ff84a7f3d6c591 100644 (file)
@@ -1,4 +1,6 @@
 // cs0524-2.cs: `Interface.I': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
+// Line: 5
+
 interface Interface {
         interface I {}
 }
\ No newline at end of file
index 7d761a9ed7cd07458df8cba0fba82f0e3de4970c..7ffb0cb761ab2575fd781a0e04e1bd6bbb8b7f19 100644 (file)
@@ -1,4 +1,6 @@
 // cs0524-3.cs: `Interface.E': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
+// Line: 4
+
 interface Interface {
         enum E {
             White,
index ae144a81e2d52235a7a95e6a4858945b88e6fc54..8a915987c2b16cac31514ff8c727a35beed2ed97 100644 (file)
@@ -1,2 +1,5 @@
-// cs0525.cs: Interfaces cannot contain fields// Line: 5
-interface Interface {        bool value = false;}
\ No newline at end of file
+// cs0525.cs: Interfaces cannot contain fields
+// Line: 5
+interface Interface { 
+       bool value = false;
+}
\ No newline at end of file
index 86e2a29f40c5fdf2d1f3f9985b8bd22ea03864e0..5c3e428c693a53086b0292f106a518d09b378c45 100644 (file)
@@ -1,5 +1,5 @@
 // cs0557-2.cs: Duplicate user-defined conversion in type `C'
-// 
+// Line: 9
 class C {
                public static bool operator != (C a, C b) 
                {
index 0e4691a0eb995578d740e102891b0b74588ecb45..20b2d9eea62831f6ce634d7c586fafb22dd04ee7 100644 (file)
@@ -1,4 +1,5 @@
 // cs0571-2.cs: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor
+// Line: 8
 using System;
 
 public class EntryPoint {
diff --git a/mcs/errors/cs0571-4.cs b/mcs/errors/cs0571-4.cs
new file mode 100644 (file)
index 0000000..c7af450
--- /dev/null
@@ -0,0 +1,17 @@
+// cs0571-4.cs: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
+// Line: 15
+
+using System.Runtime.CompilerServices;
+
+class MainClass {
+       [IndexerName ("AA")]
+       int this [int Value, bool Value2, string Value3] {
+               get {
+                       return 1;
+               }
+       }
+               
+       public MainClass () {
+               int i = get_AA (2, false, "aaa");
+       }
+}
index 02d0d41c5a8d7a44a839b8b982789ee1665a617c..a74fb3d141bffcabbc780c79aa5ab0a6751a5a2a 100644 (file)
@@ -1,4 +1,4 @@
-// cs0619-39.cs: `c.ob' is obsolete: `ooo'
+// cs0619-39.cs: `C.ob' is obsolete: `ooo'
 // Line: 13
 
 using System;
index edbb62177453b11711a2edaa9edf876366963e79..c049ffd9e204b5c08f323cae79ec741e89f1197f 100644 (file)
@@ -1,4 +1,4 @@
-// cs0619-39.cs: `c.ob' is obsolete: `ooo'
+// cs0619-40.cs: `C.ob' is obsolete: `ooo'
 // Line: 13
 
 using System;
diff --git a/mcs/errors/cs0619-41.cs b/mcs/errors/cs0619-41.cs
new file mode 100644 (file)
index 0000000..2527e65
--- /dev/null
@@ -0,0 +1,28 @@
+// cs0619-41.cs: `A.Filename' is obsolete: `Obsolete'
+// Line: 8
+
+class A: Error {
+       [System.ObsoleteAttribute ("Obsolete", true)]   
+       public override string Filename {
+               set {
+               }
+       }
+       
+       public static void Main () {}
+}
+
+public class Error {
+       public virtual string Filename {
+               set {
+               }
+               get {
+                       return "aa";
+               }
+       }
+}
+
+class B {
+       void TT () {
+               new A ().Filename = "Filename";
+       }
+}
\ No newline at end of file
diff --git a/mcs/errors/cs0619-42.cs b/mcs/errors/cs0619-42.cs
new file mode 100644 (file)
index 0000000..9fffd19
--- /dev/null
@@ -0,0 +1,14 @@
+// cs0619-42.cs: `Error.member' is obsolete: `Obsolete member'
+// Line: 8
+// Compiler options: -reference:CS0619-42-lib.dll
+
+class A: Error {
+       public A () {
+               string s = Filename;
+       }
+       
+       public override string Filename {
+               set {
+               }
+       }
+}
\ No newline at end of file
index 0a50e4b36a4e7d67b889c37a89db7da1194db691..4ca7089d91bb3b5b1387693f6ee938ade8c23151 100644 (file)
@@ -1,4 +1,5 @@
 // cs0625-1.cs: `cs0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
+// Line: 10
 
 using System;
 using System.Runtime.InteropServices;
index 764c10ba94685cf0ae1b11eebf1ad72d3c918a81..b6ce8c064dd4a578eb3d4e0fc4c77a633667c579 100644 (file)
@@ -1,4 +1,5 @@
 // cs0625.cs: `cs0625.GValue.name': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
+// Line: 11
 
 using System;
 using System.Runtime.InteropServices;
index 1a0ed8fb2e750a0d838d086c886820a5a8e852d4..418d08c7bc7d5494e4fc4e345f628731447ce253 100644 (file)
@@ -1,4 +1,5 @@
 // CS0636: The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)
+// Line: 10
 
 using System;
 using System.Runtime.InteropServices;
index 0563ed783f81fd4f5cfd206d9db6f2991851a941..d804717ac27a9c0928e35f45e2bb3c8944028342 100644 (file)
@@ -1,4 +1,4 @@
-// cs0652-2.cs : Comparison to integral constant is useless; the constant is outside the range of type 'byte'
+// cs0652-2.cs : Comparison to integral constant is useless; the constant is outside the range of type `byte'
 // Line: 11
 // Compiler options: /warn:2 /warnaserror
 using System;
index 5b60514a54415905f16156cc44261c954b5fa1b3..8802fdc623a620e4e59fce3698cec5e9e115d27d 100644 (file)
@@ -1,4 +1,4 @@
-// cs0652-3.cs : Comparison to integral constant is useless; the constant is outside the range of type 'ushort'
+// cs0652-3.cs : Comparison to integral constant is useless; the constant is outside the range of type `ushort'
 // Line: 11
 // Compiler options: /warn:2 /warnaserror
 using System;
index 225aa094a6fb53fc5fd10aedb0db3c9bf4b638d2..44e70339ce11f5b441e61ba1d813a08687ddd8f0 100644 (file)
@@ -1,4 +1,4 @@
-// cs0652-4.cs : Comparison to integral constant is useless; the constant is outside the range of type 'short'
+// cs0652-4.cs : Comparison to integral constant is useless; the constant is outside the range of type `short'
 // Line: 11
 // Compiler options: /warn:2 /warnaserror
 using System;
index fdda894fa3a23d5142e0429b1343c0301aeb7b76..8d42558e52b9255e987c343c479e50db952c814e 100644 (file)
@@ -1,4 +1,4 @@
-// cs0652.cs: Comparison to integral constant is useless; the constant is outside the range of type 'type'
+// cs0652.cs: Comparison to integral constant is useless; the constant is outside the range of type `byte'
 // Line: 9
 // Compiler options: -warnaserror -warn:2
 
index 51469deb8ac4ffe7e9064f4df6d8f52cad6687fe..94f8b6af323f0968a4dd8e4a057c4997fd2a3ff7 100644 (file)
@@ -1,5 +1,5 @@
 // cs1023.cs: An embedded statement may not be a declaration or labeled statement
-// line: 9
+// Line: 9
 
 class Test
 {
index 459cbc5f7092d455372aec1aa5c29684713192d5..cb96d7738a6d4e683a28f293e8e24a148b5f14a3 100644 (file)
@@ -1,4 +1,6 @@
 // cs1501-3.cs: No overload for method `X' takes `2' arguments
+// Line: 8
+
 public struct X {
         public X(int i) { }
         
index 95c6961b3c513ebd2deaf21f55e892e54676f2d5..17ea7451feb618e9fdd8dc36f6abb2a3bb133303 100644 (file)
@@ -1,5 +1,5 @@
 // cs1540-2.cs : Cannot access protected member `A.X()' via a qualifier of type `B'; the qualifier must be of type `C' (or derived from it)
-// line: 21
+// Line: 21
 
 class A
 {
diff --git a/mcs/errors/cs1546.cs b/mcs/errors/cs1546.cs
new file mode 100644 (file)
index 0000000..77fa101
--- /dev/null
@@ -0,0 +1,11 @@
+// cs1546.cs: Property `Title' is not supported by the C# language. Try to call the accessor method `Test.ITopic.get_Title(int, int)' directly
+// Line: 9
+// Compiler options: -r:CS1546-lib.dll
+
+using Test;
+
+class C {              
+       public C (ITopic it) {
+               string i = it.Title (2, 3);
+       }
+}
index cea22644c7de0c51fb850f3ec711b31135ff55fd..b81d5e246c7bb1385a058bf712f04e89e80107e6 100644 (file)
@@ -1,5 +1,5 @@
 // cs1601-2.cs: Method or delegate parameter cannot be of type `ref System.ArgIterator'
-//
+// Line: 10
 using System;
 
 class X {
index f52f46039eef752dd0d77cd5a1211c7e6b2af865..bd23527d238e8fa601778a5656c494c2e0b3cace 100644 (file)
@@ -1,5 +1,5 @@
 // cs1601.cs: Method or delegate parameter cannot be of type `ref System.TypedReference'
-//
+// Line: 10
 using System;
 
 class X {
index 408dc2c947a12a582d1e569ab9f9455f50e6839b..5bf39e862c339891082e94942904a97092790390 100644 (file)
@@ -1,5 +1,5 @@
 // cs1656-2.cs: Cannot assign to `p' because it is a `fixed variable'
-// line: 10
+// Line: 10
 // Compiler options: -unsafe
 
 unsafe class X {
index 28ef972c6382909d3ce23a1712713bd636f37296..2d80c903c2b69c055502696865a3db2b8939ebdd 100644 (file)
@@ -1,5 +1,5 @@
 // cs1656-3.cs: Cannot assign to `i' because it is a `foreach iteration variable'
-// line: 9
+// Line: 9
 
 class X {
 
index 793fb5ff29ef364e0f0e24c8e18c8242509d1dc0..3b36dfbc1f2555dee4e1c3080df9537bacff64a6 100644 (file)
@@ -1,5 +1,5 @@
 // cs1656.cs: Cannot assign to `m' because it is a `using variable'
-// line: 10
+// Line: 10
 using System.IO;
 
 class X {
index 24e452217d6318b660a6326aa2557e6d69dca7a0..a185f1347392d405580e548ad173cc550debfff4 100644 (file)
@@ -1,5 +1,5 @@
 // cs1721.cs: `B': Classes cannot have multiple base classes (`A1' and `A2')
-//
+// Line: 9
 class A1 {
 }
 
index a445243cae05231e3d8405df6d49ce298f000124..afbf72c531a2492d8111faf884c3ba89baf3bcdd 100644 (file)
@@ -1,5 +1,5 @@
 // cs1722-2.cs: `B': Base class `A1' must be specified as first
-//
+// Line: 9
 class A1 {
 }
 
index d4dba1915e45caafce2977a1f96658361df543d5..dad8ff9da1672af48787bb51287ca98e32e24c7e 100644 (file)
@@ -1,4 +1,4 @@
-// cs3005-11.cs: Identifier `CLSInterface' differing only in case is not CLS-compliant
+// cs3005-11.cs: Identifier `clsInterface' differing only in case is not CLS-compliant
 // Line: 10
 
 using System;
index b3c8f99e6a5d1146169d27f30c923c28bdd5ac80..85f7f9f56a089fe5239c7e33d62b199b654a4500 100644 (file)
@@ -1,4 +1,4 @@
-// cs3005-15.cs: Identifier `A' differing only in case is not CLS-compliant
+// cs3005-15.cs: Identifier `a' differing only in case is not CLS-compliant
 // Line: 10
 
 using System;
index ed9d59178ce9c637f375bc671c477744ab8afa00..5b09b22431ccb05831ac20db7cb6382fd6f0c331 100644 (file)
@@ -1,4 +1,4 @@
-// cs3005-6.cs: Identifier `i1' differing only in case is not CLS-compliant
+// cs3005-6.cs: Identifier `I1' differing only in case is not CLS-compliant
 // Line: 9
 
 [assembly:System.CLSCompliant(true)]
index 04bab2f931185e9bedb70e7e895cbcc90af31e2c..d7eb6e6d644ddbdaa3e595aa6e7ca6ff1312470d 100644 (file)
@@ -1,4 +1,5 @@
 // cs5001.cs: Program `cs5001.exe' does not contain a static `Main' method suitable for an entry point
+// Line: 0
 
 using System;
 using System.Collections;
index bd26859323b56f6315edc05089500b24fe28ab96..73959b0d2e008241994f88580ee1cfa58a4cf05d 100644 (file)
@@ -27,6 +27,8 @@ cs0548-4.cs
 cs0548.cs
 cs0560.cs
 cs0567.cs
+cs0612-2.cs NO ERROR
+cs0619-42.cs
 cs0619-31.cs NO ERROR
 cs0642.cs NO ERROR
 cs0642-2.cs NO ERROR
@@ -45,3 +47,7 @@ cs1638.cs NO ERROR
 cs1641.cs
 cs1666.cs NO ERROR
 cs2007.cs
+
+cs0149.cs
+cs0531-2.cs
+cs0571-4.cs
\ No newline at end of file