[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-041.cs
blobd30a2d9a3ee10fce9ed1c0151771af2e0aa7a2f3
1 // We may use type parameters as `params' type.
3 class Stack<T>
5 public void Hello (int a, params T[] args)
6 { }
9 class X
11 public static void Main ()
13 Stack<string> stack = new Stack<string> ();
14 stack.Hello (1, "Hello", "World");