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

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

using System;
using System.Runtime.InteropServices;

class C
{
	[DllImport ("xml2")]
	unsafe static extern object* valuePop (IntPtr context);
	public static void Main ()
	{
	}
}