mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-21 07:39:30 -10:00
* cs0102-{2,3,4,5}.cs,
cs0111-{3,4}.cs,
cs0547-2.cs: New error tests.
svn path=/trunk/mcs/; revision=22732
17 lines
368 B
C#
17 lines
368 B
C#
// cs0111.cs: Class 'ErrorClass' already defines a member called 'get_Blah' with the same parameter types
|
|
// Line: 8
|
|
|
|
using System.Runtime.CompilerServices;
|
|
class ErrorClass {
|
|
[IndexerName ("Blah")]
|
|
public int this [int a] {
|
|
get { return 1; }
|
|
}
|
|
|
|
public void get_Blah (int b) {}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|