[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-620.cs
blob45e6059a2c251b368961d3343659980d42c6c14c
1 interface I<T>
5 class A<T>
7 public virtual T M<U> (U u) where U : T
9 return u;
13 class B<W> : A<I<W>>, I<string>
15 public override I<W> M<U> (U u)
17 return u;
21 class Bug
23 public static void Main ()
25 var b = new B<string> ();
26 b.M (b);