[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-147.cs
blobcc85965df4e2cf998e51af08d3be565610406ac6
1 namespace A
3 interface IFoo
5 void Hello (IFoo foo);
9 namespace B
11 partial class Test <T> : IDoo, A.IFoo where T : A.IFoo
12 { }
15 namespace B
17 using A;
19 partial class Test <T> : Y, IFoo where T : IFoo
21 void IFoo.Hello (IFoo foo)
22 { }
26 interface IDoo { }
28 class Y { }
30 class X
32 public static void Main ()
33 { }