[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-208.cs
1 using System;
2
3 interface A
4 {
5         string this [string s] { get; }
6 }
7
8 interface B : A
9 {
10         void Test ();
11 }
12
13 class X : B
14 {
15         public string this [string s] {
16                 get {
17                         return s;
18                 }
19         }
20
21         public void Test ()
22         { }
23 }
24
25 public class Y
26 {
27         public static void Main ()
28         {
29                 B b = new X ();
30
31                 string s = b ["test"];
32         }
33 }
34