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
retag
[mcs.git]
/
errors
/
gcs0411-14.cs
blob
565c5a54f1a15b54efbfabc85b41833632e0d7ff
1
// CS0411: The type arguments for method `C.Foo<T>(ref T, ref T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 14
3
4
class
C
5
{
6
public static void
Foo
<
T
> (
ref
T t1
,
ref
T t2
)
7
{
8
}
9
10
public static void
Main
()
11
{
12
string
s
=
"a"
;
13
object
o
=
null
;
14
Foo
(
ref
s
,
ref
o
);
15
}
16
}