summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0246-9.cs
blob: b28fd1100dbfe81d2aae4e365a8e349da93821bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0246: The type or namespace name `DllImport' could not be found. Are you missing an assembly reference?
// Line: 16

using System;
using System.Threading;

public class Test
{
	static void Main ()
	{
		var tr = new Thread (delegate () {
			Foo ();
		});
	}

	[DllImport ("Foo")]
	extern static void Foo ();
}