**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0111-4.cs
blob73d76b980f32c4b7bb8d90857515232312f887ab
1 // cs0111.cs: Class 'ErrorClass' already defines a member called 'get_Blah' with the same parameter types
2 // Line: 8
4 using System.Runtime.CompilerServices;
5 class ErrorClass {
6 [IndexerName ("Blah")]
7 public int this [int a] {
8 get { return 1; }
11 public void get_Blah (int b) {}
13 public static void Main ()