[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-variance-19.cs
blobc4ba1eef30009e2f7cd7e4d17c07e876f9c844b2
1 using System;
2 using System.Collections.Generic;
4 public class Test
6 static void Bla<T, U> () where T : class, U
8 T[] ta = new T[0];
9 IEnumerable<T> ita = ta;
10 IEnumerable<U> itu = ita;
13 public static void Main ()
15 Bla<string, object> ();