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

cs0535-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 94a8f8472c62854cfc2e852ba5432becd5720c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs0535-2.cs: `Stack' does not implement interface member `IStack.Insert(int, object)'
// Line: 11
 
using System; 
 
public interface IStack {
	void Insert (int index, object value);
	object this [int index] { set; }
}

public class Stack : IStack {
	object IStack.this [int index] {
		set {}
	}
}

public class D {
	static void Main () {}
}