repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0246-9.cs
blob
b28fd1100dbfe81d2aae4e365a8e349da93821bf
1
// CS0246: The type or namespace name `DllImport' could not be found. Are you missing an assembly reference?
2
// Line: 16
3
4
using
System
;
5
using
System
.
Threading
;
6
7
public class
Test
8
{
9
static void
Main
()
10
{
11
var
tr
=
new
Thread
(
delegate
() {
12
Foo
();
13
});
14
}
15
16
[
DllImport
(
"Foo"
)]
17
extern static void
Foo
();
18
}