2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / errors / cs0111-4.cs
1 // cs0111.cs: Class 'ErrorClass' already defines a member called 'get_Blah' with the same parameter types
2 // Line: 8
3
4 using System.Runtime.CompilerServices;
5 class ErrorClass {
6         [IndexerName ("Blah")]
7         public int this [int a] {
8             get { return 1; }
9         }
10         
11         public void get_Blah (int b) {}
12         
13         public static void Main ()
14         {
15         }
16 }