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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0841-5.cs
blob
8872ce40389e8701988fec1dd226606143890cf4
1
// CS0841: A local variable `x' cannot be used before it is declared
2
// Line: 8
3
// Compiler options: -langversion:experimental
4
5
class
X
6
{
7
public static void
Main
()
8
{
9
Foo
(
x
,
out var
x
);
10
}
11
12
static void
Foo
(
int
arg
,
out int value
)
13
{
14
value
=
3
;
15
}
16
}