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

cs0208-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dee9012076b17c2e61bbd66223742aca21a26f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0208-7.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `foo'
// Line: 11
// Compiler options: -unsafe

struct foo {
	public delegate void bar (int x);
	public bar barf;
}

unsafe class t {
	static void Main () {
		foo *f = null;
	}
}