2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-488.cs
blobaf85e248bc7c892513f63631af9b96a22ff8c586
1 class Ref {}
3 class Def : Ref {}
5 interface IFooRef {
6 Ref Bar { get; }
9 interface IFooDef : IFooRef {
10 new Def Bar { get; set; }
13 class FooProcessor<T> where T : IFooDef {
14 public void Attach (T t, Def def)
16 t.Bar = def;
20 class Program {
21 static void Main ()