summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0102-4.cs
blob: fb189469e504003278c62041328213546c19a1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0102: The type `ErrorClass' already contains a definition for `Blah'
// Line: 7

using System.Runtime.CompilerServices;
class ErrorClass {
	[IndexerName ("Blah")]
	public int this [int a] {
            get { return 1; }
	}
        
        public int Blah;
}