Files
mono/mcs/errors/cs0111-4.cs
T
Marek Safar 57f35c238b 2004-02-03 Marek Safar <[email protected]>
* cs0102-{2,3,4,5}.cs,
	cs0111-{3,4}.cs,
	cs0547-2.cs: New error tests.

svn path=/trunk/mcs/; revision=22732
2004-02-03 09:03:56 +00:00

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 ()
{
}
}