for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0246-9.cs
blobb28fd1100dbfe81d2aae4e365a8e349da93821bf
1 // CS0246: The type or namespace name `DllImport' could not be found. Are you missing an assembly reference?
2 // Line: 16
4 using System;
5 using System.Threading;
7 public class Test
9 static void Main ()
11 var tr = new Thread (delegate () {
12 Foo ();
13 });
16 [DllImport ("Foo")]
17 extern static void Foo ();