[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / gtest-036.cs
blob8e224e260452b6695310f9cdb1c6064138f39da1
1 //
2 // This is another "important" test: it checks whether we set
3 // TypeContainer.CurrentType correctly when compiling the
4 // declaration of `Stack'.
5 //
7 class Stack<T>
9 //
10 // This must be encoded as a TypeSpec (Stack<!0>) and
11 // not as a TypeDef.
13 // PEVerify the resulting executable on Windows to make sure !
15 void Hello (Stack<T> stack)
19 void Test ()
21 Hello (this);
25 class X
27 public static void Main ()
28 { }