* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-442.cs
bloba66f1917d9b45b3cc1f1e863c04857ce6013d98a
1 public abstract class NonGenericBase
3 public abstract int this[int i] { get; }
6 public abstract class GenericBase<T> : NonGenericBase
7 where T : GenericBase<T>
9 T Instance { get { return default (T); } }
11 public void Foo ()
13 int i = Instance[10];
17 public class EntryPoint
19 static void Main () { }