Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0535-2.cs
1 // CS0535: `Stack' does not implement interface member `IStack.Insert(int, object)'
2 // Line: 11
3  
4 using System; 
5  
6 public interface IStack {
7         void Insert (int index, object value);
8         object this [int index] { set; }
9 }
10
11 public class Stack : IStack {
12         object IStack.this [int index] {
13                 set {}
14         }
15 }
16
17 public class D {
18         static void Main () {}
19 }