mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-21 07:39:30 -10:00
Fix documentation header for some tests
This commit is contained in:
1 parent
ae7d230c7f
commit
ec00656bee
964 files changed
+986
-987
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// cs0205-2.cs: Cannot call an abstract base member `A.Foobar'
|
||||
// CS0205: Cannot call an abstract base member `A.Foobar'
|
||||
// Line: 15
|
||||
|
||||
public abstract class A
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Extra test date for cs3013.cs
|
||||
// Extra test date for CS3013.cs
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0017.cs: Program `cs0017.exe' has more than one entry point defined: `X.Main()'
|
||||
// CS0017: Program `cs0017.exe' has more than one entry point defined: `X.Main()'
|
||||
// Line: 7
|
||||
class X {
|
||||
static void Main () {}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-10.cs: Operator `-' cannot be applied to operands of type `A' and `B'
|
||||
// CS0019: Operator `-' cannot be applied to operands of type `A' and `B'
|
||||
// Line : 20
|
||||
|
||||
enum A
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-11.cs: Operator `&&' cannot be applied to operands of type `null' and `null'
|
||||
// CS0019: Operator `&&' cannot be applied to operands of type `null' and `null'
|
||||
// Line : 8
|
||||
|
||||
public class C
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `*' cannot be applied to operands of type `E' and `E'
|
||||
// CS0019: Operator `*' cannot be applied to operands of type `E' and `E'
|
||||
// Line : 10
|
||||
|
||||
enum E: byte {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `>>' cannot be applied to operands of type `E' and `int'
|
||||
// CS0019: Operator `>>' cannot be applied to operands of type `E' and `int'
|
||||
// Line : 10
|
||||
|
||||
enum E: byte {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `%' cannot be applied to operands of type `E' and `int'
|
||||
// CS0019: Operator `%' cannot be applied to operands of type `E' and `int'
|
||||
// Line : 10
|
||||
|
||||
enum E: byte {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-16.cs: Operator `<<' cannot be applied to operands of type `byte' and `uint'
|
||||
// CS0019: Operator `<<' cannot be applied to operands of type `byte' and `uint'
|
||||
// Line: 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-2.cs: Operator `+' cannot be applied to operands of type `int' and `Test.Zub'
|
||||
// CS0019: Operator `+' cannot be applied to operands of type `int' and `Test.Zub'
|
||||
// Line : 11
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-3.cs: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
|
||||
// CS0019: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
|
||||
// Line : 11
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-4.cs: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
|
||||
// CS0019: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
|
||||
// Line : 11
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `==' cannot be applied to operands of type `X' and `Y'
|
||||
// CS0019: Operator `==' cannot be applied to operands of type `X' and `Y'
|
||||
// Line : 13
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `==' cannot be applied to operands of type `A' and `B'
|
||||
// CS0019: Operator `==' cannot be applied to operands of type `A' and `B'
|
||||
// Line : 21
|
||||
|
||||
enum A
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-7.cs: Operator `+' cannot be applied to operands of type `string' and `float*'
|
||||
// CS0019: Operator `+' cannot be applied to operands of type `string' and `float*'
|
||||
// Line: 12
|
||||
// Compiler options: -unsafe
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019-8.cs: Operator `-' cannot be applied to operands of type `string' and `ulong'
|
||||
// CS0019: Operator `-' cannot be applied to operands of type `string' and `ulong'
|
||||
// Line : 12
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `&' cannot be applied to operands of type `System.Reflection.MethodImplAttributes' and `System.Runtime.CompilerServices.MethodImplOptions'
|
||||
// CS0019: Operator `&' cannot be applied to operands of type `System.Reflection.MethodImplAttributes' and `System.Runtime.CompilerServices.MethodImplOptions'
|
||||
// Line : 13
|
||||
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0019.cs: Operator `+' cannot be applied to operands of type `Foo' and `int'
|
||||
// CS0019: Operator `+' cannot be applied to operands of type `Foo' and `int'
|
||||
// Line : 11
|
||||
|
||||
public class Foo {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0020.cs: Division by constant zero
|
||||
// CS0020: Division by constant zero
|
||||
// Line: 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0021-2.cs: Cannot apply indexing with [] to an expression of type `System.Array'
|
||||
// CS0021: Cannot apply indexing with [] to an expression of type `System.Array'
|
||||
// Line: 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0021.cs: Cannot apply indexing with [] to an expression of type `int'
|
||||
// CS0021: Cannot apply indexing with [] to an expression of type `int'
|
||||
// Line: 9
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0022.cs: Wrong number of indexes `2' inside [], expected `1'
|
||||
// CS0022: Wrong number of indexes `2' inside [], expected `1'
|
||||
// Line: 9
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023: The `+' operator cannot be applied to operand of type `X'
|
||||
// CS0023: The `+' operator cannot be applied to operand of type `X'
|
||||
// Line : 6
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023: The `-' operator cannot be applied to operand of type `A'
|
||||
// CS0023: The `-' operator cannot be applied to operand of type `A'
|
||||
// Line: 16
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023: The `+' operator cannot be applied to operand of type `string'
|
||||
// CS0023: The `+' operator cannot be applied to operand of type `string'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023-2.cs: The `+' operator cannot be applied to operand of type `bool'
|
||||
// CS0023: The `+' operator cannot be applied to operand of type `bool'
|
||||
// Line : 6
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023: The `+' operator cannot be applied to operand of type `X'
|
||||
// CS0023: The `+' operator cannot be applied to operand of type `X'
|
||||
// Line : 6
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0023: The `-' operator cannot be applied to operand of type `ulong'
|
||||
// CS0023: The `-' operator cannot be applied to operand of type `ulong'
|
||||
// Line : 6
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0026-2.cs: Keyword `this' is not valid in a static property, static method, or static field initializer
|
||||
// CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer
|
||||
// Line: 4
|
||||
class X {
|
||||
static object o = this;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0026.cs: Keyword `this' is not valid in a static property, static method, or static field initializer
|
||||
// CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer
|
||||
// Line: 6
|
||||
class X {
|
||||
static void A ()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0027-2.cs: Keyword `this' is not available in the current context
|
||||
// CS0027: Keyword `this' is not available in the current context
|
||||
// Line: 10
|
||||
|
||||
// Attention: Here the compiler complains saying that cannot convert implicitly from 'Error0027' to 'int' but
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0027.cs: Keyword `this' is not available in the current context
|
||||
// CS0027: Keyword `this' is not available in the current context
|
||||
// Line: 7
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0028.cs: `T.Main(int)' has the wrong signature to be an entry point
|
||||
// CS0028: `T.Main(int)' has the wrong signature to be an entry point
|
||||
// Line: 8
|
||||
// Compiler options: -warnaserror -warn:4
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0029-2.cs: Cannot implicitly convert type `string' to `double'
|
||||
// CS0029: Cannot implicitly convert type `string' to `double'
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0029-3.cs: Cannot implicitly convert type `string' to `int'
|
||||
// CS0029: Cannot implicitly convert type `string' to `int'
|
||||
// Line : 7
|
||||
|
||||
public class Blah {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0029.cs: Cannot implicitly convert type `string' to `System.Runtime.InteropServices.CallingConvention'
|
||||
// CS0029: Cannot implicitly convert type `string' to `System.Runtime.InteropServices.CallingConvention'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0029.cs: Cannot implicitly convert type `T' to `int'
|
||||
// CS0029: Cannot implicitly convert type `T' to `int'
|
||||
// Line: 4
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0029.cs: Cannot implicitly convert type `X' to `bool'
|
||||
// CS0029: Cannot implicitly convert type `X' to `bool'
|
||||
// Line : 11
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// cs0030.cs : Cannot convert type `bool' to `float'
|
||||
// Line : 12
|
||||
// CS0030: Cannot convert type `bool' to `float'
|
||||
// Line: 12
|
||||
|
||||
public class Blah {
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// cs0030-3.cs : Cannot convert type `string' to `char'
|
||||
// Line : 8
|
||||
// CS0030: Cannot convert type `string' to `char'
|
||||
// Line: 8
|
||||
|
||||
public class Blah {
|
||||
|
||||
public static int Main ()
|
||||
{
|
||||
char ch = (char)"a";
|
||||
char ch = (char)"a";
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0030-4.cs: Cannot convert type `Position' to `Board.Stone'
|
||||
// CS0030: Cannot convert type `Position' to `Board.Stone'
|
||||
// Line: 20
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// cs0030.cs : Cannot convert type `Blah' to `float'
|
||||
// Line : 12
|
||||
// CS0030: Cannot convert type `Blah' to `float'
|
||||
// Line: 12
|
||||
|
||||
public class Blah {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031-2.cs: Constant value `-1' cannot be converted to a `byte'
|
||||
// CS0031: Constant value `-1' cannot be converted to a `byte'
|
||||
// Line: 9
|
||||
|
||||
public class Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031-3.cs: Constant value `-9' cannot be converted to a `uint'
|
||||
// CS0031: Constant value `-9' cannot be converted to a `uint'
|
||||
// Line: 9
|
||||
|
||||
public class Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031-4.cs: Constant value `256' cannot be converted to a `byte'
|
||||
// CS0031: Constant value `256' cannot be converted to a `byte'
|
||||
// Line : 7
|
||||
|
||||
public class Blah {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031-5.cs: Constant value `200000000000' cannot be converted to a `int'
|
||||
// CS0031: Constant value `200000000000' cannot be converted to a `int'
|
||||
// Line: 7
|
||||
// Compiler options: -unsafe
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031-6.cs: Constant value `999999999999999' cannot be converted to a `int'
|
||||
// CS0031: Constant value `999999999999999' cannot be converted to a `int'
|
||||
// Line: 9
|
||||
|
||||
class X
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031: Constant value `-97' cannot be converted to a `uint'
|
||||
// CS0031: Constant value `-97' cannot be converted to a `uint'
|
||||
// Line: 9
|
||||
|
||||
public class Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0031.cs: Constant value `1022' cannot be converted to a `byte'
|
||||
// CS0031: Constant value `1022' cannot be converted to a `byte'
|
||||
// Line: 9
|
||||
|
||||
public class Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0034-2.cs : Operator `+' is ambiguous on operands of type `A' and `A'
|
||||
// CS0034: Operator `+' is ambiguous on operands of type `A' and `A'
|
||||
// Line: 22
|
||||
|
||||
public class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0034-2.cs : Operator `+' is ambiguous on operands of type `Y' and `X'
|
||||
// CS0034: Operator `+' is ambiguous on operands of type `Y' and `X'
|
||||
// Line: 22
|
||||
public class Y {
|
||||
public static implicit operator int (Y y) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0036.cs: An out parameter cannot have the `In' attribute
|
||||
// CS0036: An out parameter cannot have the `In' attribute
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037-2.cs: Cannot convert null to `char' because it is a value type
|
||||
// CS0037: Cannot convert null to `char' because it is a value type
|
||||
// Line: 8
|
||||
|
||||
class Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037-2.cs: Cannot convert null to `byte' because it is a value type
|
||||
// CS0037: Cannot convert null to `byte' because it is a value type
|
||||
// Line : 7
|
||||
|
||||
public class Blah {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037-4.cs: Cannot convert null to `int' because it is a value type
|
||||
// CS0037: Cannot convert null to `int' because it is a value type
|
||||
// Line: 9
|
||||
|
||||
class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037-5.cs: Cannot convert null to `int' because it is a value type
|
||||
// CS0037: Cannot convert null to `int' because it is a value type
|
||||
// Line: 6
|
||||
|
||||
class C
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037.cs: Cannot convert null to `bool' because it is a value type
|
||||
// CS0037: Cannot convert null to `bool' because it is a value type
|
||||
// Line: 13
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0037.cs: Cannot convert null to `S' because it is a value type
|
||||
// CS0037: Cannot convert null to `S' because it is a value type
|
||||
// Line: 10
|
||||
struct S {
|
||||
int a;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0038-1.cs: Cannot access a nonstatic member of outer type `A' via nested type `C.N'
|
||||
// CS0038: Cannot access a nonstatic member of outer type `A' via nested type `C.N'
|
||||
// Line: 12
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0038.cs: Cannot access a nonstatic member of outer type `A' via nested type `B.C'
|
||||
// CS0038: Cannot access a nonstatic member of outer type `A' via nested type `B.C'
|
||||
// Line: 15
|
||||
|
||||
public class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0038.cs: Cannot access a nonstatic member of outer type `B' via nested type `B.C'
|
||||
// CS0038: Cannot access a nonstatic member of outer type `B' via nested type `B.C'
|
||||
// Line: 14
|
||||
|
||||
public class B {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0038.cs: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'
|
||||
// CS0038: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'
|
||||
// Line: 15
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0039.cs: Cannot convert type `decimal' to `string' via a built-in conversion
|
||||
// CS0039: Cannot convert type `decimal' to `string' via a built-in conversion
|
||||
// Line: 8
|
||||
class A {
|
||||
public static void Main ()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0050-2.cs: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
|
||||
// CS0050: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0050.cs: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
|
||||
// CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
|
||||
// Line: 13
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0051.cs: Inconsistent accessibility: parameter type `MyClass.X' is less accessible than method `MyClass.method(MyClass.X)'
|
||||
// CS0051: Inconsistent accessibility: parameter type `MyClass.X' is less accessible than method `MyClass.method(MyClass.X)'
|
||||
// Line: 12
|
||||
|
||||
public class MyClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0052.cs: Inconsistent accessibility: field type `C' is less accessible than field `PublicClass.member'
|
||||
// CS0052: Inconsistent accessibility: field type `C' is less accessible than field `PublicClass.member'
|
||||
// Line: 8
|
||||
|
||||
class C
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0052.cs: Inconsistent accessibility: field type `InternalClass' is less accessible than field `PublicClass.member'
|
||||
// CS0052: Inconsistent accessibility: field type `InternalClass' is less accessible than field `PublicClass.member'
|
||||
// Line: 8
|
||||
|
||||
class InternalClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0053: Inconsistent accessibility: property type `Blah[]' is less accessible than property `A.B'
|
||||
// CS0053: Inconsistent accessibility: property type `Blah[]' is less accessible than property `A.B'
|
||||
// Line: 6
|
||||
|
||||
public class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0053.cs: Inconsistent accessibility: property type `ErrorCS0053' is less accessible than property `Foo.Property'
|
||||
// CS0053: Inconsistent accessibility: property type `ErrorCS0053' is less accessible than property `Foo.Property'
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0054.cs: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
|
||||
// CS0054: Inconsistent accessibility: indexer return type `ErrorCS0054' is less accessible than indexer `Foo.this[int]'
|
||||
// Line: 13
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0055.cs: Inconsistent accessibility: parameter type `ErrorCS0055' is less accessible than indexer `Foo.this[ErrorCS0055]'
|
||||
// CS0055: Inconsistent accessibility: parameter type `ErrorCS0055' is less accessible than indexer `Foo.this[ErrorCS0055]'
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0056.cs: Inconsistent accessibility: return type `ErrorCS0056' is less accessible than operator `Foo.implicit operator ErrorCS0056(Foo)'
|
||||
// CS0056: Inconsistent accessibility: return type `ErrorCS0056' is less accessible than operator `Foo.implicit operator ErrorCS0056(Foo)'
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0057.cs: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
|
||||
// CS0057: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0058.cs: Inconsistent accessibility: return type `ErrorCS0058' is less accessible than delegate `Foo.Delegate'
|
||||
// CS0058: Inconsistent accessibility: return type `ErrorCS0058' is less accessible than delegate `Foo.Delegate'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0059.cs: Inconsistent accessibility: parameter type `ErrorCS0059' is less accessible than delegate `Foo.ErrorCS0059Delegate'
|
||||
// CS0059: Inconsistent accessibility: parameter type `ErrorCS0059' is less accessible than delegate `Foo.ErrorCS0059Delegate'
|
||||
// Line: 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0060.cs: Inconsistent accessibility: base class `X' is less accessible than class `Y'
|
||||
// CS0060: Inconsistent accessibility: base class `X' is less accessible than class `Y'
|
||||
// Line: 6
|
||||
class X {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0061.cs: Inconsistent accessibility: base interface `IFoo' is less accessible than interface `IBar'
|
||||
// CS0061: Inconsistent accessibility: base interface `IFoo' is less accessible than interface `IBar'
|
||||
// Line: 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0065.cs: `EventClass.handler': event property must have both add and remove accessors
|
||||
// CS0065: `EventClass.handler': event property must have both add and remove accessors
|
||||
// Line : 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0066-2.cs: `Sample.reference': event must be of a delegate type
|
||||
// CS0066: `Sample.reference': event must be of a delegate type
|
||||
// Line: 5
|
||||
|
||||
public class Sample {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0066.cs: `Button.Click': event must be of a delegate type
|
||||
// CS0066: `Button.Click': event must be of a delegate type
|
||||
// Line : 10
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0067: The event `Foo.OnFoo' is never used
|
||||
// CS0067: The event `Foo.OnFoo' is never used
|
||||
// Line: 12
|
||||
// Compiler options: -warnaserror -warn:4
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0069.cs: Event in interface cannot have add or remove accessors
|
||||
// CS0069: Event in interface cannot have add or remove accessors
|
||||
// Line: 13
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0073.cs: An add or remove accessor must have a body
|
||||
// CS0073: An add or remove accessor must have a body
|
||||
// Line: 9
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0074.cs: `ErrorCS0074.OnFoo': abstract event cannot have an initializer
|
||||
// CS0074: `ErrorCS0074.OnFoo': abstract event cannot have an initializer
|
||||
// Line: 8
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0075.cs: To cast a negative value, you must enclose the value in parentheses
|
||||
// CS0075: To cast a negative value, you must enclose the value in parentheses
|
||||
// Line: 20
|
||||
class X
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0076.cs: An item in an enumeration cannot have an identifier `value__'
|
||||
// CS0076: An item in an enumeration cannot have an identifier `value__'
|
||||
// Line: 8
|
||||
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0078.cs: The `l' suffix is easily confused with the digit `1' (use `L' for clarity)
|
||||
// CS0078: The `l' suffix is easily confused with the digit `1' (use `L' for clarity)
|
||||
// Line: 12
|
||||
// Compiler options: -warnaserror -warn:4
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0080.cs: Constraints are not allowed on non-generic declarations
|
||||
// CS0080: Constraints are not allowed on non-generic declarations
|
||||
// Line: 5
|
||||
|
||||
using System.Collections;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// gcs0081-2.cs: Type parameter declaration must be an identifier not a type
|
||||
// CS0081: Type parameter declaration must be an identifier not a type
|
||||
// Line: 6
|
||||
|
||||
class D
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// gcs0081.cs: Type parameter declaration must be an identifier not a type
|
||||
// CS0081: Type parameter declaration must be an identifier not a type
|
||||
// Line: 4
|
||||
|
||||
partial class A<T, bool>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// gcs0081.cs: Type parameter declaration must be an identifier not a type
|
||||
// CS0081: Type parameter declaration must be an identifier not a type
|
||||
// Line: 4
|
||||
|
||||
class D<string>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0100.cs: The parameter name `a' is a duplicate
|
||||
// CS0100: The parameter name `a' is a duplicate
|
||||
// Line: 6
|
||||
//
|
||||
// Author:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0101.cs: The namespace `AA.VV' already contains a definition for `SomeEnum'
|
||||
// CS0101: The namespace `AA.VV' already contains a definition for `SomeEnum'
|
||||
// Line: 10
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0101.cs: The namespace `global::' already contains a definition for `SomeEnum'
|
||||
// CS0101: The namespace `global::' already contains a definition for `SomeEnum'
|
||||
// Line: 10
|
||||
using System;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0102-10.cs: The type `SampleClass' already contains a definition for `add_XX'
|
||||
// CS0102: The type `SampleClass' already contains a definition for `add_XX'
|
||||
// Line: 13
|
||||
|
||||
public class SampleClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0102-11.cs: The type `SampleClass' already contains a definition for `MyEvent'
|
||||
// CS0102: The type `SampleClass' already contains a definition for `MyEvent'
|
||||
// Line: 7
|
||||
|
||||
public class SampleClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0102-12.cs: The type `SampleClass' already contains a definition for `A'
|
||||
// CS0102: The type `SampleClass' already contains a definition for `A'
|
||||
// Line: 7
|
||||
|
||||
public class SampleClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0102-13.cs: The type `SampleClass' already contains a definition for `op_Implicit'
|
||||
// CS0102: The type `SampleClass' already contains a definition for `op_Implicit'
|
||||
// Line: 10
|
||||
|
||||
public class SampleClass {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// cs0102-14.cs: The type `T' already contains a definition for `A'
|
||||
// CS0102: The type `T' already contains a definition for `A'
|
||||
// Line: 6
|
||||
|
||||
class T{
|
||||
|
||||
Loaded 100 of 964 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user