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: f4539aaa69e9342aa9027581d7745f5865bcf0a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Compiler options: -unsafe
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('X<A>')
class X <Y> {
}

unsafe class A {

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