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
/
cs0411-10.cs
blob
fe7f3ecfb958485371eeea6cb9aa3ef8b7b2f73b
1
// CS0411: The type arguments for method `C.Foo<T>(T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 14
3
// Compiler options: -unsafe
4
5
class
C
6
{
7
static void
Foo
<
T
> (
T t
)
8
{
9
}
10
11
unsafe static void
Test
()
12
{
13
int
*
i
=
null
;
14
Foo
(
i
);
15
}
16
}