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

cs0214-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b5e5e0235c46d185da89331fff52ac1a0d316b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0214: Pointer can only be used in unsafe context
// Line: 13
// Compiler options: -unsafe

struct X {
	static unsafe void *a ()
		{
			return null;
		}

	static void Main ()
		{
			a ();
		}
	
}