Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0111-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 73d76b980f32c4b7bb8d90857515232312f887ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 ()
        {
        }
}