[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-556.cs
blob1c85a6d4c069f2b7b49f68502416f7e602a756ec
1 // Compiler options: -r:gtest-556-lib.dll
3 using System;
5 class A2
7 public class N<T>
9 public static N<T> Method ()
11 return default (N<T>);
16 class Test
18 public static int Main ()
20 A2.N<short> b1 = A2.N<short>.Method ();
21 A.N<byte> b2 = A.N<byte>.Method ();
23 return 0;