Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-488.cs
1 class Ref {}
2
3 class Def : Ref {}
4
5 interface IFooRef {
6     Ref Bar { get; }
7 }
8
9 interface IFooDef : IFooRef {
10     new Def Bar { get; set; }
11 }
12
13 class FooProcessor<T> where T : IFooDef {
14     public void Attach (T t, Def def)
15     {
16         t.Bar = def;
17     }
18 }
19
20 class Program {
21     public static void Main ()
22     {
23     }
24 }