[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / gtest-124.cs
blobc8f06ac46dc7c5a415890f68a4debb540de76728
1 using System;
3 interface IFoo <T>
5 T this [int index] {
6 get; set;
10 public class FooCollection <T> : IFoo <T>
12 T IFoo<T>.this [int index] {
13 get {
14 return default(T);
16 set {
21 class X
23 public static void Main ()
25 IFoo<int> foo = new FooCollection<int> ();
26 int a = foo [3];
27 Console.WriteLine (a);