repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0411-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
}