summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0535-2.cs
blob: 7b4d4e21d285c38f97ba029ad343827774c0f037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0535: `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 () {}
}