--- /dev/null
+++// cs0023-2.cs: Operator `+' cannot be applied to operand of type `bool'
+++// Line : 6
+++
+ class X {
+ static void Main () {
+ bool b = +true;
+ }
+ }
+
+
+
---// cs0038-1.cs: Cannot access a nonstatic member of outer type `A.n' via nested type `C.N'
+++// cs0038-1.cs: Cannot access a nonstatic member of outer type `A' via nested type `C.N'
// Line: 12
class A {
---// cs0101.cs: The namespace `<global namespace>' already contains a definition for `SomeEnum'
+++// cs0101.cs: The namespace `::global' already contains a definition for `SomeEnum'
// Line: 10
using System;
---// cs0105.cs: The using directive for 'System' appeared previously in this namespace
+++// cs0105.cs: The using directive for `System' appeared previously in this namespace
// Line: 6
// Compiler options: -warnaserror -warn:3
---// cs0110.cs: The evaluation of the constant value for 'A.B.C.X' involves a circular definition
+++// cs0110.cs: The evaluation of the constant value for `A.B.C.F.D' involves a circular definition
// Line: 9
class A {
}
enum F {
--- A, B, C, D = X, E
+++ A,
+++ B,
+++ C,
+++ D = X,
+++ E
}
const int X = Y + 1;
---// cs0111-10.cs: Type `Test' already defines a member called `get_Value' with the same parameter types
+++// cs0111-10.cs: `Test.get_Value()' is already defined. Rename this member or use different parameter types
// Line: 7
public class Test
---// cs0111-11.cs: Type `Blah' already defines a member called `I.M' with the same parameter types
+++// cs0111-11.cs: `Blah.I.M()' is already defined. Rename this member or use different parameter types
// Line : 12
public interface I
---// cs0111-12.cs: Type `Test' already defines a member called `get_Value' with the same parameter types
+++// cs0111-12.cs: `Test.get_Value()' is already defined. Rename this member or use different parameter types
// Line : 6
public class Test
---// cs0111-14.cs: Type `Test' already defines a member called `set_Item' with the same parameter types
+++// cs0111-14.cs: `Test.set_Item(int, string)' is already defined. Rename this member or use different parameter types
// Line : 6
public class Test
---// cs0111-2.cs: Type `ISample' already defines a member called `set_Item' with the same parameter types
+++// cs0111-2.cs: `ISample.set_Item(int, int)' is already defined. Rename this member or use different parameter types
// Line: 6
public interface ISample {
---// cs0111-3.cs: Type `Class' already defines a member called `op_Implicit' with the same parameter types
+++// cs0111-3.cs: `Class.implicit operator Class(byte)' is already defined. Rename this member or use different parameter types
// Line: 9
public class Class {
---// cs0111-4.cs: Type `ErrorClass' already defines a member called `get_Blah' with the same parameter types
+++// cs0111-4.cs: `ErrorClass.get_Blah(int)' is already defined. Rename this member or use different parameter types
// Line: 8
using System.Runtime.CompilerServices;
---// cs0111-5.cs: Type `ISample' already defines a member called `Blah' with the same parameter types
+++// cs0111-5.cs: `ISample.Blah()' is already defined. Rename this member or use different parameter types
// Line: 6
public interface ISample {
---// cs0111-6.cs: Type `T' already defines a member called `T' with the same parameter types
+++// cs0111-6.cs: `T.T()' is already defined. Rename this member or use different parameter types
// Line : 6
class T {
---// cs0111-7.cs: Type `T' already defines a member called `T' with the same parameter types
+++// cs0111-7.cs: `T.T()' is already defined. Rename this member or use different parameter types
// Line : 6
class T {
---// cs0111-9.cs: Type `C' already defines a member called `this' with the same parameter types
+++// cs0111-9.cs: `C.this[int]' is already defined. Rename this member or use different parameter types
// Line: 6
class C
---// cs0111.cs: Type `Blah' already defines a member called `Foo' with the same parameter types
+++// cs0111.cs: `Blah.Foo(int, int)' is already defined. Rename this member or use different parameter types
// Line : 10
public class Blah {
---// cs0113.cs: A member 'X.Y()' marked as override cannot be marked as new or virtual
+++// cs0113.cs: A member `X.Y()' marked as override cannot be marked as new or virtual
// Line: 8
class X {
--- /dev/null
--- /dev/null
--- /dev/null
+++// cs0115-4.cs: `DerivedClass.get_Value()': no suitable method found to override
+++// Line: 13
+++
+++class BaseClass {
+++ protected virtual int Value {
+++ get {
+++ return 0;
+++ }
+++ }
+++}
+++
+++class DerivedClass: BaseClass {
+++ protected override int get_Value () {
+++ return 1;
+++ }
+++
+++ static void Main () {}
+++}
---// cs0117: 'System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a definition for 'errorarg'
+++// cs0117: `System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a definition for `errorarg'
// Line:
using System.Runtime.CompilerServices;
---// error CS0118: 'A.B' denotes a 'namespace', where a type was expected
+++// cs0118-2.cs: `A.B' denotes a `namespace', where a type was expected
// Line: 9
// Compiler options: -r:CS0118-2-lib.dll
- // cs0119-2.cs: `App.SomeEnum()' is a `method', which is not valid in the given context
--// cs0119-2.cs: `App.SomeEnum()' is a `method', which is not valid in the given context\r
+++// cs0119-2.cs: Expression denotes a `method group', where a `variable', `value' or `type' was expected
// Line: 9
public class App {
---// cs0119.cs: 'Test.E()' is a 'method', which is not valid in the given context
+++// cs0119.cs: Expression denotes a `method group', where a `variable', 'value' or 'type' was expected
// Line: 14
using System;
---// cs0120-2.cs: An object reference is required for the nonstatic field, method, or property `Test.Add8(int)'
+++// cs0120-2.cs: `Add8(int)': An object reference is required for the nonstatic field, method or property
// Line: 12
using System;
---// cs0120-3.cs: An object reference is required for the nonstatic field, method, or property `X.method()'
+++// cs0120-3.cs: `method': An object reference is required for the nonstatic field, method or property
// Line: 11
class X {
---// cs0120-4.cs: An object reference is required for the nonstatic field, method, or property `X.Y'
+++// cs0120-4.cs: `Y': An object reference is required for the nonstatic field, method or property
// Line: 11
using System;
---// cs0120-5.cs: An object reference is required for the nonstatic field, method, or property `Babble.Protocol.Auth.Account.get'
+++// cs0120-5.cs: `Account': An object reference is required for the nonstatic field, method or property
// Line: 28
using System;
---// cs0120-6.cs: An object reference is required for the nonstatic field, method, or property `MemRefMonoBug.Int32'
+++// cs0120-6.cs: `Int32': An object reference is required for the nonstatic field, method or property
// Line: 11
using System;
---// cs0120-7.cs: An object reference is required for the nonstatic field, method, or property `MemRefMonoBug.String'
+++// cs0120-7.cs: `String': An object reference is required for the nonstatic field, method or property
// Line: 11
using System;
---// cs0120.cs: An object reference is required for the nonstatic field, method, or property `test.method()'
+++// cs0120.cs: `method()': An object reference is required for the nonstatic field, method or property
// Line: 11
class test {
---// cs0122: `X.Y.Y(string)' is inaccessible due to its protection level
+++// cs0122-11.cs: `Y.Y(string)' is inaccessible due to its protection level
// Line: 12
using System;
+++ /dev/null
---// 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 ()
--- {
--- }
---}
---// cs0122-14.cs: 'Test.SomeValue' is inaccessible due to its protection level
+++// cs0122-14.cs: `Test.SomeValue' is inaccessible due to its protection level
// Line: 7
// Compiler options: -r:CS0122-14-lib.dll
---// cs0122-15.cs: 'Test.SomeValue' is inaccessible due to its protection level
+++// cs0122-15.cs: `Test.SomeValue' is inaccessible due to its protection level
// Line: 7
// Compiler options: -r:CS0122-15-lib.dll
---// cs0122-16.cs: 'A.x' is inaccessible due to its protection level
+++// cs0122-16.cs: `A.x' is inaccessible due to its protection level
// Line: 16
public class A
---// cs0122.cs: 'A.B' is inaccessible due to its protection level
+++// cs0122-3.cs: `A.B' is inaccessible due to its protection level
// Line: 11
interface r {
---// error CS0122: 'BB.AnEvent' is inaccessible due to its protection level
+++// cs0122-7.cs: `BB.AnEvent' is inaccessible due to its protection level
using System;
---// error CS0122: 'A.member' is inaccessible due to its protection level
+++// cs0122-8.cs: `A.member' is inaccessible due to its protection level
//
// NOTE: if `member' were a field or a property, this'd be CS1540
---// cs0123.cs: Method 'MainClass.Delegate()' does not match delegate 'void TestDelegate()'
+++// cs0123.cs: Method `int MainClass.Delegate()' does not match delegate `int TestDelegate(bool)'
// Line: 12
delegate int TestDelegate(bool b);
TestDelegate delegateInstance = new TestDelegate (Delegate);
}
}
+++
---// cs0126.cs: An object of a type convertible to `int' is required
+++// cs0126.cs: An object of a type convertible to `int' is required for the return statement
// Line: 7
class X {
---// cs0127.cs: Since `X.fn()' returns void, a return keyword must not be followed by an object expression
+++// cs0127.cs: A return keyword must not be followed by any expression when method returns void
// Line: 6
class X {
void fn ()
return 1;
}
}
+++
---// CS0131: The left-hand side of an assignment must be a variable, property or indexer
+++// cs0131-2.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
// Line: 10
using System;
---// cs0131-3.cs: The left-hand side of an assignment must be a variable, property or indexer
+++// cs0131-3.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
// Line: 12
using System;
---// cs0131.cs: The left-hand side of an assignment must be a variable, property or indexer
+++// cs0131.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
// Line:
class X {
void A ()
---// cs0132.cs: `X.X(int)': a static constructor must be parameterless
+++// cs0132.cs: `X.X(int)': The static constructor must be parameterless
// Line: 4
class X {
static X (int x)
---// cs0133.cs: The expression being assigned to 'S.pathName' must be constant
+++// cs0133-2.cs: The expression being assigned to `S.pathName' must be constant
// Line: 12
// Compiler options: -unsafe
---// cs0133.cs: The expression being assigned to 'Foo' must be constant
+++// cs0133-3.cs: The expression being assigned to `Foo' must be constant
// Line: 12
class T
---// cs0135.cs: 'test' conflicts with the declaration 'ClassMain.test'
+++// cs0135.cs: `test' conflicts with a declaration in a child block
// Line: 11
class ClassMain {
---// cs0136-2.cs: A local variable named `j' cannot be declared in this scope because it would give a different meaning to `j', which is already used in a `parent or current' scope to denote something else
+++// cs0136-2.cs: A local variable named `j' cannot be declared in this scope because it would give a different meaning to `j', which is already used in a `method argument' scope
// Line: 5
class X {
public static void Bar (int j, params int [] args)
---// cs0136-3.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope to denote something else
+++// cs0136-3.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope
// Line: 8
class X
---// cs0136-4.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope to denote something else
+++// cs0136-4.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope
// Line: 8
class X
---// cs0136-5.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `child' scope to denote something else
+++// cs0136-5.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `child' scope
// Line: 9
class X {
void b ()
---// cs0136.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent or current' scope to denote something else
+++// cs0136.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent' scope
// Line: 8
class X {
void b ()
---// cs0138.cs: A using namespace directive can only be applied to namespaces; `System.Console' is a type not a namespace
+++// cs0138.cs: `System.Console is a type not a namespace. A using namespace directive can only be applied to namespaces
// Line: 5
using System;
---// cs0143.cs: The type 'int' has no constructors defined
+++// cs0143.cs: The type `int' has no constructors defined
// Line: 8
class C
---// cs0146.cs: Circular base class dependency involving 'C' and 'A'
+++// cs0146-2.cs: Circular base class dependency involving `C' and `A'
// Line: 4
class A : B
---// cs0146.cs: Circular base class dependency involving 'B' and 'A'
+++// cs0146.cs: Circular base class dependency involving `B' and `A'
// Line: 7
class A : B {
---// cs0151-2.cs: A value of an integral type expected
+++// cs0151-2.cs: A value of an integral type or string expected for switch
// Line: 12
class Y {
---// cs0151.cs: A value of an integral type expected
+++// cs0151.cs: A value of an integral type or string expected for switch
// Line: 12
class Y {
byte b;
---// cs0154-2.cs: The property or indexer `B.Foo' cannot be used in this context because it lacks the get accessor
+++// cs0154-2.cs: The property or indexer `B.Foo' cannot be used in this context because it lacks the `get' accessor
// Line: 13
// this is bug 55780.
---// cs0154.cs: The property or indexer `A.name' cannot be used in this context because it lacks the get accessor
+++// cs0154.cs: The property or indexer `A.name' cannot be used in this context because it lacks the `get' accessor
// Line: 21
public class A
---// cs0158.cs: The label 'start' shadows another label by the same name in a contained scope
+++// cs0158.cs: The label `start' shadows another label by the same name in a contained scope
// Line: 9
class ClassMain {
---// cs0160.cs: A previous catch clause already catches all exceptions of this or a super type 'System.Exception'
+++// cs0160-2.cs: A previous catch clause already catches all exceptions of this or a super type `System.Exception'
// Line: 8
class ClassMain {
---// cs0160.cs: A previous catch clause already catches all exceptions of this or a super type 'System.Exception'
+++// cs0160.cs: A previous catch clause already catches all exceptions of this or a super type `System.Exception'
// Line: 8
class ClassMain {
---// cs0163.cs: Control cannot fall through from one case label (`case 3:') to another
+++// cs0163.cs: Control cannot fall through from one case label to another
// Line: 17
---// cs0165.cs: Use of unassigned local variable 's'
+++// cs0165.cs: Use of unassigned local variable `s'
// Line: 9
public class Test
---// cs0168.cs: The variable 'p' is declared but never used
+++// cs0168.cs: The variable `p' is declared but never used
// Line: 9
// Compiler options: -warn:3 -warnaserror
class X {
int x;
--- void blah ()
--- {
--- }
---
static void Main () {}
}
---// cs0173.cs: Type of conditional expression can't be determined because there is no implicit conversion between 'int' and '<null>'
+++// cs0173-2.cs: Type of conditional expression cannot be determined because there is no implicit conversion between `int' and `null'
// Line: 29
public class MainClass {
---// cs0173.cs: Type of conditional expression can't be determined because there is no implicit conversion between 'ClassA' and 'ClassB'
+++// cs0173-3.cs: Type of conditional expression cannot be determined because there is no implicit conversion between `ClassA' and `ClassB'
// Line: 29
class ClassA {
---// cs0176-2.cs: Static member `MyClass.Start(string)' cannot be accessed with an instance reference; qualify it with a type name instead
+++// cs0176-2.cs: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 10
using System;
---// cs0176-3.cs: Static member `A.X' cannot be accessed with an instance reference; qualify it with a type name instead
+++// cs0176-3.cs: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 12
using System;
---// CS0176: Static member 'X.CONST' cannot be accessed with an instance reference; qualify it with a type name instead
+++// cs0176-4.cs: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 12
public class X {
---// cs0176.cs: Static member `X.void_method()' cannot be accessed with an instance reference; qualify it with a type name instead
+++// cs0176.cs: Static member `X.void_method()' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 15
class X {
public static void void_method ()
---// cs0177.cs: The out parameter 'f' must be assigned to before control leaves the current method
+++// cs0177-3.cs: The out parameter `f' must be assigned to before control leaves the current method
// Line: 5
class C {
---// cs0177.cs: The out parameter 'f' must be assigned to before control leaves the current method
+++// cs0177-4.cs: The out parameter `f' must be assigned to before control leaves the current method
// Line: 5
class C {
---// cs0177.cs: The out parameter 'display' must be assigned to before control leaves the current method
+++// cs0177.cs: The out parameter `display' must be assigned to before control leaves the current method
// Line: 5
class ClassMain {
---// cs0179.cs: `X.extern_method()' cannot be extern and declare a body
+++// cs0179.cs: `X.extern_method()' cannot declare a body because it is marked extern
// Line:
class X {
---// cs0186.cs: Use of null is not valid in this context
+++// cs0186-2.cs: Use of null is not valid in this context
// Line: 2
class ClassMain {
---// cs0192.cs: A readonly field cannot be passed ref or out (except in a constructor)
+++// cs0192-2.cs: A readonly field `a' cannot be passed ref or out (except in a constructor)
// Line: 15
class A
---// cs0192.cs: A readonly field cannot be passed ref or out (except in a constructor)
+++// cs0192.cs: A readonly field `a' cannot be passed ref or out (except in a constructor)
// Line: 17
using System;
---//cs0197.cs: Can not pass fields of a MarshalByRefObject by ref or out
+++// cs0197.cs: Passing `T.bar' as ref or out or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class
// Line: 15
+++// Compiler options: -warnaserror -warn:1
+++
using System;
class T : MarshalByRefObject {
int bar;
---// cs0199.cs: A static readonly field cannot be passed ref or out (except in a static constructor)
+++// cs0199.cs: A static readonly field `index' cannot be passed ref or out (except in a static constructor)
// Line: 19
class ClassMain {
---// cs0205-2.cs: Cannot call an abstract base member: `A.Foobar'
+++// cs0205-2.cs: Cannot call an abstract base member `A.Foobar'
// Line: 15
using System;
;
}
}
+++
---// cs0205.cs: Cannot call an abstract base member: `A.Foobar()'
+++// cs0205.cs: Cannot call an abstract base member `A.Foobar()'
//
using System;
---// cs0206.cs: A property or indexer may not be passed as an out or ref parameter
+++// cs0206.cs: A property or indexer `X.P' may not be passed as an out or ref parameter
// Line:
class X {
static int P { get { return 1; } set { } }
---// cs0208-2.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`cs208.Foo')
+++// cs0208-2.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `cs208.Foo'
// Line: 20
// Compiler options: -unsafe
---// cs0208-3.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`Foo.P')
+++// cs0208-3.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo.P'
// Line: 18
// Compiler options: -unsafe
---// cs0208-4.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`object')
+++// cs0208-4.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `object'
// Line: 11
// Compiler options: -unsafe
---// cs0208-5.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`X')
+++// cs0208-5.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
// Line: 8
// Compiler options: -unsafe
---// cs0208-6.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`X')
+++// cs0208-6.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
// Line: 8
// Compiler options: -unsafe
---// cs0208-7.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`foo')
+++// cs0208-7.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `foo'
// Line: 11
// Compiler options: -unsafe
---// cs0208-8.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`_Port')
+++// cs0208-8.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `_Port'
// Line: 16
// Compiler options: -unsafe
- // cs0208-9.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`Foo')
--// cs0208-9.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`Foo')\r
+++// cs0208-9.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo'
// Line: 7
// Compiler options: -t:library -unsafe
---// cs0208.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`cs208.Foo')
+++// cs0208.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `cs208.Foo'
// Line: 20
// Compiler options: -unsafe
---// cs0214.cs: Pointers may only be used in an unsafe context
+++// cs0214-6.cs: Pointers and fixed size buffers may only be used in an unsafe context
// Line: 12
using System;
---// cs0217.cs: In order to be applicable as a short circuit operator a user-defined logical operator ('UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)') must have the same return type as the type of its 2 parameters
+++// cs0217.cs: In order to be applicable as a short circuit operator a user-defined logical operator `UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)' must have the same return type as the type of its 2 parameters
// Line: 22
public class UserOperatorClass
---// cs0227.cs: Unsafe code may only appear if compiling with /unsafe
+++// cs0227.cs: Unsafe code requires the `unsafe' command line option to be specified
// Line: 5
class UnsafeClass {
---// 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)
+++// 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 {
---// cs0234-2.cs: The type or namespace name `Enum' does not exist in the namespace `A.B.System' (are you missing an assembly reference?)
+++// cs0234-2.cs: The type or namespace name `Enum' does not exist in the namespace `A.B.System'. Are you missing an assembly reference?
// Line: 8
using System;
---// cs0234-3.cs: The type or namespace name `Type' does not exist in the namespace `MonoTests.System' (are you missing an assembly reference?)
+++// cs0234-3.cs: The type or namespace name `Type' does not exist in the namespace `MonoTests.System'. Are you missing an assembly reference?
// Line: 12
using System;
---// cs0236.cs: A field initializer cannot reference the nonstatic field, method, or property `X.Foo.get'
+++// cs0236.cs: A field initializer cannot reference the nonstatic field, method, or property `X.Foo'
class X
{
static void Main () {
}
}
+++
---// cs0238.cs: 'DerivedClass.Show()' cannot be sealed because it is not an override
+++// cs0238.cs: `DerivedClass.Show()' cannot be sealed because it is not an override
// Line: 10
class BaseClass {
---// cs0242.cs: The operation in question is undefined on void pointers
+++// cs0242.cs: The array index operation is not valid on void pointers
// Line: 10
// Compiler options: -unsafe
using System;
return;
}
}
+++
---// cs0238.cs: Conditional not valid on 'DerivedClass.Show()' because it is an override method
+++// cs0243.cs: Conditional not valid on `DerivedClass.Show()' because it is an override method
// Line: 10
class BaseClass {
---// cs0246-10.cs: The type or namespace name `Nonexistant' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-10.cs: The type or namespace name `Nonexistant' could not be found. Are you missing a using directive or an assembly reference?
using System;
using Nonexistant;
static void Main () {
}
}
+++
---// cs0246.cs: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-2.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 5
interface A {
---// cs0246.cs: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-3.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 5
interface A {
---// cs0246.cs: The type or namespace name 'ErrorType' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-4.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 4
public delegate ErrorType Delegate ();
---// cs0246.cs: The type or namespace name 'AAAA' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-5.cs: The type or namespace name `AAAA' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7
using System;
---// cs0246-6.cs: The type or namespace name `XmlDocument' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-6.cs: The type or namespace name `XmlDocument' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7
// This is bug 55770
---// cs0246-8.cs: The type or namespace name `Reflection' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-8.cs: The type or namespace name `Reflection.ConstructorInfo' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7
using System;
Reflection.ConstructorInfo ci;
}
}
+++
---// cs0246-9.cs: The type or namespace name `foo' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246-9.cs: The type or namespace name `foo' could not be found. Are you missing a using directive or an assembly reference?
// This is from bug #70758
struct bar {
foo foo;
}
+++
---// cs0246.cs: The type or namespace name `B' could not be found (are you missing a using directive or an assembly reference?)
+++// cs0246.cs: The type or namespace name `B' could not be found. Are you missing a using directive or an assembly reference?
// Line: 4
interface A : B {
}
static void Main () {
}
}
+++
---// cs0255.cs: Can not use stackalloc in finally or catch
+++// cs0255.cs: Cannot use stackalloc in finally or catch
// Line: 12
// Compiler options: -unsafe
---// cs0260-2.cs: Missing partial modifier on declaration of type `Foo'; another partial declaration of this type exists
+++// cs0260-2.cs: Missing partial modifier on declaration of type `Foo'. Another partial declaration of this type exists
// Line: 6
public partial class Foo
{ }
---// cs0260.cs: Missing partial modifier on declaration of type `Foo'; another partial declaration of this type exists
+++// cs0260.cs: Missing partial modifier on declaration of type `Foo'. Another partial declaration of this type exists
// Line: 3
public class Foo
{ }
---// CS0262: Partial declarations of 'Foo' have conflicting accessibility modifiers
+++// cs0262.cs: Partial declarations of `Foo' have conflicting accessibility modifiers
// Line: 6
public partial class Foo
{ }
---// cs0269.cs: Use of unassigned out parameter 'a'
+++// cs0269.cs: Use of unassigned out parameter `a'
// Line: 23
struct A
---// cs0271.cs: The property or indexer 'P.Prop' cannot be used in this context because the get accessor is inaccessible
+++// cs0271.cs: The property or indexer `P.Prop' cannot be used in this context because the get accessor is inaccessible
// Line: 19
class P
---// cs0272.cs: The property or indexer 'P.Prop' cannot be used in this context because the set accessor is inaccessible
+++// cs0272.cs: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
// Line: 19
class P
---// cs0273.cs: The accessibility modifier of the `Error0273.Message.get' accessor must be more restrictive than the property or indexer `Error0273.Message'
+++// cs0273.cs: The accessibility modifier of the `Error0273.Message.get' accessor must be more restrictive than the modifier of the property or indexer `Error0273.Message'
// Line: 8
// Compiler options: -t:library
---// cs0274.cs: Cannot specify accessibility modifiers for both accessors of the property or indexer `Error0274.Message'
+++// cs0274.cs: `Error0274.Message': Cannot specify accessibility modifiers for both accessors of the property or indexer
// Line: 7
// Compiler options: -t:library
---// cs0407.cs: 'int MainClass.Delegate()' has the wrong return type
+++// cs0407.cs: `int MainClass.Delegate()' has the wrong return type to match the delegate `void TestDelegate()'
// Line: 12
delegate void TestDelegate();
---// cs0415: The 'IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration
+++// cs0415.cs: The `IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration
// Line: 11
using System.Runtime.CompilerServices;
---// cs0418.cs: 'TestClass': an abstract class cannot be sealed or static
+++// cs0418-2.cs: `TestClass': an abstract class cannot be sealed or static
// Line: 4
public abstract static class TestClass
---// cs0418.cs: 'TestClass': an abstract class cannot be sealed or static
+++// cs0418.cs: `TestClass': an abstract class cannot be sealed or static
// Line: 4
public abstract sealed class TestClass
---// cs0419.cs: Ambiguous reference in cref attribute: 'System.String.Replace'. Assuming 'string.Replace(char, char)', but could have also matched other overloads including 'string.Replace(string, string)'.
+++// cs0419.cs: Ambiguous reference in cref attribute `System.String.Replace'. Assuming `string.Replace(char, char)' but other overloads including `string.Replace(char, char)' have also matched
// Line: 1
// Compiler options: -doc:dummy.xml -warn:3 -warnaserror
/// <summary>
---// cs0441.cs: 'TestClass': a class cannot be both static and sealed
+++// cs0441.cs: `TestClass': a class cannot be both static and sealed
// Line: 4
public sealed static class TestClass
---// cs0442.cs: 'C.Prop.get': abstract properties cannot have private accessors
+++// cs0442.cs: `C.Prop.get': abstract properties cannot have private accessors
// Line: 7
abstract class C {
---// cs0500.cs: `X.B()' cannot declare a body because is marked abstract
+++// cs0500.cs: `X.B()' cannot declare a body because it is marked abstract
// Line: 5
abstract class X {
---// cs0501.cs: `Class.X' must declare a body because it is not marked abstract or extern
+++// cs0501.cs: `Class.X()' must declare a body because it is not marked abstract or extern
// Line: 4
class Class {
virtual public void X ();
---// cs0502.cs: 'Main.Test()' cannot be both abstract and sealed
+++// cs0502.cs: `Main.Test()' cannot be both abstract and sealed
// Line: 10
abstract class Base {
--- public abstract void Test () {}
+++ public abstract void Test ();
}
abstract class Main: Base
---// cs0504.cs: The constant 'Sample.constant' cannot be marked static
+++// cs0504.cs: The constant `Sample.constant' cannot be marked static
// Line: 5
class Sample {
---// cs0505.cs: 'DerivedClass.value()' : cannot override; 'BaseClass.value' is not a function
+++// cs0505.cs: `DerivedClass.value()': cannot override because `BaseClass.value' is not a method
// Line: 9
class BaseClass {
---// cs0506.cs: 'DerivedClass.Show()' : cannot override inherited member 'BaseClass.Show()' because it is not marked "virtual", "abstract", or "override"
+++// cs0506.cs: `DerivedClass.Show()': cannot override inherited member `BaseClass.Show()' because it is not marked virtual, abstract or override
// Line: 9
class BaseClass {
---// cs0506.cs: 'DerivedClass.Message.set()' : cannot change access modifiers when overriding inherited member 'BaseClass.Message.set'
+++// cs0507-2.cs: `DerivedClass.Message.set': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Message.set'
// Line: 15
class BaseClass {
---// cs0506.cs: 'DerivedClass.Show()' : cannot change access modifiers when overriding inherited member 'BaseClass.Show()'
+++// cs0507.cs: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()'
// Line: 9
class BaseClass {
---// cs0508.cs: 'DerivedClass.Show()' : cannot change return type when overriding inherited member 'BaseClass.Show()'
+++// cs0508.cs: `DerivedClass.Show()': return type must be `void' to match overridden member `BaseClass.Show()'
// Line: 9
class BaseClass {
---// cs0509.cs: 'InstanceClass' cannot inherit from sealed class 'E'
+++// cs0509-2.cs: `InstanceClass': cannot derive from sealed class `E'
// Line: 6
public enum E {}
---// cs0509.cs: base class is sealed
+++// cs0509.cs: `X': cannot derive from sealed class `V'
// Line: 7
struct V {
int v;
---// cs0513.cs: X.myAbstract is abstract but it is contained in non-abstract class
+++// cs0513.cs: `X.myAbstract()' is abstract but it is contained in nonabstract class
// Line: 5
class X {
---// cs0514: Static constructor can not have arguments
+++// cs0514.cs: `X.X()': static constructor cannot have an explicit `this' or `base' constructor call
// Line: 4
class X {
static X () : base ()
---// cs0515.cs: access modifiers are not allowed on static constructors
+++// cs0515.cs: `X.X()': access modifiers are not allowed on static constructors
// Line: 4
class X {
public static X ()
---// cs0516.cs: Constructor 'Sample.Sample()' can not call itself
+++// cs0516.cs: Constructor `Sample.Sample()' cannot call itself
// Line: 5
class Sample {
---// cs0518.cs: The predefined type 'System.Object' is not defined or imported
+++// cs0518.cs: The predefined type `System.Object' is not defined or imported
// Line: 0
// Compiler options: -nostdlib
---// cs0522.cs: 'SampleStruct.SampleStruct(int)' : structs cannot call base class constructors
+++// cs0522.cs: `SampleStruct.SampleStruct(int)': Struct constructors cannot call base constructors
// Line: 5
struct SampleStruct {
---// cs0523.cs: circular structure definition
+++// cs0523.cs: Struct member `B.a' of type `A' causes a cycle in the struct layout
//
struct A {
---// cs0524.cs: 'I' : interfaces cannot declare types// Line: 5
+++// cs0524-2.cs: `Interface.I': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
interface Interface {
interface I {}
}
---// cs0524.cs: 'E' : interfaces cannot declare types// Line: 5
+++// cs0524-3.cs: `Interface.E': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
interface Interface {
enum E {
White,
---// cs0524.cs: 'C' : interfaces cannot declare types
+++// cs0524-4.cs: `Interface.C': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
// Line: 5
interface Interface {
---// cs0524.cs: 'D' : interfaces cannot declare types
+++// cs0524-5.cs: `Interface.D': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
// Line: 5
interface Interface {
---// cs0524.cs: 'Struct' : interfaces cannot declare types
+++// cs0524.cs: `Interface.Struct': Interfaces cannot declare classes, structs, interfaces, delegates, enumerations or constants
// Line: 5
interface Interface {
---// cs0525.cs: Interfaces cannot contain fields
+++// cs0525-2.cs: Interfaces cannot contain fields or constants
// Line: 9
interface Interface
---// cs0146.cs: Circular base class dependency involving 'B' and 'A'
+++// cs0527-2.cs: Type `A' in interface list is not an interface
// Line: 7
struct A : B {
---// cs0527: type in interface list is not an interface
+++// cs0527.cs: Type `X' in interface list is not an interface
// Line: 6
class X {
}
---// cs0528: `IComparable' is already listed in interface list
+++// cs0528-2.cs: `System.IComparable' is already listed in interface list
// Line: 6
using System;
---// cs0529: Inherited interface 'C' causes a cycle in the interface hierarchy of 'A'
+++// cs0529.cs: Inherited interface `A' causes a cycle in the interface hierarchy of `C'
// Line: 10
interface A : B {
---// cs0531.cs: 'Interface.P.get' : interface members cannot have a definition// Line: 5
---public interface Interface { int P { get {} }}
+++// cs0531-2.cs: `Interface.P.get': interface members cannot have a definition
+++// Line:
+++
+++public interface Interface {
+++ int P { get {} }
+++}
---// cs0531.cs: 'Interface.Foo()' : interface members cannot have a definition
+++// cs0531.cs: `Interface.Foo()': interface members cannot have a definition
// Line: 5
public interface Interface {
---// cs0533.cs: 'DerivedClass.Foo()' hides inherited abstract member 'BaseClass.Foo()'
+++// cs0533.cs: `DerivedClass.Foo()' hides inherited abstract member `BaseClass.Foo()'
// Line: 9
abstract public class BaseClass {
---// cs0534.cs: 'DerivedClass' does not implement inherited abstract member 'BaseClass.Value.set'
+++// cs0534-2.cs: `DerivedClass' does not implement inherited abstract member `BaseClass.Value.set'
// Line: 8
abstract class BaseClass {
---// cs0534: 'MyTestExtended' does not implement inherited abstract member 'MyTestAbstract.GetName()'
+++// cs0534-3.cs: `MyTestExtended' does not implement inherited abstract member `MyTestAbstract.GetName()'
// Line: 6
// Compiler options: -r:CS0534-3-lib.dll
---// cs0534: 'MyTestExtended' does not implement inherited abstract member 'MyTestAbstract.GetName()'
+++// cs0534-4.cs: `MyTestExtended' does not implement inherited abstract member `MyTestAbstract.GetName()'
// Line: 6
// Compiler options: -r:CS0534-4-lib.dll
---// cs0534.cs: `Y' does not implement inherited abstract member `myAbstract'
+++// cs0534.cs: `Y' does not implement inherited abstract member `X.myAbstract()'
// Line: 5
abstract class X {
---// cs0535.cs: 'Stack' does not implement interface member 'IStack.Insert(int, object)'
+++// cs0535-2.cs: `Stack' does not implement interface member `IStack.Insert(int, object)'
// Line: 11
using System;
---// cs0535.cs: 'Test' does not implement interface member 'X.Hola(ref string)'
+++// cs0535-3.cs: `Test' does not implement interface member `X.Hola(ref string)'
// Line: 9
using System;
name = null;
}
}
+++
---// cs0535.cs: 'Class' does not implement interface member 'Interface.Method()'
+++// cs0535.cs: `Class' does not implement interface member `Interface.Method()'
// Line: 8
interface Interface {
---// cs0536.cs: Clone method is not public, so it cant implement ICloneable
+++// cs0536.cs: `MyTest' does not implement interface member `System.ICloneable.Clone()'. `MyTest.Clone()' is either static, not public, or has the wrong return type
// Line: 4
using System;
public class MyTest : ICloneable {
---// cs0538.cs: 'BaseClass' in explicit interface declaration is not an interface
+++// cs0538.cs: `BaseClass' in explicit interface declaration is not an interface
// Line: 9
class BaseClass {
---// cs0539.cs: Member in explicit interface declaration is not a member of the interface
+++// cs0539.cs: `A.B' in explicit interface declaration is not a member of interface
// Line:
interface A {
---// cs0540.cs: containing class does not implement interface
+++// cs0540.cs: `B.A.B()': containing type does not implement interface `A'
// Line:
interface A {
---// cs0541.cs: 'ICloneable.Clone' : explicit interface declaration can only be declared in a class or struct
+++// cs0541.cs: `Interface.ICloneable.Clone()': explicit interface declaration can only be declared in a class or struct
// Line: 7
using System;
---// cs0542.cs: member names can not be the same as their enclosing type
+++// cs0542.cs: `X.X': member names cannot be the same as their enclosing type
// Line: 4
class X {
int X;
---// cs1008.cs : Enumerator value for 'Bar' is too large to fit in its type
+++// cs0543.cs: The enumerator value `Blah.MyEnum.Bar' is too large to fit in its type `byte'
// Line : 9
public class Blah {
---// cs0544.cs: 'DerivedClass.value' : cannot override; 'BaseClass.value' is not a property
+++// cs0544.cs: `DerivedClass.value': cannot override because `BaseClass.value' is not a property
// Line: 9
class BaseClass {
---// cs0545.cs: 'DerivedClass.Value.get' : cannot override because 'BaseClass.Value' does not have an overridable get accessor
+++// cs0545.cs: `DerivedClass.Value.get': cannot override because `BaseClass.Value' does not have an overridable get accessor
// Line: 9
abstract class BaseClass {
---// cs0546.cs: 'DerivedClass.Value.set' : cannot override because 'BaseClass.Value' does not have an overridable set accessor
+++// cs0546.cs: `DerivedClass.Value.set': cannot override because `BaseClass.Value' does not have an overridable set accessor
// Line: 9
abstract class BaseClass {
---// cs0547.cs: 'Value' : property cannot have void type
+++// cs0547-2.cs: `Value': property or indexer cannot have void type
// Line: 5
interface PropertyInterface {
---// cs0548.cs: 'PropertyClass.Value' : property or indexer must have at least one accessor
+++// cs0548-2.cs: `PropertyInterface.Value': property or indexer must have at least one accessor
// Line: 5
interface PropertyInterface {
---// cs0548.cs: 'PropertyClass.Value' : property or indexer must have at least one accessor
+++// cs0548-3.cs: `PropertyInterface.this[long]': property or indexer must have at least one accessor
// Line: 5
interface PropertyInterface {
---// cs0549.cs: 'SealedClass.Foo()' is a new virtual member in sealed class 'SealedClass'
+++// cs0549.cs: New virtual member `SealedClass.Foo()' is declared in a sealed class `SealedClass'
// Line: 5
sealed class SealedClass {
---// cs0550.cs: 'PropertyClass.PropertyInterface.this[bool].get' adds an accessor not found in interface member 'PropertyInterface.Value'
+++// cs0550-2.cs: `PropertyClass.PropertyInterface.this[bool].get' is an accessor not found in interface member `PropertyInterface.this[bool]'
// Line: 13
using System.Runtime.CompilerServices;
---// cs0550.cs: 'PropertyClass.PropertyInterface.Value.set' adds an accessor not found in interface member 'PropertyInterface.Value'
+++// cs0550.cs: `PropertyClass.PropertyInterface.Value.set' is an accessor not found in interface member `PropertyInterface.Value'
// Line: 13
interface PropertyInterface {
---// cs0551.cs: Explicit interface implementation 'PropertyClass.PropertyInterface.Value' is missing accessor 'PropertyInterface.Value.set'
+++// cs0551.cs: Explicit interface implementation `PropertyClass.PropertyInterface.Value' is missing accessor `PropertyInterface.Value.set'
// Line: 9
interface PropertyInterface {
---// cs0552.cs: user-defined conversion to/from interface
+++// cs0552.cs: User-defined conversion `NoIDispose.implicit operator System.IDisposable(NoIDispose)' cannot convert to or from an interface type
// Line: 12
//
using System;
---// cs0553.cs: 'DerivedClass.implicit operator BaseClass(DerivedClass)' : user defined conversion to/from base class
+++// cs0553.cs: User-defined conversion `DerivedClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from base class
// Line: 8
class BaseClass {
---// cs0554.cs: 'BaseClass.implicit operator BaseClass(DerivedClass)' : user defined conversion to/from derived class
+++// cs0554.cs: User-defined conversion `BaseClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from derived class
// Line: 5
class BaseClass {
---// cs0555.cs : User-defined conversion cannot take an object of the enclosing type
---// and convert to an object of the enclosing type
+++// cs0555.cs: User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type
// Line : 8
class Blah {
---// cs0111.cs: Duplicated method definition for the operator
+++// cs0557-2.cs: Duplicate user-defined conversion in type `C'
//
class C {
public static bool operator != (C a, C b)
---// cs0557.cs: Duplicate user-defined conversion in class 'SampleClass'
+++// cs0557.cs: Duplicate user-defined conversion in type `SampleClass'
// Line: 5
class SampleClass {
---// cs0558.cs: User-defined operator 'SampleClass.implicit operator bool(SampleClass)' must be declared static and public
+++// cs0558.cs: User-defined operator `SampleClass.implicit operator bool(SampleClass)' must be declared static and public
// Line: 5
class SampleClass {
+++ /dev/null
---// cs0561.cs: 'DerivedClass.get_Value()' : cannot override 'BaseClass.Value.get' because it is a special compiler-generated method
---// Line: 13
---
---class BaseClass {
--- protected virtual int Value {
--- get {
--- return 0;
--- }
--- }
---}
---
---class DerivedClass: BaseClass {
--- protected override int get_Value () {
--- return 1;
--- }
---
--- static void Main () {}
---}
---// cs0563.cs: One of the parameters to the binary operator should be the containing type
+++// cs0563.cs: One of the parameters of a binary operator must be the containing type
// Line: 4
class X {
public static int operator + (int a, int b)
---// cs0568.cs: struct can not contain an explicit parameterless constructor
+++// cs0568.cs: Structs cannot contain explicit parameterless constructors
// Line: 5
struct A {
int a;
---// cs0571.cs: 'System.Reflection.MemberInfo.Name.get' : cannot explicitly call operator or accessor// Line: 9
+++// cs0571-2.cs: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor
using System;
public class EntryPoint {
---// cs0571.cs: cannot explicitly call operator or accessor
+++// cs0571-3.cs: `Test.C0.foo.get': cannot explicitly call operator or accessor
// Line: 12
// Compiler options: -r:CS0571-3-lib.dll
---// cs0571.cs: 'MainClass.Value.get' : cannot explicitly call operator or accessor
+++// cs0571.cs: `MainClass.Value.get': cannot explicitly call operator or accessor
// Line: 12
class MainClass {
---// cs0572: Can't reference type `Foo' through an expression; try `Y.Foo' instead.
+++// cs0572.cs: `Foo': cannot reference a type through an expression; try `Y.Foo' instead
// Line: 13
using System;
---// cs0573.cs: can not initializer fields in structs
+++// cs0573.cs: `A.a': Structs cannot have instance field initializers
// Line: 5
struct A {
int a = 1;
---// cs0574.cs: Name of destructor must match name of class:
+++// cs0574.cs: Name of destructor must match name of class
// Line: 6
class X {
---// cs0575.cs: destructors are only allowed in class types
+++// cs0575.cs: Only class types can contain destructor
// Line: 5
struct X {
{
}
}
+++
+++}
---// cs0577.cs: Conditional not valid on 'MainClass.~MainClass()' because it is a destructor, operator, or explicit interface implementation
+++// cs0577-2.cs: Conditional not valid on `MainClass.~MainClass()' because it is a constructor, destructor, operator or explicit interface implementation
// Line: 5
class MainClass {
---// cs0577.cs: Conditional not valid on 'MainClass.implicit operator MainClass (C)' because it is a destructor, operator, or explicit interface implementation
+++// cs0577-3.cs: Conditional not valid on `MainClass.implicit operator MainClass(C)' because it is a constructor, destructor, operator or explicit interface implementation
// Line: 8
class C {}
---// cs0577.cs: Conditional not valid on 'MainClass.I.F()' because it is a destructor, operator, or explicit interface implementation
+++// cs0577.cs: Conditional not valid on `MainClass.I.F()' because it is a constructor, destructor, operator or explicit interface implementation
// Line: 10
interface I
---// cs0578.cs: Conditional not valid on 'MainClass.Foo()' because its return type is not void
+++// cs0578.cs: Conditional not valid on `MainClass.Foo()' because its return type is not void
// Line: 10
class MainClass {
---// cs0579.cs : Duplicate 'DebuggableAttribute' attribute// Line : 6
+++// cs0579-2.cs: Duplicate `DebuggableAttribute' attribute
+++// Line: 7
+++
using System.Diagnostics;
[module: DebuggableAttribute (false, false)]
---// cs0592-2.cs : Attribute 'MyAttribute' is not valid on this declaration type. It is valid on 'interface' declarations only.
+++// cs0592-2.cs: Attribute `MyAttribute' is not valid on this declaration type. It is valid on `interface' declarations only
// Line : 8
using System;
---// cs0592 : Attribute 'IndexerName' is not valid on this declaration type. It is valid on 'property' declarations only.
+++// cs0592-3.cs: Attribute `IndexerName' is not valid on this declaration type. It is valid on `property, indexer' declarations only
// Line : 6
using System.Runtime.CompilerServices;
---// cs0592-4.cs: Attribute 'TestAttribute' is not valid on this declaration type. It is valid on 'constructor' declarations only.
+++// cs0592-4.cs: Attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
// Line: 5
using System;
---// cs0592-5.cs: Attribute 'TestAttribute' is not valid on this declaration type. It is valid on 'constructor' declarations only.
+++// cs0592-5.cs: Attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
// Line: 6
using System;
---// cs0592-6.cs: Attribute 'TestAttribute' is not valid on this declaration type. It is valid on 'constructor' declarations only.
+++// cs0592-6.cs: Attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
// Line: 6
using System;
---// cs0592-7.cs: Attribute 'EnumAttribute' is not valid on this declaration type. It is valid on 'method' declarations only.
+++// cs0592-7.cs: Attribute `EnumAttribute' is not valid on this declaration type. It is valid on `method' declarations only
// Line: 13
using System;
---// cs0657.cs : Attribute 'Obsolete' is not valid on this declaration type. It is valid on 'class, struct, enum, constructor, method, property, field, event, interface, delegate' declarations only.
+++// cs0592-8.cs: Attribute `Obsolete' is not valid on this declaration type. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only
// Line : 8
using System;
---// cs0657.cs : Attribute 'S' is not valid on this declaration type. It is valid on 'return' declarations only.
+++// cs0592-9.cs: Attribute `S' is not valid on this declaration type. It is valid on `return' declarations only
// Line : 12
using System;
---// cs0592.cs : Attribute 'Simple' is not valid on this declaration type. It is valid on 'constructor' declarations only.
+++// cs0592.cs: Attribute `Simple' is not valid on this declaration type. It is valid on `constructor' declarations only
// Line : 22
using System;
---// cs0594.cs: Floating-point constant is outside the range of the type 'decimal'
+++// cs0594-2.cs: Floating-point constant is outside the range of type `double'
// Line: 6
class X {
---// cs0594.cs: Floating-point constant is outside the range of the type 'double'
+++// cs0594-3.cs: Floating-point constant is outside the range of type `float'
// Line: 6
class X {
---// cs0594.cs: Floating-point constant is outside the range of the type 'double'
+++// cs0594.cs: Floating-point constant is outside the range of type `decimal'
// Line: 6
class X {
---// cs0601.cs : The DllImport attribute must be specified on a method marked 'static' and 'extern'.
+++// cs0601.cs: The DllImport attribute must be specified on a method marked `static' and `extern'
// Line : 9
using System;
---// cs0609.cs: Cannot set the 'IndexerName' attribute on an indexer marked override
+++// cs0609.cs: Cannot set the `IndexerName' attribute on an indexer marked override
// Line: 15
using System.Runtime.CompilerServices;
---// cs0610.cs: Field or property cannot be of type 'System.TypedReference'
+++// cs0610-2.cs: Field or property cannot be of type `System.TypedReference'
// Line: 5
public class Sample {
---// cs0610.cs: Field or property cannot be of type 'System.TypedReference'
+++// cs0610-3.cs: Field or property cannot be of type `System.TypedReference'
// Line: 5
public class Sample {
---// cs0610.cs: Field or property cannot be of type 'System.ArgIterator'
+++// cs0610.cs: Field or property cannot be of type `System.ArgIterator'
// Line: 5
public class Sample {
---// cs0611.cs: Array elements cannot be of type 'System.TypedReference'
+++// cs0611-2.cs: Array elements cannot be of type `System.TypedReference'
// Line: 5
public class Sample {
---// cs0611.cs: Array elements cannot be of type 'System.ArgIterator'
+++// cs0611.cs: Array elements cannot be of type `System.ArgIterator'
// Line: 5
public class Sample {
---// cs0612-2.cs: Cannot find type 'Foo'
+++// cs0612-2.cs: `Foo.Bar' is obsolete
// Line: 8
// Compiler options: -r:CS0612-2-lib.dll -warnaserror
---// cs0612.cs: 'A.Value' is obsolete
+++// cs0612.cs: `A.Value' is obsolete
// Line: 13
// Compiler options: -warnaserror
---// cs0616.cs: 'FakeAttribute': is not an attribute class
+++// cs0616.cs: `FakeAttribute': is not an attribute class
// Line: 8
class FakeAttribute {
---// cs0617.cs : 'foo3' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static or const, or read-write properties which are not static.
+++// cs0617-2.cs: `foo3' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
// Line: 11
class BazAttribute : System.Attribute
---// cs0617,cs : 'MyNamedArg' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static or const, or properties with a set accessor which are not static.
+++// cs0617.cs: `MyNamedArg' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
// Line : 20
using System;
---// cs0618.cs: 'ObsoleteDispose' is obsolete: 'Class is obsolete'
+++// cs0618-2.cs: `ObsoleteDispose' is obsolete: `Class is obsolete'
// Line: 9
// Compiler options: -reference:CS0618-2-lib.dll -warnaserror
---// cs0618.cs: 'Name.Feat.Feat(string, string, int, params object[])' is obsolete: 'AaA'
+++// cs0618.cs: `Name.Feat.Feat(string, string, int, params object[])' is obsolete: `AaA'
// Line: 22
// Compiler options: -warnaserror
---// cs0619.cs: 'ObsoleteClass' is obsolete: 'Do not use it'
+++// cs0619-10.cs: `ObsoleteClass' is obsolete: `Do not use it.'
// Line: 10
using System;
---// cs0619.cs: 'ObsoleteClass' is obsolete: 'Do not use it'
+++// cs0619-11.cs: `I' is obsolete: `Do not use it.'
// Line: 15
using System;
---// cs0619.cs: 'I' is obsolete: ''
+++// cs0619-12.cs: `I' is obsolete: `'
// Line: 13
using System;
---// cs0619.cs: 'Obsolete' is obsolete: ''
+++// cs0619-13.cs: `Obsolete' is obsolete: `'
// Line: 11
[System.Obsolete("", true)]
---// cs0619.cs: 'AA' is obsolete: ''
+++// cs0619-14.cs: `AA' is obsolete: `'
// Line: 17
class A
---// cs0619.cs: 'Test.Test()' is obsolete: 'Causes an error'
+++// cs0619-15.cs: `Test.Test()' is obsolete: `Causes an error'
// Line: 9
using System;
---// cs0619.cs: 'Test_A.Test_A()' is obsolete: 'Causes an error'
+++// cs0619-16.cs: `Test_A.Test_A()' is obsolete: `Causes an error'
// Line: 13
using System;
---// cs0619.cs: 'ObsoleteA.ObsoleteA()' is obsolete: 'Obsolete struct'
+++// cs0619-17.cs: `ObsoleteA.ObsoleteA()' is obsolete: `Obsolete struct'
// Line: 7
// Compiler options: -reference:CS0619-17-lib.dll
---// cs0619.cs: 'Obsolete' is obsolete: '!!!'
+++// cs0619-18.cs: `Obsolete[]' is obsolete: `!!!'
// Line: 9
[System.Obsolete("!!!", true)]
---// cs0619.cs: 'MainClass' is obsolete: ''
+++// cs0619-19.cs: `MainClass' is obsolete: `'
// Line: 8
[System.Obsolete("", true)]
---// cs0619.cs: 'ObsoleteIface ' is obsolete: 'Do not use it'
+++// cs0619-2.cs: `ObsoleteIface' is obsolete: `Do not use it.'
// Line: 12
using System;
---// cs0619.cs: 'ObsoleteException' is obsolete: ''
+++// cs0619-20.cs: `ObsoleteException' is obsolete: `'
// Line: 15
using System;
---// cs0619.cs: 'Obsolete' is obsolete: ''
+++// cs0619-21.cs: `Obsolete' is obsolete: `'
// Line: 12
// Compiler options: -unsafe
---// cs0619.cs: 'AA' is obsolete: ''
+++// cs0619-22.cs: `AA' is obsolete: `'
// Line: 12
[System.Obsolete ("", true)]
---// cs0619.cs: 'AA' is obsolete: ''
+++// cs0619-23.cs: `AA' is obsolete: `'
// Line: 17
[System.Obsolete ("", true)]
---// cs0619.cs: 'Obsolete' is obsolete: ''
+++// cs0619-24.cs: `Obsolete*' is obsolete: `'
// Line: 19
// Compiler options: -unsafe
---// cs0619.cs: 'AA' is obsolete: ''
+++// cs0619-25.cs: `AA' is obsolete: `'
// Line: 9
[System.Obsolete ("", true)]
---// cs0619.cs: 'AA' is obsolete: ''
+++// cs0619-26.cs: `AA' is obsolete: `'
// Line: 9
[System.Obsolete ("", true)]
---// cs0619.cs: 'I' is obsolete: 'Do not use it'
+++// cs0619-27.cs: `I' is obsolete: `Do not use it'
// Line: 12
using System;
---// cs0619.cs: 'D' is obsolete: 'Do not use it'
+++// cs0619-28.cs: `D' is obsolete: `Do not use it'
// Line: 12
using System;
---// cs0619.cs: 'Obsolete.Error' is obsolete: 'Do not use it'
+++// cs0619-29.cs: `Obsolete.Error' is obsolete: `Do not use it.'
// Line: 15
class Obsolete {
---// cs0619.cs: 'ObsoleteIface ' is obsolete: 'Do not use it'
+++// cs0619-3.cs: `ObsoleteEnum' is obsolete: `Yeah, is obsolete'
// Line: 13
using System;
---// cs0619.cs: 'ObsoleteEnum.value_B' is obsolete: 'Is obsolete'
+++// cs0619-30.cs: `ObsoleteEnum.value_B' is obsolete: `Is obsolete'
// Line: 16
using System;
---// cs0619.cs: 'ObsoleteEnum' is obsolete: 'Is obsolete'
+++// cs0619-31.cs: `ObsoleteEnum' is obsolete: `Is obsolete'
// Line: 15
using System;
---// cs0619.cs: 'E.item_a' is obsolete: 'Obsolete enum'
+++// cs0619-32.cs: `E.item_a' is obsolete: `Obsolete enum'
// Line: 10
// Compiler options: -reference:CS0619-32-lib.dll
---// cs0619.cs: 'Error.Report(string)' is obsolete: 'Obsolete method'
+++// cs0619-33.cs: `Error.Report(string)' is obsolete: `Obsolete method'
// Line: 11
// Compiler options: -reference:CS0619-33-lib.dll
---// cs0619.cs: 'Error' is obsolete: 'Obsolete struct'
+++// cs0619-34.cs: `Error' is obsolete: `Obsolete struct'
// Line: 17
using System;
---// cs0619.cs: 'A.MyEvent' is obsolete: 'Do not use it'
+++// cs0619-35.cs: `A.MyEvent' is obsolete: `Do not use it'
// Line: 11
public delegate void MyDelegate();
---// cs0619.cs: 'Error.member' is obsolete: 'Obsolete member'
+++// cs0619-36.cs: `Error.member' is obsolete: `Obsolete member'
// Line: 8
// Compiler options: -reference:CS0619-36-lib.dll
---// cs0619.cs: 'ObsoleteEnum.value_B' is obsolete: 'It's obsolete'
+++// cs0619-37.cs: `ObsoleteEnum.value_B' is obsolete: `It's obsolete'
// Line: 16
using System;
---// cs0619.cs: 'ObsoleteEnum.value_B' is obsolete: 'ooo'
+++// cs0619-38.cs: `ObsoleteEnum' is obsolete: `ooo'
// Line: 14
using System;
---// cs0619.cs: 'Obsolete' is obsolete: '!!!'
+++// cs0619-4.cs: `Obsolete' is obsolete: `!!!'
// Line: 9
[System.Obsolete("!!!", true)]
---// cs0619.cs: 'A' is obsolete: 'Do not use it'
+++// cs0619-5.cs: `A' is obsolete: `Do not use it'
// Line: 12
using System;
---// cs0619.cs: 'A._value' is obsolete: 'Do not use it'
+++// cs0619-6.cs: `A._value' is obsolete: `Do not use it'
// Line: 9
class A {
---// cs0619.cs: 'ObsoleteIface ' is obsolete: 'Do not use it'
+++// cs0619-7.cs: `ObsoleteClass' is obsolete: `Is obsolete'
// Line: 13
using System;
---// cs0619.cs: 'ObsoleteStruct ' is obsolete: 'Obsolete struct'
+++// cs0619-8.cs: `ObsoleteStruct' is obsolete: `Obsolete struct'
// Line: 7
// Compiler options: -reference:CS0619-8-lib.dll
---// cs0619.cs: 'ObsoleteInterface' is obsolete: ''
+++// cs0619-9.cs: `ObsoleteInterface' is obsolete: `'
// Line: 11
using System;
---// cs0619.cs: 'Obsolete.MethodError()' is obsolete: 'Do not use it'
+++// cs0619.cs: `Obsolete.MethodError()' is obsolete: `Do not use it.'
// Line: 12
class Obsolete {
---// cs0621.cs: X.method virtual or abstract methods can not be private
+++// cs0621.cs: `X.method()': virtual or abstract members cannot be private
// Line:
class X {
virtual void method () {}
---// CS0625: Instance field of type marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
+++// cs0625-1.cs: `cs0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
using System;
using System.Runtime.InteropServices;
---// CS0625: Instance field of type marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
+++// cs0625.cs: `cs0625.GValue.name': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
using System;
using System.Runtime.InteropServices;
---// cs0626.cs: Method, operator, or accessor 'ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
+++// cs0626-2.cs: Method, operator, or accessor `ExternClass.ExternMethod.set' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1
---// cs0626.cs: Method, operator, or accessor 'ExternClass.implicit operator ExternClass(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
+++// cs0626-3.cs: Method, operator, or accessor `ExternClass.implicit operator ExternClass(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1
---// cs0626.cs: Method, operator, or accessor 'ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
+++// cs0626-4.cs: Method, operator, or accessor `ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1
---// cs0626.cs: Method, operator, or accessor 'ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
+++// cs0626.cs: Method, operator, or accessor `ExternClass.ExternMethod()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1
---// cs0628.cs: 'D.D()': new protected member declared in sealed class
+++// cs0628-2.cs: `D.D()': new protected member declared in sealed class
// Line: 6
// Compiler options: -warnaserror -warn:4
+++ /dev/null
---// cs0628.cs: 'B._a': new protected member declared in static class
---// Line: 6
---// Compiler options: -warnaserror -warn:4
---
---public static class B
---{
--- protected static object _a = null;
---
---}
---// cs0628.cs: 'D.a': new protected member declared in sealed class
+++// cs0628.cs: `D.a': new protected member declared in sealed class
// Line: 6
// Compiler options: -warnaserror -warn:4
---// cs0629.cs: Conditional member 'DerivedClass.Show(int)' cannot implement interface member 'IFace.Show(int)'
+++// cs0629.cs: Conditional member `DerivedClass.Show(int)' cannot implement interface member `IFace.Show(int)'
// Line: 12
interface IFace
---// cs0633.cs: The argument to the 'IndexerName' attribute must be a valid identifier
+++// cs0633-2.cs: The argument to the `IndexerName' attribute must be a valid identifier
// Line: 5
public class MonthDays {
---// cs0633.cs: The argument to the 'IndexerName' attribute must be a valid identifier
+++// cs0633.cs: The argument to the `IndexerName' attribute must be a valid identifier
// Line: 5
public class MonthDays {
---// CS0636: The 'FieldOffset' attribute is not allowed on static or const fields
+++// cs0637-2.cs: The FieldOffset attribute is not allowed on static or const fields
// Line: 10
using System;
---// CS0636: The 'FieldOffset' attribute is not allowed on static or const fields
+++// cs0637.cs: The FieldOffset attribute is not allowed on static or const fields
// Line: 10
using System;
---// cs0641.cs: Attribute 'AttributeUsage' is only valid on classes derived from System.Attribute
+++// cs0641.cs: Attribute `AttributeUsage' is only valid on classes derived from System.Attribute
// Line: 6
using System;
---// cs0644.cs: Cannot inherit from special class
+++// cs0644.cs: `X' cannot derive from special class `System.ValueType'
// Line: 3
class X : System.ValueType {
}
---// cs0645.cs: identifier too long
+++// cs0645.cs: Identifier too long (limit is 512 chars)
// Line: 3
class aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa {
}
---// cs0646.cs : Cannot specify the DefaultMember attribute on a type containing an indexer
+++// cs0646.cs: Cannot specify the `DefaultMember' attribute on type containing an indexer
// Line : 8
using System;
---// cs0647.cs: Error emitting 'MarshalAs' attribute because 'Specified unmanaged type is only valid on fields'
+++// cs0647-10.cs: Error during emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute. The reason is `Specified unmanaged type is only valid on fields'
// Line: 10
using System;
---// cs0647.cs: Error emitting 'MarshalAs' attribute because 'SizeParamIndex field is not valid for the specified unmanaged type'
+++// cs0647-11.cs: Error during emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute. The reason is `Specified unmanaged type is only valid on fields'
// Line: 10
using System;
---// cs0647.cs: Error emitting 'DllImport' attribute because 'dllName
+++// cs0647-12.cs: Error during emitting `System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is `Empty name is not legal
// Line: 8
using System.Runtime.InteropServices;
---// cs0647.cs: Error emitting 'DllImport' attribute because 'Argument cannot be null.
+++// cs0647-13.cs: Error during emitting `System.Runtime.InteropServices.DllImportAttribute' attribute. The reason is `Argument cannot be null
// Line: 8
using System.Runtime.InteropServices;
---// cs0647.cs: Error emitting 'System.Security.Permissions.FileIOPermissionAttribute' because 'System.ArgumentException was thrown during attribute processing: Absolute path information is required.'
+++// cs0647-14.cs: Error during emitting `System.Security.Permissions.FileIOPermissionAttribute' attribute. The reason is `Absolute path information is required
// Line: 9
using System;
---// cs0647.cs : Error emitting 'System.Security.Permissions.SecurityPermissionAttribute' attribute -- 'SecurityAction RequestMinimum is not valid on this declaration
+++// cs0647-2.cs: Error during emitting `System.Security.Permissions.SecurityPermissionAttribute' attribute. The reason is `SecurityAction 'Demand' is not valid for this declaration'
// Line : 10
using System;
---// cs0647.cs : Error emitting 'System.Security.Permissions.SecurityPermissionAttribute' attribute -- 'SecurityAction RequestMinimum is not valid on this declaration
+++// cs0647-3.cs: Error during emitting `System.Security.Permissions.SecurityPermissionAttribute' attribute. The reason is `SecurityAction is out of range'
// Line : 10
using System;
---// cs0647.cs : Security custom attribute 'DebugPermission' attached to invalid parent
+++// cs0647-4.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
// Line : 10
using System;
---// cs0647.cs : Security custom attribute 'DebugPermission' attached to invalid parent
+++// cs0647-5.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
// Line : 11
using System;
---// cs0647.cs : Security custom attribute 'DebugPermission' attached to invalid parent
+++// cs0647-6.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
// Line : 11
using System;
---// cs0647.cs : Security custom attribute 'DebugPermission' attached to invalid parent
+++// cs0647-7.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
// Line : 11
using System;
---// cs0647.cs : Error emitting 'PrincipalPermission' attribute because 'Invalid SecurityAction for non-Code Access Security permission'
+++// cs0647-9.cs: Error during emitting `System.Security.Permissions.PrincipalPermissionAttribute' attribute. The reason is `SecurityAction is out of range'
// Line : 10
using System;
---// cs0647: Format of GUID is invalid
+++// cs0647.cs: Error during emitting `System.Runtime.InteropServices.GuidAttribute' attribute. The reason is `Invalid format for Guid.Guid(string).'
// Line: 5
using System.Runtime.InteropServices;
---// cs0649.cs: Field `X.s' is never assigned to, and will always have its default value null
+++// cs0649.cs: Field `X.s' is never assigned to, and will always have its default value `null'
// Line: 4
// Compiler options: -warnaserror -warn:4
---// cs0650.cs: Syntax error, bad array declarator. To declare a managed array the rank specifier precedes the variable's identifier. To declare a fixed buffer field, use the fixed keyword before the field type
+++// cs0650.cs: Syntax error, bad array declarator. To declare a managed array the rank specifier precedes the variable`s identifier. To declare a fixed size buffer field, use the fixed keyword before the field type
// Line: 7
class X {
---// cs0641.cs: Cannot apply attribute class 'Abstract' because it is abstract
+++// cs0653.cs: Cannot apply attribute class `Abstract' because it is abstract
// Line: 10
using System;
---// cs0655.cs: 'd' is not a valid named attribute argument because its type is not valid attribute type
+++// cs0655-2.cs: `a' is not a valid named attribute argument because it is not a valid attribute parameter type
// Line: 11
using System;
---// cs0655.cs: 'd' is not a valid named attribute argument because its type is not valid attribute type
+++// cs0655.cs: `d' is not a valid named attribute argument because it is not a valid attribute parameter type
// Line: 11
using System;
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'field'
+++// cs0657-10.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `field'
// Line : 6
struct S
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, return'
+++// cs0657-11.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'
// Line: 14
using System;
---// cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, param, return'
+++// cs0657-12.cs: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'
// Line: 14
using System;
---// cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'property'
+++// cs0657-13.cs: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `property'
// Line: 13
using System;
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'event, field, method'
+++// cs0657-14.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event, field, method'
// Line : 8
using System;
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'event, property'
+++// cs0657-15.cs: `property' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event'
// Line : 8
using System;
class C
{
--- [param: Obsolete]
+++ [property: Obsolete]
event ResolveEventHandler field {
add {}
remove {}
}
---}
+++}
---// cs0657.cs : 'event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, param, return'
+++// cs0657-16.cs: `event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'
// Line: 14
using System;
---// cs0657.cs : 'method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'assembly, module'
+++// cs0657-17.cs: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 4
[method: System.CLSCompliant (false)]
---// cs0657.cs : 'assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'type'
+++// cs0657-18.cs: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `type'
// Line : 9
using System;
---// cs0657.cs : 'field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'event, method'
+++// cs0657-19.cs: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event, method'
// Line : 7
using System;
---// cs0657.cs : 'return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'assembly, module'
+++// cs0657-2.cs: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 7
using System;
---// cs0657.cs : 'return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'assembly, module'
+++// cs0657-3.cs: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 7
using System;
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'assembly, module'
+++// cs0657-4.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 6
using System;
---// cs0657.cs : 'assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'field'
+++// cs0657-5.cs: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `field'
// Line : 7
using System;
---// cs0657.cs : 'method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'type'
+++// cs0657-6.cs: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 4
[method: Obsolete]
---// cs0657.cs : 'method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'type, return'
+++// cs0657-7.cs: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'
// Line : 4
[method: Obsolete]
---// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'method, return'
+++// cs0657-8.cs: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'
// Line : 4
struct S
---// cs0657.cs : 'type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'param'
+++// cs0657-9.cs: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'
// Line : 13
using System;
---// cs0657.cs : 'assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'type'
+++// cs0657.cs: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `type'
// Line : 7
using System.Reflection;
---// cs0658.cs : Invalid attribute location "blah"
+++// cs0658.cs: `blah' is an invalid attribute target
// Line : 8
// Compiler options: -warnaserror -warn:1
---// cs0659.cs: 'E' overrides Object.Equals(object) but does not override Object.GetHashCode()
+++// cs0659.cs: `E' overrides Object.Equals(object) but does not override Object.GetHashCode()
// Line: 13
// Compiler options: -warnaserror -warn:3
---// cs0660.cs: 'T' defines operator == or operator != but does not override Object.Equals(object)
+++// cs0660.cs: `T' defines operator == or operator != but does not override Object.Equals(object o)
// Line: 5
// Compiler options: -warnaserror -warn:3
---// cs0661.cs: 'T' defines operator == or operator != but does not override Object.GetHashCode()
+++// cs0661.cs: `T' defines operator == or operator != but does not override Object.GetHashCode()
// Line: 5
// Compiler options: -warnaserror -warn:3
---// cs0662.cs: 'C.Test(int, ref int)' cannot specify only Out attribute on a ref parameter. Use both In and Out attributes, or neither
+++// cs0662.cs: Cannot specify only `Out' attribute on a ref parameter. Use both `In' and `Out' attributes or neither
// Line: 8
using System.Runtime.InteropServices;
class C
{
--- void Test(int i1, [Out, In2] ref int i2) {}
+++ void Test(int i1, [Out, Int] ref int i2) {}
}
---// cs0663.cs: 'Test' cannot define overloaded methods which differ only on ref and out
+++// cs0663.cs: `WrongInterface.Test(ref int)': Methods cannot differ only on their use of ref and out on a parameters
// Line: 6
public interface WrongInterface {
---// cs0664.cs: Literal of type double cannot be implicitly converted to type 'decimal'. Add suffix 'm' to create a literal of this type
+++// cs0664-2.cs: Literal of type double cannot be implicitly converted to type `decimal'. Add suffix `m' to create a literal of this type
// Line: 7
class X {
---// cs0664.cs: Literal of type double cannot be implicity converted to Float, use F suffix
+++// cs0664.cs: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type
// Line: 6
class X {
void A ()
---// cs0666: member declaration in struct class
+++// cs0666.cs: `X.A': new protected member declared in struct
// Line: 4
struct X {
protected int A;
---// cs0668.cs: Two indexers have different names; the 'IndexerName' attribute must be used with the same name on every indexer within a type across the board.
+++// cs0668-2.cs: Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
// Line: 11
using System.Runtime.CompilerServices;
---// cs0668.cs: Two indexers have different names, they should have the same name across the board.
+++// cs0668.cs: Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
// Line:
using System.Runtime.CompilerServices;
---// cs0670.cs: void type is not allowed for fields
+++// cs0670.cs: Fields cannot have void type
// Line: 5
class X {
---// cs0672.cs: Member 'C.Method()' overrides obsolete member 'BaseClass.Method()'. Add the Obsolete attribute to 'C.Method()'
+++// cs0672-2.cs: Member `C.Method()' overrides obsolete member `BaseClass.Method()'. Add the Obsolete attribute to `C.Method()'
// Line: 14
// Compiler options: -warnaserror
---// cs0672.cs: Member 'B.Warning' overrides obsolete member 'A.Warning'. Add the Obsolete attribute to 'B.Warning'
+++// cs0672-3.cs: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning'
// Line: 15
// Compiler options: -warnaserror
---// cs0672.cs: Member 'B.Test(string)' overrides obsolete member 'A.Test(string)'. Add the Obsolete attribute to 'B.Test(string)'
+++// cs0672.cs: Member `B.Test(string)' overrides obsolete member `A.Test(string)'. Add the Obsolete attribute to `B.Test(string)'
// Line: 15
// Compiler options: -warnaserror
---// cs0673.cs: System.Void cannot be used from C# -- use typeof (void) to get the void type object.
+++// cs0673.cs: System.Void cannot be used from C#. Use typeof (void) to get the void type object
// Line: 8
public class X
---// cs0674.cs: Do not use 'System.ParamArrayAttribute'. Use the 'params' keyword instead
+++// cs0674.cs: Do not use `System.ParamArrayAttribute'. Use the `params' keyword instead
// Line: 8
using System;
---// cs0677.cs: X.a volatile field can not be of type "A"
+++// cs0677.cs: `X.a': A volatile field cannot be of the type `A'
// Line: 8
using System;
---// cs0678.cs: A field can not be both volatile and readonly
+++// cs0678.cs: `X.j': A field cannot be both volatile and readonly
// Line: 5
class X {
---// cs0683.cs: 'C.I.set_Foo(int)' explicit method implementation cannot implement 'I.Foo.set' because it is an accessor
+++// cs0683.cs: `C.I.set_Foo(int)' explicit method implementation cannot implement `I.Foo' because it is an accessor
// Line: 11
interface I
---// cs0685.cs: Conditional method 'MainClass.Method(out int)' cannot have an out parameter
+++// cs0685.cs: Conditional method `MainClass.Method(out int)' cannot have an out parameter
// Line: 6
class MainClass {
---// cs0686.cs: Accessor 'C.Method.get' cannot implement interface member 'I.get_Method()' for type 'C'. Use an explicit interface implementation.
+++// cs0686.cs: Accessor `C.Method.get' cannot implement interface member `I.get_Method()' for type `C'. Use an explicit interface implementation
// Line: 13
interface I
---// cs0708.cs: 'StaticClass.i': cannot declare instance members in a static class
+++// cs0708.cs: `StaticClass.i': cannot declare instance members in a static class
// Line: 5
static class StaticClass {
---// cs0709.cs: 'NewClass': Cannot derive from static class 'StaticClass'
+++// cs0709.cs: `NewClass': Cannot derive from static class `StaticClass'
// Line: 7
static class StaticClass {
---// cs0710.cs: Static classes cannot have instance constructors
+++// cs0710.cs: `StaticClass': Static classes cannot have instance constructors
// Line: 5
static class StaticClass {
---// cs0711.cs: Static classes cannot contain destructors
+++// cs0711.cs: `StaticClass': Static classes cannot contain destructor
// Line: 5
static class StaticClass {
---// cs0712.cs: Cannot create an instance of the static class 'StaticClass'
+++// cs0712.cs: Cannot create an instance of the static class `StaticClass'
// Line: 10
static class StaticClass {
---// cs0713.cs: Static class 'StaticClass' cannot derive from type 'System.ArgumentException'. Static classes must derive from object
+++// cs0713.cs: Static class `StaticClass' cannot derive from type `System.ArgumentException'. Static classes must derive from object
// Line: 4
static class StaticClass: System.ArgumentException {
---// cs0714.cs: 'StaticClass': static classes cannot implement interfaces
+++// cs0714.cs: `StaticClass': static classes cannot implement interfaces
// Line: 4
static class StaticClass: System.IComparable {
---// cs0715.cs: 'StaticClass.implicit operator StaticClass(int)': static classes cannot contain user-defined operators
+++// cs0715.cs: `StaticClass.implicit operator StaticClass(int)': static classes cannot contain user-defined operators
// Line: 5
static class StaticClass {
---// cs0716.cs: Cannot convert to static type 'StaticClass'
+++// cs0716.cs: Cannot convert to static type `StaticClass'
// Line: 10
static class StaticClass {
---// cs0719.cs: 'StaticClass': array elements cannot be of static type
+++// cs0719.cs: `StaticClass': array elements cannot be of static type
// Line: 10
static class StaticClass {
---// cs0720.cs: 'StaticClass.this[int]': cannot declare indexers in a static class
+++// cs0720.cs: `StaticClass.this[int]': cannot declare indexers in a static class
// Line: 5
static class StaticClass {
---// cs0721.cs: 'StaticClass': static types cannot be used as parameters
+++// cs0721.cs: `StaticClass': static types cannot be used as parameters
// Line: 8
static class StaticClass {
---// cs0722.cs: 'StaticClass': static types cannot be used as return types
+++// cs0722-2.cs: `StaticClass': static types cannot be used as return types
// Line: 8
static class StaticClass {
---// cs0722.cs: 'StaticClass': static types cannot be used as return types
+++// cs0722.cs: `StaticClass': static types cannot be used as return types
// Line: 8
static class StaticClass {
---// cs0723.cs: Cannot declare variable of static type 'StaticClass'
+++// cs0723.cs: Cannot declare variable of static type `StaticClass'
// Line: 10
static class StaticClass {
---// cs1002.cs: ; expected
+++// cs1002.cs: Expecting `;'
// Line: 8
class T {
---// CS1004: Duplicate 'public' modifier
+++// cs1004.cs: Duplicate `public' modifier
// Line: 4
public public class C
{
}
+++
---// CS1008: Type byte, sbyte, short, ushort, int, uint, long, or ulong expected (got: `System.Int16')
+++// cs1008-2.cs: Type byte, sbyte, short, ushort, int, uint, long or ulong expected
// Line: 3
enum Test : System.Int16
{
---// cs1008.cs : Type byte, sbyte, short, ushort, int, uint, long, or ulong expected
+++// cs1008.cs: Type byte, sbyte, short, ushort, int, uint, long or ulong expected
// Line : 7
public class Blah {
---// cs1009.cs: Unrecognized escape sequence
+++// cs1009.cs: Unrecognized escape sequence `\i'
// Line : 6
class X
---// cs1023.cs: an embedded statement cannot be a declaration or a labeled statement.
+++// cs1023.cs: An embedded statement may not be a declaration or labeled statement
// line: 9
class Test
---// cs1024.cs: Preprocessor directive expected
+++// cs1024.cs: Wrong preprocessor directive
// Line: 4
#wrong_directive
---// cs1026.cs: expecting (
+++// cs1026.cs: Expected `,' or `)'
// Line: 6
class X{
static void Main ()
---// cs1027.cs: #endif directive expected
+++// cs1027.cs: Expected `#endif' directive
// Line: 6
#if false
---// cs1030.cs: #warning 'Expected error'
+++// cs1030.cs: #warning: `Expected warning'
// Line: 4
// Compiler options: -warnaserror
---// cs1032: tokens seen before define
+++// cs1032.cs: Cannot define or undefine preprocessor symbols after first token in file
// Line: 4
class X {
#define A
static void Main () {
}
}
+++
---// cs1039.cs : Unterminated string constant
+++// cs1039.cs: Unterminated string literal
// Line : 6
class X
---// error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line.
+++// cs1040-2.cs: Preprocessor directives must appear as the first non-whitespace character on a line
// Line: 2
// Compiler Options: -t:library
---// cs1041.cs: Identifier expected, 'int' is a keyword
+++// cs1041.cs: Identifier expected: `int' is a keyword
// Line: 5
public class Test {
--- /dev/null
--- /dev/null
--- /dev/null
+++// cs1501-10.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 ()
+++ {
+++ }
+++}
---// cs1501: no match for this argument list
+++// cs1501-2.cs: No overload for method `X' takes `0' arguments
// Line: 11
class X {
---// CS1501: No overload for method 'X' takes '2' arguments
+++// cs1501-3.cs: No overload for method `X' takes `2' arguments
public struct X {
public X(int i) { }
---// cs1501.cs: No overload for method 'IndexerNameAttribute' takes '4' arguments
+++// cs1501-6.cs: No overload for method `System.Runtime.CompilerServices.IndexerNameAttribute' takes `4' arguments
// Line: 5
class MainClass {
---// cs1501.cs: New invocation: Can not find a constructor in `A' for this argument list
+++// cs1501-7.cs: No overload for method `A' takes `1' arguments
// Line: 6
public class A {
---// cs0143: Can't find the constructor for a determinated class.
+++// cs1501-8.cs: No overload for method `cs0143Test.A' takes `2' arguments
// Line: 11
namespace cs0143Test
---// cs1501.cs: No overload for method `System.CLSCompliantAttribute' takes `0' arguments
+++// cs1501-9.cs: No overload for method `System.CLSCompliantAttribute' takes `0' arguments
// Line: 6
using System;
---// CS1502: This should not compile as void can't be converted to bool
+++// cs1502-2.cs: The best overloaded method match for `System.Console.WriteLine(bool)' has some invalid arguments
// Line: 10
using System;
---// cs1502-3.cs: The best overloaded match for method 'void T.Blah (out int&)' has some invalid arguments
+++// cs1502-3.cs: The best overloaded method match for `T.Blah(out int)' has some invalid arguments
// Line: 11
using System;
---// cs1502.cs: The method has incorrect arguments, passing out to something expecting ref
+++// cs1502.cs: The best overloaded method match for `X.foo(ref int)' has some invalid arguments
// Line: 8
class X {
public void foo (ref int blah) {}
---// cs1510-2.cs: an lvalue is required for ref or out argument
+++// cs1510-2.cs: A ref or out argument must be an assignable variable
// Line: 14
// this is bug #56016
---// error CS1510: An lvalue is required as an argument to out or ref
+++// cs1510-3.cs: A ref or out argument must be an assignable variable
// Line: 19
// this is bug #70402
---// cs1510: an lvalue is required for ref or out argument
+++// cs1510.cs: A ref or out argument must be an assignable variable
// Line: 11
class X {
public static void m (ref int i)
---// cs1511.cs: Base modifier not allowed in static code
+++// cs1511.cs: Keyword `base' is not available in a static method
// Line:
class Y {
---// cs1512.cs: Keyword 'base' is not available in the current context
+++// cs1512.cs: Keyword `base' is not available in the current context
// Line: 11
class Base
---// cs1517.cs: Invalid preprocessor expression
+++// cs1517.cs: Invalid preprocessor directive
// Line: 4
#if 8
#endif
+++
---// cs1523: case or default must precede code in switch statement
+++// cs1523.cs: The keyword case or default must precede code in switch block
// Line: 11
class X {
---// cs1524.cs: expected catch or finally
+++// cs1524.cs: Expected catch or finally
// Line: 12
namespace Test {
---// cs1526: new expression requires () or [] after type
+++// cs1526.cs: A new expression requires () or [] after type
// Line: 6
class X {
static void Main ()
---// cs1527.cs: Namespace elements cannot be explicitly declared as private, protected, or protected internal
+++// cs1527-2.cs: Namespace elements cannot be explicitly declared as private, protected or protected internal
// Line: 4
protected interface IFoo {
---// cs1527.cs: Namespace elements cannot be explicitly declared as private, protected, or protected internal
+++// cs1527-3.cs: Namespace elements cannot be explicitly declared as private, protected or protected internal
// Line: 4
protected internal enum E {
---// cs1527.cs: namespace elements cant explicitly be declared protected or private
+++// cs1527.cs: Namespace elements cannot be explicitly declared as private, protected or protected internal
// Line:
private class X {
}
---// cs1529.cs: Using clause must precede all other namespace elements
+++// cs1529.cs: A using clause must precede all other namespace elements except extern alias declarations
// Line: 4
class X { }
using System;
---// cs1530.cs: Keyword new not allowed on namespace elements
+++// cs1530-2.cs: Keyword `new' is not allowed on namespace elements
// Line: 8
class Base
---// cs1530.cs: Keyword new not allowed on namespace elements
+++// cs1530.cs: Keyword `new' is not allowed on namespace elements
// Line: 5
namespace A {
---// cs01534.cs: Overloaded binary operator '*' takes two parameters
+++// cs1534.cs: Overloaded binary operator `*' takes two parameters
// Line: 6
class C
---// cs01535.cs: Overloaded unary operator '--' takes one parameter
+++// cs1535.cs: Overloaded unary operator `--' takes one parameter
// Line: 6
class C
---// cs1537: The using alias 'A' appeared previously in this namespace
+++// cs1537.cs: The using alias `A' appeared previously in this namespace
// Line: 7
using A = System;
---// cs1540.cs: Cannot access protected member `A.n' via a qualifier of type `A'; the qualifier must be of type `B' (or derived from it)
+++// cs1540-4.cs: Cannot access protected member `A.n()' via a qualifier of type `A'; the qualifier must be of type `B' (or derived from it)
// Line: 14
class A
---// cs1540.cs: Cannot access protected member `A.A' via a qualifier of type `A'; the qualifier must be of type `B' (or derived from it)
+++// cs1540-6.cs: Cannot access protected member `A.A(A)' via a qualifier of type `A'; the qualifier must be of type `B' (or derived from it)
// Line: 25
public class A {
---// cs1548: Error while signing the assembly (invalid strongname file)
+++// cs1548-2.cs: Error during assembly signing. The speficied file `cs1548-2.cs' does not have a private key
// Line: 6
using System.Reflection;
---// cs1548: Missing private key in strongname file
+++// cs1548-3.cs: Error during assembly signing. The speficied file `cs1548.pub' does not have a private key
// Line: 6
using System.Reflection;
---// cs1548: Error while signing the assembly (file not found)
+++// cs1548.cs: Error during assembly signing. The speficied file `file_not_found.snk' does not exist
// Line: 6
using System.Reflection;
---// cs1555.cs: Could not find 'DoesNotExist' specified for Main method
+++// cs1555.cs: Could not find `DoesNotExist' specified for Main method
// Line: 0
// Compiler options: -main:DoesNotExist
---// cs1555.cs: 'MainTest' specified for Main method must be a valid class or struct
+++// cs1555.cs: `MainTest' specified for Main method must be a valid class or struct
// Line: 0
// Compiler options: -main:MainTest
---// CS1558: 'MainClass' does not have a suitable static Main method
+++// CS1558: `MainClass' does not have a suitable static Main method
// Line: 5
// Compiler options: -main:MainClass
---// cs1570.cs: XML comment on 'F:Testing.Test.PrivateField2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-10.cs: XML comment on `F:Testing.Test.PrivateField2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 23
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'P:Testing.Test.PublicProperty2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-11.cs: XML comment on `P:Testing.Test.PublicProperty2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 32
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.Test2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-2.cs: XML comment on `T:Testing.Test2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 22
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.StructTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-3.cs: XML comment on `T:Testing.StructTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.InterfaceTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-4.cs: XML comment on `T:Testing.InterfaceTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.EnumTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-5.cs: XML comment on `T:Testing.EnumTest2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 17
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.MyDelegate2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570-6.cs: XML comment on `T:Testing.MyDelegate2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 17
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.Test2' has non-well-formed XML (a name did not start with a legal character 54 (6) Line 1, position 3.).
+++// cs1570-7.cs: XML comment on `T:Testing.Test2' has non-well-formed XML (a name did not start with a legal character 54 (6) Line 1, position 3.)
// Line: 18
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'F:Testing.Test.Constant2' has non-well-formed XML (unmatched closing element: expected summary but found invalid Line 3, position 10.).
+++// cs1570-8.cs: XML comment on `F:Testing.Test.Constant2' has non-well-formed XML (unmatched closing element: expected summary but found invalid Line 3, position 10.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'F:Testing.Test.PublicField2' has non-well-formed XML (unmatched closing element: expected summary but found invalid Line 3, position 10.).
+++// cs1570-9.cs: XML comment on `F:Testing.Test.PublicField2' has non-well-formed XML (unmatched closing element: expected summary but found invalid Line 3, position 10.)
// Line: 19
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1570.cs: XML comment on 'T:Testing.Test2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.).
+++// cs1570.cs: XML comment on `T:Testing.Test2' has non-well-formed XML (unmatched closing element: expected summary but found incorrect Line 3, position 12.)
// Line: 22
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1571.cs: XML comment on 'Bar' has a duplicate param tag for 'i'
+++// cs1571.cs: XML comment on `Testing.Test.Bar(int)' has a duplicate param tag for `i'
// Line: 18
// Compiler options: -doc:dummy.xml -warn:2 -warnaserror
---// cs1572.cs: XML comment on 'Baz' has a 'param' tag for 'mismatch', but there is no such parameter.
+++// cs1572.cs: XML comment on `Testing.Test.Baz(int)' has a param tag for `mismatch', but there is no parameter by that name
// Line: 10
// Compiler options: -doc:dummy.xml -warn:2 -warnaserror
---// cs1573.cs: Parameter 'Baz' has no matching param tag in the XML comment for 'j' (but other parameters do)
+++// cs1573.cs: Parameter `j' has no matching param tag in the XML comment for `Testing.Test.Baz(int, int)'
// Line: 10
// Compiler options: -doc:dummy.xml -warn:4 -warnaserror
---// cs1574.cs: XML comment on 'Test' has cref attribute 'Method(System.String)' that could not be resolved in 'Test'.
+++// cs1574-2.cs: XML comment on `Test' has cref attribute `Method(System.String)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1574.cs: XML comment on 'Test' has cref attribute 'Test.Foo(int)' that could not be resolved in 'Test'.
+++// cs1574-3.cs: XML comment on `Test' has cref attribute `Test.Foo(int)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1574.cs: XML comment on 'Test' has cref attribute 'System.Xml.XmlDocument' that could not be resolved in 'Test'.
+++// cs1574-4.cs: XML comment on `Test' has cref attribute `System.Xml.XmlDocument' that could not be resolved
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -noconfig
---// cs1574.cs: XML comment on 'Test' has cref attribute 'Goo' that could not be resolved in 'Test'.
+++// cs1574-5.cs: XML comment on `Test' has cref attribute `Goo' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1574.cs: XML comment on 'Test' has cref attribute 'MyDelegate(int)' that could not be resolved in 'Test'.
+++// cs1574-6.cs: XML comment on `Test' has cref attribute `MyDelegate(int)' that could not be resolved
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1574.cs: XML comment on 'Test' has cref attribute 'explicit operator int (bool)' that could not be resolved in 'Test'.
+++// cs1574.cs: XML comment on `Test' has cref attribute `explicit operator int (bool)' that could not be resolved
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1579.cs: foreach statement cannot operate on variables of type 'Foo' because 'Foo' does not contain a public definition for 'GetEnumerator'
+++// cs1579-2.cs: foreach statement cannot operate on variables of type `Foo' because it does not contain a definition for `GetEnumerator' or is not accessible
// Line: 12
using System;
---// cs1579.cs: foreach statement cannot operate on variables of type X because X does not contain a definition for GetEnumerator or is not accessible
+++// cs1579.cs: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is not accessible
// Line: 10
class X {
}
---// cs1580.cs: Invalid type for parameter '1' in XML comment cref attribute 'Method(x,y)'
+++// cs1580-2.cs: Invalid type for parameter `1' in XML comment cref attribute `Method(x,y)'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1580.cs: Invalid type for parameter '1' in XML comment cref attribute 'Foo(x)'
+++// cs1580.cs: Invalid type for parameter `1' in XML comment cref attribute `Foo(x)'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1581.cs: Invalid return type in XML comment cref attribute 'explicit operator int (Test)'
+++// cs1581-2.cs: Invalid return type in XML comment cref attribute `explicit operator int (Test)'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1581.cs: Invalid return type in XML comment cref attribute 'explicit operator intp (Test)'
+++// cs1581.cs: Invalid return type in XML comment cref attribute `explicit operator intp (Test)'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1584.cs: XML comment on 'Test' has syntactically incorrect attribute ''
+++// cs1584-2.cs: XML comment on `Test' has syntactically incorrect cref attribute `'
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1584.cs: XML comment on 'Test' has syntactically incorrect attribute '.'
+++// cs1584-3.cs: XML comment on `Test' has syntactically incorrect cref attribute `.'
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1584.cs: XML comment on 'Test' has syntactically incorrect attribute 'Mai()n'
+++// cs1584-4.cs: XML comment on `Test' has syntactically incorrect cref attribute `Mai()n'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1584.cs: XML comment on 'Test' has syntactically incorrect attribute 'operator foo(int,Test)'
+++// cs1584.cs: XML comment on `Test' has syntactically incorrect cref attribute `operator foo(int,Test)'
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:1
---// cs1585: Modifier `static' should appear before type
+++// cs1585.cs: Member modifier `static' must precede the member type and name
// Line: 7
using System;
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-10.cs: XML comment is not placed on a valid language element
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-11.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-12.cs: XML comment is not placed on a valid language element
// Line: 10
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-13.cs: XML comment is not placed on a valid language element
// Line: 15
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-14.cs: XML comment is not placed on a valid language element
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-15.cs: XML comment is not placed on a valid language element
// Line: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-16.cs: XML comment is not placed on a valid language element
// Line: 15
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-17.cs: XML comment is not placed on a valid language element
// Line: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-18.cs: XML comment is not placed on a valid language element
// Line: 13
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-19.cs: XML comment is not placed on a valid language element
// Line: 13
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-2.cs: XML comment is not placed on a valid language element
// Line: 6
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-20.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-21.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-22.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-23.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-24.cs: XML comment is not placed on a valid language element
// Line: 13
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-25.cs: XML comment is not placed on a valid language element
// Line: 13
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-26.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-27.cs: XML comment is not placed on a valid language element
// Line: 11
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-28.cs: XML comment is not placed on a valid language element
// Line: 16
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-3.cs: XML comment is not placed on a valid language element
// Line: 7
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-4.cs: XML comment is not placed on a valid language element
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-5.cs: XML comment is not placed on a valid language element
// Line: 10
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-6.cs: XML comment is not placed on a valid language element
// Line: 8
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-7.cs: XML comment is not placed on a valid language element
// Line: 10
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-8.cs: XML comment is not placed on a valid language element
// Line: 10
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587-9.cs: XML comment is not placed on a valid language element
// Line: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
+++// cs1587.cs: XML comment is not placed on a valid language element
// Line: 6
// Compiler options: -doc:dummy.xml -warnaserror -warn:2
---// cs1589.cs: Unable to include XML fragment '/root/@attr' of file cs1589.inc -- Cannot insert specified type of node as a child of this node..
+++// cs1589.cs: Unable to include XML fragment `/root/@attr' of file `cs1589.inc' (Cannot insert specified type of node as a child of this node.)
// Line: 15
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1590.cs: Invalid XML 'include' element; Missing 'path' attribute.
+++// cs1590-2.cs: Invalid XML `include' element. Missing `path' attribute
// Line: 11
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1590.cs: Invalid XML 'include' element; Missing 'file' attribute.
+++// cs1590-3.cs: Invalid XML `include' element. Missing `file' attribute
// Line: 16
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1590.cs: Invalid XML 'include' element; Missing 'file' attribute.
+++// cs1590.cs: Invalid XML `include' element. Missing `file' attribute
// Line: 8
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.Foo()'
+++// cs1591-10.cs: Missing XML comment for publicly visible type or member `Testing.Test.Foo()'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.IFoo.Foo()'
+++// cs1591-11.cs: Missing XML comment for publicly visible type or member `Testing.IFoo.Foo()'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.IFoo.Foo'
+++// cs1591-12.cs: Missing XML comment for publicly visible type or member `Testing.IFoo.Foo'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.this[ int]'
+++// cs1591-13.cs: Missing XML comment for publicly visible type or member `Testing.Test.this[int]'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'bool operator !(Testing.Test)'
+++// cs1591-14.cs: Missing XML comment for publicly visible type or member `Testing.Test.operator !(Testing.Test)'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.Test()'
+++// cs1591-15.cs: Missing XML comment for publicly visible type or member `Testing.Test.Test()'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.Finalize()'
+++// cs1591-16.cs: Missing XML comment for publicly visible type or member `Testing.Test.~Test()'
// Line: 16
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.InternalClass'
+++// cs1591-17.cs: Missing XML comment for publicly visible type or member `Testing.Test.InternalClass'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.InternalStruct'
+++// cs1591-18.cs: Missing XML comment for publicly visible type or member `Testing.Test.InternalStruct'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.InterfaceTest'
+++// cs1591-2.cs: Missing XML comment for publicly visible type or member `Testing.InterfaceTest'
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Foo'
+++// cs1591-3.cs: Missing XML comment for publicly visible type or member `Testing.Foo'
// Line: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Foo.Foo'
+++// cs1591-4.cs: Missing XML comment for publicly visible type or member `Testing.Foo.Foo'
// Line: 12
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.MyDelegate'
+++// cs1591-5.cs: Missing XML comment for publicly visible type or member `Testing.MyDelegate'
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.Constant'
+++// cs1591-6.cs: Missing XML comment for publicly visible type or member `Testing.Test.Constant'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.PublicField'
+++// cs1591-7.cs: Missing XML comment for publicly visible type or member `Testing.Test.PublicField'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.PublicProperty'
+++// cs1591-8.cs: Missing XML comment for publicly visible type or member `Testing.Test.PublicProperty'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.Test.MyEvent'
+++// cs1591-9.cs: Missing XML comment for publicly visible type or member `Testing.Test.MyEvent'
// Line: 14
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1591.cs: Missing XML comment for publicly visible type or member 'Testing.TestClass'
+++// cs1591.cs: Missing XML comment for publicly visible type or member `Testing.TestClass'
// Line: 9
// Compiler options: -doc:dummy.xml -warnaserror -warn:4
---// cs1592.cs: Badly formed XML in included comments file -- 'there-is-no-such-file'
+++// cs1592.cs: Badly formed XML in included comments file -- `there-is-no-such-file'
// Line: 12
// Compiler options: -doc:dummy.xml -warn:1 -warnaserror
---// cs1593: Using different kind of signatures for delegate invocation.
+++// cs1593-2.cs: Delegate `D' does not take `0' arguments
// Line: 11
//
// The delegate has an explicit signature with 0 arguments, so it
---// cs1593.cs : Delegate 'Blah.MyDelegate' does not take '1' arguments
+++// cs1593.cs: Delegate `Blah.MyDelegate' does not take `1' arguments
// Line : 21
using System;
---// cs1594.cs: Delegate 'Test.Foo' has some invalid arguments.
+++// cs1594-1.cs: Delegate `Test.Foo' has some invalid arguments
// Line: 10
namespace Test {
---// cs1594.cs: Delegate 'Test.Foo' has some invalid arguments.
+++// cs1594-2.cs: Delegate `Test.Foo' has some invalid arguments
// Line: 10
namespace Test {
---// cs1594.cs: Delegate 'Test.Foo' has some invalid arguments.
+++// cs1594-3.cs: Delegate `Test.Foo' has some invalid arguments
// Line: 10
namespace Test {
---// cs1594.cs : Delegate 'Blah.MyDelegate' has some invalid arguments.
+++// cs1594.cs: Delegate `Blah.MyDelegate' has some invalid arguments
// Line : 21
using System;
---// CS1599: Method or delegate cannot return type 'System.ArgIterator'
+++// cs1599-2.cs: Method or delegate cannot return type `System.ArgIterator'
// Line: 8
using System;
---// CS1599: Method or delegate cannot return type 'System.ArgIterator'
+++// cs1599-3.cs: Method or delegate cannot return type `System.ArgIterator'
// Line: 8
using System;
---// CS1599: Method or delegate cannot return type 'System.TypedReference'
+++// cs1599.cs: Method or delegate cannot return type `System.TypedReference'
// Line: 8
using System;
---// cs1601.cs: ArgIterator and TypedReference are invalid as ref/out arguments
+++// cs1601-2.cs: Method or delegate parameter cannot be of type `ref System.ArgIterator'
//
using System;
---// cs1601.cs: ArgIterator and TypedReference are invalid as ref/out arguments
+++// cs1601.cs: Method or delegate parameter cannot be of type `ref System.TypedReference'
//
using System;
---// cs1606: Couldn't strongname the assembly. ECMA key can only be used to delay-sign assemblies.
+++// cs1606.cs: Could not sign the assembly. ECMA key can only be used to delay-sign assemblies
// Line: 6
using System.Reflection;
---// cs1612.cs: Cannot modify expression because it is not a variable.
+++// cs1612-2.cs: Cannot modify the return value of `X.P' because it is not a variable
// Line: 9
using System;
---// cs1612.cs: Cannot modify expression because it is not a variable.
+++// cs1612.cs: Cannot modify the return value of `X.P' because it is not a variable
// Line: 9
using System;
---// cs1614.cs: 'A': is ambiguous; use either '@A' or 'AAttribute'
+++// cs1614.cs: `A' is ambiguous between `A' and `AAttribute'. Use either `@A' or `AAttribute'
// Line: 6
// Bug #56456
---// CS1615: Argument '1' should not be passed with the 'ref' keyword
+++// cs1615.cs: Argument `1' should not be passed with the `ref' keyword
// Line: 11
class C
---// cs1616.cs: Option 'keycontainer' overrides 'System.Reflection.AssemblyKeyNameAttribute' given in source
+++// cs1616-2.cs: Option `keycontainer' overrides attribute `System.Reflection.AssemblyKeyNameAttribute' given in a source file or added module
// Line: 0
// Compiler options: -keycontainer:CS1616.snk -warnaserror
---// cs1616.cs: Option 'keyfile' overrides 'System.Reflection.AssemblyKeyFileAttribute' given in source
+++// cs1616.cs: Option `keyfile' overrides attribute `System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module
// Line: 0
// Compiler options: -keyfile:CS1616.snk -warnaserror
---// cs1617.cs: Invalid option 'ISO' for /langversion; must be ISO-1 or Default
+++// cs1617.cs: Invalid option `ISO' for /langversion. It must be either `ISO-1' or `Default'
// Line: 0
// Compiler options: -langversion:ISO
---// cs1618: Cannot create delegate with 'System.Diagnostics.Debug.Assert(bool)' because it has a Conditional attribute
+++// cs1618-2.cs: Cannot create delegate with `System.Diagnostics.Debug.Assert(bool)' because it has a Conditional attribute
// Line: 8
namespace Foo {
---// cs1618.cs: Cannot create delegate with 'TestClass.Show(int)' because it has a Conditional attribute
+++// cs1618.cs: Cannot create delegate with `TestClass.Show(int)' because it has a Conditional attribute
// Line: 13
class TestClass
---// CS1620: Argument '1' must be passed with the 'out' keyword
+++// cs1620.cs: Argument `1' must be passed with the `out' keyword
// Line: 13
class C
---// cs1622.cs: Return not allowed in iterator method
+++// cs1622.cs: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 11
using System.Collections;
---// CS1624: The body of `Test' cannot be an iterator block because 'System.Collections.ArrayList' is not an iterator interface type
+++// cs1624.cs: The body of `X.Test(int)' cannot be an iterator block because `System.Collections.ArrayList' is not an iterator interface type
// Line: 8
using System;
using System.Collections;
---// cs1628: Can not access `ref' or `out' parameters in an anonymous method
+++// cs1628.cs: Cannot use ref or out parameter `a' inside an anonymous method block
// Line: 15
using System;
---// CS1631: Cannot yield in the body of a catch clause
+++// cs1631.cs: Cannot yield a value in the body of a catch clause
// Line: 13
using System;
using System.Collections;
---// cs1632.cs: Control cannot leave body of anonymous method
+++// cs1632.cs: Control cannot leave the body of an anonymous method
// Line: 12
using System;
---// cs1642.cs: Fixed buffer fields may only be members of structs
+++// cs1642.cs: `C.test_1': Fixed size buffer fields may only be members of structs
// Line: 7
// Compiler options: -unsafe
---// cs1643.cs: Not all code paths return a value in anonymous method
+++// cs1643.cs: Not all code paths return a value in anonymous method of type `X.T'
// Line: 12
using System;
};
}
}
---
---
---// cs1644.cs: Feature 'access modifiers on properties' cannot be used because it is not part of the standardized ISO C# language specification
+++// cs1644-2.cs: Feature `access modifiers on properties' cannot be used because it is not part of the standardized ISO C# language specification
// Line: 13
// Compiler options: -langversion:ISO-1
---// cs1644.cs: Feature 'fixed sized buffers' cannot be used because it is not part of the standardized ISO C# language specificatio
+++// cs1644-3.cs: Feature `fixed size buffers' cannot be used because it is not part of the standardized ISO C# language specification
// Line: 6
// Compiler options: -langversion:ISO-1
---// cs1644.cs: Feature 'static classes' cannot be used because it is not part of the standardized ISO C# language specification
+++// cs1644.cs: Feature `static classes' cannot be used because it is not part of the standardized ISO C# language specification
// Line: 5
// Compiler options: -langversion:ISO-1
---// cs1648.cs: Members of readonly field 'C.s' cannot be assigned to (except in a constructor or a variable initializer)
+++// cs1648.cs: Members of readonly field `C.s' cannot be modified (except in a constructor or a variable initializer)
// Line: 13
struct S {
---// cs1649.cs: Members of readonly field 'B.a' cannot be passed ref or out (except in a constructor)
+++// cs1649.cs: Members of readonly field `B.a' cannot be passed ref or out (except in a constructor)
// Line: 13
class B
---// cs1650.cs: Fields of static readonly field 'C.s' cannot be assigned to (except in a static constructor or a variable initializer)
+++// cs1650.cs: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
// Line: 14
using System;
Console.WriteLine(s.x);
}
}
+++
---// cs1651.cs: Members of readonly static field 'B.a' cannot be passed ref or out (except in a constructor)
+++// cs1651.cs: Fields of static readonly field `B.a' cannot be passed ref or out (except in a static constructor)
// Line: 23
class B
---// cs1656.cs: Cannot assign to 'p' because it is a 'fixed variable'
+++// cs1656-2.cs: Cannot assign to `p' because it is a `fixed variable'
// line: 10
// Compiler options: -unsafe
---// cs1656.cs: Cannot assign to 'i' because it is a 'foreach iteration variable'
+++// cs1656-3.cs: Cannot assign to `i' because it is a `foreach iteration variable'
// line: 9
class X {
---// cs1656.cs: Cannot assign to 'm' because it is a 'using variable'
+++// cs1656.cs: Cannot assign to `m' because it is a `using variable'
// line: 10
using System.IO;
---// cs1657.cs: Cannot pass 'm' as a ref or out argument because it is a 'using variable'
+++// cs1657-2.cs: Cannot pass `m' as a ref or out argument because it is a `using variable'
// Line: 11
using System.IO;
---// cs1657.cs: Cannot pass 'i' as a ref or out argument because it is a 'foreach iteration variable'
+++// cs1657.cs: Cannot pass `i' as a ref or out argument because it is a `foreach iteration variable'
// Line: 9
class E
---// cs1660.cs: Cannot convert anonymous method to `int', since it is not a delegate
+++// cs1660-2.cs: Cannot convert anonymous method block to type `int' because it is not a delegate type
// Line: 9
using System;
---// cs1660.cs: Cannot convert anonymous method to `object', since it is not a delegate
+++// cs1660.cs: Cannot convert anonymous method block to type `object' because it is not a delegate type
// Line: 9
using System;
---// cs1662: Can not convert the anonymous method, as the returned value does not match the return type of the delegate
+++// cs1662.cs: Cannot convert anonymous method block to delegate type `D' because some of the return types in the block are not implicitly convertible to the delegate return type
// Line: 11
//
// Return type mismatch.
---// cs1663.cs: Fixed sized buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double
+++// cs1663.cs: `S.test': Fixed size buffers type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double
// Line: 6
public struct S
---// cs1642.cs: Fixed sized buffer of length '1073741825' and type 'long' is too big
+++// cs1664.cs: Fixed size buffer `C.test_1' of length `1073741825' and type `long' exceeded 2^31 limit
// Line: 7
// Compiler options: -unsafe
---// cs1665.cs: Fixed sized buffer 'S.test20' must have a length greater than zero
+++// cs1665.cs: `S.test20': Fixed size buffers must have a length greater than zero
// Line: 7
// Compiler options: -unsafe
---// cs1667.cs: 'System.Obsolete' is not valid on property or event accessors. It is valid on 'class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only.
+++// cs1667-2.cs: Attribute `System.ObsoleteAttribute' is not valid on property or event accessors. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only
// Line: 14
class Test {
---// cs1667.cs: Attribute 'Conditional' is not valid on property or event accessors. It is valid on 'class, method' declarations only.
+++// cs1667-3.cs: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `method' declarations only
// Line: 10
using System;
---// cs1667.cs: 'System.CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
+++// cs1667-4.cs: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only
// Line: 10
using System;
---// cs1667.cs: Attribute 'CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
+++// cs1667-5.cs: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only
// Line: 7
using System;
---// cs1667.cs: 'System.CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
+++// cs1667.cs: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only
// Line: 14
class Test {
---// cs01670.cs: params is not valid in this context
+++// cs1670.cs: The `params' modifier is not allowed in anonymous method declaration
// Line: 10
delegate object D (params object[] args);
---// cs1518.cs : Attribute cannot be applied to namespaces. Expected class, delegate, enum, interface, or struct
+++// cs1671-2.cs: A namespace declaration cannot have modifiers or attributes
// Line : 14
using System;
---// cs1518-2.cs : Attributes cannot be applied to namespaces.
+++// cs1671.cs: A namespace declaration cannot have modifiers or attributes
// Line: 5
using System;
---// cs1673.cs: Not possible to use `this' in anonymous methods inside structs
+++// cs1673.cs: Anonymous methods inside structs cannot access instance members of `this'. Consider copying `this' to a local variable outside the anonymous method and using the local instead
// Line:
using System;
---// cs1674.cs: 'int': type used in a using statement must be implicitly convertible to 'System.IDisposable'
+++// cs1674.cs: `int': type used in a using statement must be implicitly convertible to 'System.IDisposable'
// Line: 8
class C
---// CS1676: Signature mismatch in parameter modifier for parameter #1
+++// cs1676.cs: Parameter `1' must be declared with the `ref' keyword
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
---// cs1677: out parameters are not permitted on anonymous delegate declarations.
+++// cs1677-2.cs: Parameter `1' should not be declared with the `ref' keyword
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
---// cs1677: out parameters are not permitted on anonymous delegate declarations.
+++// cs1677.cs: Parameter `1' should not be declared with the `out' keyword
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
---// cs1678: signature missmatch on type parameter.
+++// cs1678.cs: Parameter `1' is declared as type `long' but should be `int'
// Line: 11
//
// Signature mismatch.
---// cs1686.cs: Variable i is captured in an anonymous method and its address is also being taken: they are exclusive
+++// cs1686.cs: Local variable `i' or its members cannot have their address taken and be used inside an anonymous method block
// Line: 16
// Compiler options: -unsafe
---// cs1690.cs: Cannot call methods, properties, or indexers on 'A.point' because it is a value type member of a marshal-by-reference class
+++// cs1690-2.cs: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class
// Line: 21
using System;
---// cs1690.cs: Cannot call methods, properties, or indexers on 'A.point' because it is a value type member of a marshal-by-reference class
+++// cs1690-3.cs: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class
// Line: 21
using System;
---// cs1690.cs: Cannot call methods, properties, or indexers on 'A.point' because it is a value type member of a marshal-by-reference class
+++// cs1690.cs: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class
// Line: 21
using System;
---// cs1691.cs: '1' is not a valid warning number
+++// cs1691.cs: `1' is not a valid warning number
// Line: 5
// Compiler options: -warnaserror
---// cs1708.cs: Fixed buffers can only be accessed through locals or fields
+++// cs1708.cs: Fixed size buffers can only be accessed through locals or fields
// Line: 27
// Compiler options: -unsafe
---// cs1715.cs: 'DerivedClass.Prop': type must be 'bool' to match overridden member 'BaseClass.Prop'
+++// cs1715.cs: `DerivedClass.Prop': type must be `bool' to match overridden member `BaseClass.Prop'
// Line: 9
class BaseClass {
---// cs1721: type in interface list is not a interface, and the class B already has a base class
+++// cs1721.cs: `B': Classes cannot have multiple base classes (`A1' and `A2')
//
class A1 {
}
---// cs1722: type in interface list is not a interface, base classes must be listed first
+++// cs1722-2.cs: `B': Base class `A1' must be specified as first
//
class A1 {
}
---// cs1722.cs: In Class `My.Namespace.MyBaseClass', `My.Namespace.MyInterfaceBase' is not an interface, a base class must be listed first
+++// cs1722.cs: `My.Namespace.MyBaseClass': Base class `My.Namespace.MyInterfaceBase' must be specified as first
// Line: 21
using System;
---// cs1904.cs: '-1' is not a valid warning number
+++// cs1904.cs: `-1' is not a valid warning number
// Line: 0
// Compiler options: -nowarn:1,-1
---// cs2001.cs: Source file 'notexisting.cs' could not be found
+++// cs2001.cs: Source file `notexisting.cs' could not be found
// Line: 0
// Compiler options: notexisting.cs
---// cs2002.cs: Source file 'cs2002.cs' specified multiple times
+++// cs2002.cs: Source file `cs2002.cs' specified multiple times
// Line: 0
// Compiler options: cs2002.cs /warnaserror
---// cs2016.cs: Code page 'XX' is invalid or not installed
+++// cs2016.cs: Code page `XX' is invalid or not installed
// Line: 0
// Compiler options: -codepage:XX
---// cs2019.cs: Invalid target type for -target: must specify 'exe', 'winexe', 'library', or 'module'
+++// cs2019.cs: Invalid target type for -target. Valid options are `exe', `winexe', `library' or `module'
// Line: 0
// Compiler options: -target:unknown
---// cs3001.cs: Argument type 'ulong' is not CLS-compliant
+++// cs3001-1.cs: Argument type `ulong' is not CLS-compliant
// Line: 7
using System;
---// cs3001.cs: Argument type 'ref ulong' is not CLS-compliant
+++// cs3001-2.cs: Argument type `ref ulong' is not CLS-compliant
// Line: 9
using System;
---// cs3001.cs: Argument type 'ulong' is not CLS-compliant
+++// cs3001-3.cs: Argument type `ulong' is not CLS-compliant
// Line: 8
using System;
---// cs3001-4.cs: Argument type 'out IError' is not CLS-compliant
+++// cs3001-4.cs: Argument type `out IError' is not CLS-compliant
// Line: 12
using System;
---// cs3001.cs: Argument type 'sbyte' is not CLS-compliant
+++// cs3001-5.cs: Argument type `sbyte' is not CLS-compliant
// Line: 8
using System;
---// cs3001.cs: Argument type 'sbyte' is not CLS-compliant
+++// cs3001-6.cs: Argument type `sbyte' is not CLS-compliant
// Line: 8
using System;
---// cs3001.cs: Argument type 'ulong' is not CLS-compliant
+++// cs3001-7.cs: Argument type `ulong' is not CLS-compliant
// Line: 8
using System;
---// cs3001.cs: Argument type 'int*' is not CLS-compliant
+++// cs3001-8.cs: Argument type `int*' is not CLS-compliant
// Line: 9
// Compiler options: -unsafe
---// cs3001.cs: Argument type 'ulong' is not CLS-compliant
+++// cs3001-9.cs: Argument type `ulong' is not CLS-compliant
// Line: 13
using System;
---// cs3001.cs: Argument type 'sbyte' is not CLS-compliant
+++// cs3001.cs: Argument type `sbyte' is not CLS-compliant
// Line: 8
using System;
---// cs3002-2.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
+++// cs3002-1.cs: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 13
using System;
---// cs3002.cs: Return type of 'I.Error()' is not CLS-compliant
+++// cs3002-10.cs: Return type of `I.Error()' is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3002-2.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
+++// cs3002-2.cs: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 13
using System;
---// cs3002.cs: Return type of 'CLSClass.MyDelegate' is not CLS-compliant
+++// cs3002-3.cs: Return type of `CLSClass.MyDelegate' is not CLS-compliant
// Line: 8
using System;
---// cs3002.cs: Argument type 'CLSClass.Test1()' is not CLS-compliant
+++// cs3002-5.cs: Return type of `CLSClass.Test1()' is not CLS-compliant
// Line: 11
using System;
---// cs3002-6.cs: Return type of 'I.Error()' is not CLS-compliant
+++// cs3002-6.cs: Return type of `I.Error()' is not CLS-compliant
// Line: 10
using System;
---// cs3002.cs: Return type of 'Delegate' is not CLS-compliant
+++// cs3002-9.cs: Return type of `Delegate' is not CLS-compliant
// Line: 7
using System;
---// cs3002.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant
+++// cs3002.cs: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 12
using System;
---// cs3003.cs: Type of 'CLSClass.MyEvent' is not CLS-compliant
+++// cs3003-1.cs: Type of `CLSClass.MyEvent' is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant (true)]
---// CS3003: Type of 'CLSClass.Index' is not CLS-compliant
+++// cs3003-2.cs: Type of `CLSClass.Index' is not CLS-compliant
// Line: 10
using System;
---// CS3003: Type of 'I.Error' is not CLS-compliant
+++// cs3003-3.cs: Type of `I.Error' is not CLS-compliant
// Line: 8
using System;
---// CS3003: Type of 'I.Error' is not CLS-compliant
+++// cs3003-4.cs: Type of `I.this[bool]' is not CLS-compliant
// Line: 8
using System;
---// cs3003.cs: Type of 'S.test2' is not CLS-compliant
+++// cs3003-5.cs: Type of `S.test2' is not CLS-compliant
// Line: 11
// Compiler options: -unsafe
---// cs3003.cs: Type of 'CLSClass.value' is not CLS-compliant
+++// cs3003.cs: Type of `CLSClass.value' is not CLS-compliant
// Line: 8
using System;
---// cs3005.cs: Identifier 'CLSClass.Method(int)' differing only in case is not CLS-compliant
+++// cs3005-1.cs: Identifier `CLSClass.Method(int)' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant (true)]
---// cs3005.cs: error CS3005: Identifier 'System.Icomparable' differing only in case is not CLS-compliant
+++// cs3005-10.cs: Identifier `System.Icomparable' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3005.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;
---// cs3005.cs: Identifier 'CLSClass.NameAbC(int)' differing only in case is not CLS-compliant
+++// cs3005-12.cs: Identifier `CLSClass.NameAbC(int)' differing only in case is not CLS-compliant
// Line: 9
using System;
---// cs3005.cs: Identifier 'CLSEnum.Label' differing only in case is not CLS-compliant
+++// cs3005-13.cs: Identifier `CLSEnum.Label' differing only in case is not CLS-compliant
// Line: 9
using System;
---// cs3005.cs: Identifier 'i1' differing only in case is not CLS-compliant
+++// cs3005-14.cs: Identifier `i1' differing only in case is not CLS-compliant
// Line: 9
[assembly:System.CLSCompliant(true)]
---// cs3005.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;
---// cs3005.cs: Identifier 'CLSClass_B.uNIVERSAL' differing only in case is not CLS-compliant
+++// cs3005-16.cs: Identifier `CLSClass_B.uNIVERSAL' differing only in case is not CLS-compliant
// Line: 9
// Compiler options: -reference:CS3005-16-lib.dll
---// cs3005.cs: Identifier 'CLSClass.op_implicit()' differing only in case is not CLS-compliant
+++// cs3005-17.cs: Identifier `CLSClass.op_implicit()' differing only in case is not CLS-compliant
// Line: 12
using System;
---// cs3005.cs: Identifier 'B.TEST()' differing only in case is not CLS-compliant
+++// cs3005-18.cs: Identifier `B.TEST()' differing only in case is not CLS-compliant
// Line: 15
using System;
---// cs3005.cs: Identifier 'II.compareto()' differing only in case is not CLS-compliant
+++// cs3005-19.cs: Identifier `II.compareto()' differing only in case is not CLS-compliant
// Line: 11
// Compiler options: -t:library
---// cs3005.cs: Identifier 'CLSClass.Index.get' differing only in case is not CLS-compliant
+++// cs3005-2.cs: Identifier `CLSClass.Index' differing only in case is not CLS-compliant
// Line: 14
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'I.BLAH.get' differing only in case is not CLS-compliant
+++// cs3005-20.cs: Identifier `I.BLAH.get' differing only in case is not CLS-compliant
// Line: 15
using System.Runtime.CompilerServices;
---// cs3005.cs: Identifier 'CLSClass.NameAbc' differing only in case is not CLS-compliant
+++// cs3005-21.cs: Identifier `CLSClass.NameAbC' differing only in case is not CLS-compliant
// Line: 12
using System;
---// cs3005.cs: Identifier 'X.Index' differing only in case is not CLS-compliant
+++// cs3005-22.cs: Identifier `X.index' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'CLSClass.a.get' differing only in case is not CLS-compliant
+++// cs3005-23.cs: Identifier `CLSClass.get_A()' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'CLSClass.value' differing only in case is not CLS-compliant
+++// cs3005-3.cs: Identifier `CLSClass.value' differing only in case is not CLS-compliant
// Line: 15
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'CLSClass.constant' differing only in case is not CLS-compliant
+++// cs3005-4.cs: Identifier `CLSClass.constant' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'CLSClass.Event_A' differing only in case is not CLS-compliant
+++// cs3005-5.cs: Identifier `CLSClass.Event_A' differing only in case is not CLS-compliant
// Line: 13
[assembly:System.CLSCompliant(true)]
---// cs3005.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)]
---// cs3005.cs: Identifier 'CLSClass.this[int].set' differing only in case is not CLS-compliant
+++// cs3005-7.cs: Identifier `CLSClass.this[int].set' differing only in case is not CLS-compliant
// Line: 8
[assembly:System.CLSCompliant(true)]
---// cs3005.cs: Identifier 'II.foo' differing only in case is not CLS-compliant
+++// cs3005-8.cs: Identifier `II.Foo()' differing only in case is not CLS-compliant
// Line: 9
using System;
---// cs3005.cs: Identifier 'c1' differing only in case is not CLS-compliant
+++// cs3005-9.cs: Identifier `c1' differing only in case is not CLS-compliant
// Line: 9
[assembly:System.CLSCompliant(true)]
---// cs3005: Identifier foo differing only in case is not CLS-Compliant.
+++// cs3005.cs: Identifier `ErrorCS3005.FOO' differing only in case is not CLS-compliant
// Line: 9
using System;
---// cs3006.cs: Overloaded method 'CLSClass.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-1.cs: Overloaded method `CLSClass.Test(int[,,])' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 11
using System;
---// cs3006.cs: Overloaded method 'CLSClass.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-2.cs: Overloaded method `CLSClass.Test(bool)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 11
using System;
---// cs3006.cs: Overloaded method 'CLSInterface.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-3.cs: Overloaded method `CLSInterface.Test(int)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 9
using System;
---// cs3006.cs: Overloaded method 'CLSInterface.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-4.cs: Overloaded method `CLSInterface.Test(int[,,])' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 9
using System;
---// cs3006.cs: Overloaded method 'CLSInterface.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-5.cs: Overloaded method `CLSInterface.Test(bool)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 9
using System;
---// cs3006-1.cs: Overloaded method 'CLSClass.CLSClass(int[,,])' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-6.cs: Overloaded method `CLSClass.CLSClass(int[,,])' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 11
using System;
---// cs3006.cs: Overloaded method 'CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006-7.cs: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 14
using System;
---// cs3006.cs: Overloaded method 'CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant
+++// cs3006.cs: Overloaded method `CLSClass.Test(int)' differing only in ref or out, or in array rank, is not CLS-compliant
// Line: 11
using System;
---// cs3007.cs: Overloaded method 'CLSClass.(bool[])' differing only by unnamed array types is not CLS-compliant
+++// cs3007.cs: Overloaded method `CLSClass.CLSClass(int[][,,])' differing only by unnamed array types is not CLS-compliant
// Line: 11
using System;
---// cs3008.cs: Identifier 'CLSClass._value' is not CLS-compliant
+++// cs3008-1.cs: Identifier `CLSClass._value' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier 'CLSClass._myEvent' is not CLS-compliant
+++// cs3008-2.cs: Identifier `CLSClass._myEvent' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier '_A' is not CLS-compliant
+++// cs3008-3.cs: Identifier `_A' is not CLS-compliant
// Line: 7
using System;
---// cs3008.cs: Identifier '_I' is not CLS-compliant
+++// cs3008-4.cs: Identifier `_I' is not CLS-compliant
// Line: 7
using System;
---// cs3008.cs: Identifier 'I._()' is not CLS-compliant
+++// cs3008-5.cs: Identifier `I._()' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier 'C._()' is not CLS-compliant
+++// cs3008-6.cs: Identifier `C._()' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier 'System.Error.__ComObject' is not CLS-compliant
+++// cs3008-7.cs: Identifier `System.Error.__ComObject' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier 'E2.__VALUE' is not CLS-compliant
+++// cs3008-8.cs: Identifier `E2.__VALUE' is not CLS-compliant
// Line: 8
using System;
---// cs3008.cs: Identifier 'CLSClass._value' is not CLS-compliant
+++// cs3008.cs: Identifier `CLSClass._value' is not CLS-compliant
// Line: 8
using System;
---// cs3009.cs: 'Days': base type 'uint' is not CLS-compliant
+++// cs3009-1.cs: `Days': base type `uint' is not CLS-compliant
// Line: 7
using System;
---// cs3009.cs: 'CLSClass': base type 'System.Runtime.Serialization.Formatter' is not CLS-compliant
+++// cs3009-2.cs: `CLSClass': base type `System.Runtime.Serialization.Formatter' is not CLS-compliant
// Line: 9
using System;
---// cs3009.cs: 'AttributesForm': base type 'BaseClass' is not CLS-compliant
+++// cs3009-3.cs: `AttributesForm': base type `BaseClass' is not CLS-compliant
// Line: 14
// The error is reported intentionally twice.
---// cs3009.cs: 'CLSClass': base type 'BaseClass' is not CLS-compliant
+++// cs3009.cs: `CLSClass': base type `BaseClass' is not CLS-compliant
// Line: 11
using System;
---// cs3010.cs: 'I.Error': CLS-compliant interfaces must have CLS-compliant members
+++// cs3010.cs: `I.Error': CLS-compliant interfaces must have only CLS-compliant members
// Line: 12
using System;
---// cs3011-1.cs: 'CLSClass.this[long]': only CLS-compliant members can be abstract
+++// cs3011-1.cs: `CLSClass.this[long]': only CLS-compliant members can be abstract
// Line: 9
using System;
---// cs3011.cs: 'CLSClass.Error(System.IComparable)': only CLS-compliant members can be abstract
+++// cs3011.cs: `CLSClass.Error(System.IComparable)': only CLS-compliant members can be abstract
// Line: 12
using System;
---// cs3013.cs: Added module is not CLS-compliant, or is missing CLSCompliant attribute
+++// cs3013.cs: Added modules must be marked with the CLSCompliant attribute to match the assembly
// Line: 0
// Compiler options: -addmodule:CS3013-module.dll
---// cs3014-1.cs: 'C.Error(bool)' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-1.cs: `C.Error(bool)' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 8
using System;
---// cs3014-2.cs: 'C' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-2.cs: `C' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 7
using System;
---// cs3014-1.cs: 'I' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-3.cs: `I' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 7
using System;
---// cs3014-1.cs: 'D' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-4.cs: `D' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 8
using System;
---// cs3014-1.cs: 'E' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-5.cs: `E' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 8
using System;
---// cs3014.cs: 'C.field' cannot be marked as CLS-compliant because the assembly is not marked as compliant
+++// cs3014-6.cs: `C.field' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 8
using System;
---// cs3014-1.cs: 'CLSClass.implicit operator CLSClass(byte)' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-7.cs: `CLSClass.implicit operator CLSClass(byte)' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 7
using System;
---// cs3014-8.cs: 'E2.Foo' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014-8.cs: `E2.Foo' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 7
using System;
---// cs3014.cs: 'I.Valid(bool)' cannot be marked as CLS compliant because the assembly is not marked as compliant
+++// cs3014.cs: `I.Valid(bool)' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant
// Line: 8
using System;
---// cs3015.cs: 'CLSAttribute' has no accessible constructors which use only CLS compliant types
+++// cs3015-1.cs: `CLSAttribute' has no accessible constructors which use only CLS-compliant types
// Line: 7
using System;
---// cs3015.cs: 'CLSAttribute' has no accessible constructors which use only CLS compliant types
+++// cs3015-2.cs: `CLSAttribute' has no accessible constructors which use only CLS-compliant types
// Line: 7
using System;
---// cs3015.cs: 'CLSAttribute' has no accessible constructors which use only CLS compliant types
+++// cs3015.cs: `CLSAttribute' has no accessible constructors which use only CLS-compliant types
// Line: 7
using System;
---// cs3016.cs: Arrays as attribute arguments is not CLS-compliant
+++// cs3016-3.cs: Arrays as attribute arguments are not CLS-compliant
// Line: 12
using System;
---// cs3018.cs: 'C1.I2' cannot be marked as CLS-Compliant because it is a member of non CLS-Compliant type 'C1'
+++// cs3018-2.cs: `C1.I2' cannot be marked as CLS-Compliant because it is a member of non CLS-Compliant type `C1'
// Line: 10
using System;
---// cs3018.cs: 'NotCompliant.Compliant' cannot be marked as CLS-Compliant because it is a member of non CLS-Compliant type 'NotCompliant'
+++// cs3018.cs: `NotCompliant.Compliant' cannot be marked as CLS-Compliant because it is a member of non CLS-Compliant type `NotCompliant'
// Line: 9
using System;
---// cs3019.cs: CLS compliance checking will not be performed on 'CLSClass' because it is private or internal
+++// cs3019-2.cs: CLS compliance checking will not be performed on `CLSClass' because it is not visible from outside this assembly
// Line: 8
// Compiler options: -warnaserror -warn:2
---// cs3019.cs: CLS compliance checking will not be performed on 'CLSClass' because it is private or internal
+++// cs3019.cs: CLS compliance checking will not be performed on `CLSClass' because it is not visible from outside this assembly
// Line: 8
// Compiler options: -warnaserror -warn:2
---// cs3021.cs: 'I' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
+++// cs3021.cs: `I' does not need a CLSCompliant attribute because the assembly is not marked as CLS-compliant
// Line: 9
// Compiler options: -warn:2 -warnaserror
---// cs3026.cs: CLS-compliant field 'Class.V' cannot be volatile
+++// cs3026.cs: CLS-compliant field `Class.V' cannot be volatile
// Line: 9
// Compiler options: -warn:1 -warnaserror
---// cs3027.cs: 'I' is not CLS-compliant because base interface 'I2' is not CLS-compliant
+++// cs3027.cs: `I' is not CLS-compliant because base interface `I2' is not CLS-compliant
// Line: 17
// Compiler options: -warn:1 -warnaserror
---//cs5001: Program x does not have an entry point defined
+++// cs5001.cs: Program `cs5001.exe' does not contain a static `Main' method suitable for an entry point
using System;
using System.Collections;
--- /dev/null
--- /dev/null
--- /dev/null
+++// cs8628.cs: `B._a': new protected member declared in static class
+++// Line: 6
+++// Compiler options: -warnaserror -warn:4
+++
+++public static class B
+++{
+++ protected static object _a = null;
+++
+++}
cs0118.cs
cs0121-3.cs NO ERROR
---cs0122-12.cs
cs0201.cs
++cs0202.cs
cs0229.cs NO ERROR
cs0229-2.cs
cs0245.cs