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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs7042-2.cs
blob
a70c129019d10dc327643b8316306a30bd4cdfc9
1
// CS7042: The DllImport attribute cannot be applied to a method that is generic or contained in a generic type
2
// Line: 9
3
4
using
System
.
Runtime
.
InteropServices
;
5
6
public class
C
7
{
8
[
DllImport
(
"my.dll"
)]
9
static extern void
Foo
<
T
> ();
10
}