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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs8047.cs
blob
cd91a4fb3a760b6458a7356d8c485a99eb2c43eb
1
// CS8047: Declaration expression cannot be used in this context
2
// Line: 8
3
// Compiler options: -langversion:experimental
4
5
public class
C
6
{
7
public static void
Main
()
8
{
9
dynamic
target
=
3
;
10
var
x
=
new
Test
(
target
,
out var
y
);
11
}
12
}
13
14
class
Test
15
{
16
public
Test
(
int
x
,
out int
y
)
17
{
18
y
=
0
;
19
}
20
}