Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0208.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c5e807bcc79f5f3832c058cd2654db30aafc4fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// gcs0208.cs: 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>);
	}
}