[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-459.cs
blob297915e3007e6176f3da2f4cc37ec919a26cb4bd
1 using System;
3 namespace GenericTest
5 public class OuterGeneric<T>
7 public class InnerGeneric<U>
9 public static string GetTypeNames ()
11 return typeof (T).ToString () + " " + typeof (U).ToString ();
16 class Program
18 public static int Main ()
20 string typeNames = OuterGeneric<int>.InnerGeneric<long>.GetTypeNames ();
21 Console.WriteLine (typeNames);
22 return 0;