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 code moved to shared partition
[mono-project.git]
/
mcs
/
errors
/
cs8197.cs
blob
f8538a1fe5b2938787fe32c8086620b8367f1399
1
// CS8197: Cannot infer the type of implicitly-typed out variable `y'
2
// Line: 9
3
4
public class
C
5
{
6
public static void
Main
()
7
{
8
dynamic
target
=
3
;
9
var
x
=
new
Test
(
target
,
out var
y
);
10
}
11
}
12
13
class
Test
14
{
15
public
Test
(
int
x
,
out int
y
)
16
{
17
y
=
0
;
18
}
19
}