2004-12-06 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / errors / gcs0208.cs
1 // Compiler options: -unsafe
2 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('X<A>')
3 class X <Y> {
4 }
5
6 unsafe class A {
7
8         static void Main ()
9         {
10                 int size = sizeof (X<A>);
11         }
12 }