summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-10.cs
blob: 6777dba0432c5d1ec8f08764d3e0658dde468e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `X<A>'
// Line: 12
// Compiler options: -unsafe

class X <Y> {
}

unsafe class A {

	static void Main ()
	{
		int size = sizeof (X<A>);
	}
}