[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / gtest-488.cs
blob49aa06247ea8c9735ce9dd2358b5b9852ee99181
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 public static void Main ()