* man/mono-shlib-cop.1: Add man page for mono-shlib-cop program.
[mono.git] / mcs / tests / gen-36.cs
1 //
2 // This is another "important" test: it checks whether we set
3 // TypeContainer.CurrentType correctly when compiling the
4 // declaration of `Stack'.
5 //
6
7 class Stack<T>
8 {
9         //
10         // This must be encoded as a TypeSpec (Stack<!0>) and
11         // not as a TypeDef.
12         //
13         // PEVerify the resulting executable on Windows to make sure !
14         //
15         void Hello (Stack<T> stack)
16         {
17         }
18
19         void Test ()
20         {
21                 Hello (this);
22         }
23 }
24
25 class X
26 {
27         static void Main ()
28         { }
29 }