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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0165-45.cs
blob
7da1251664947a35665180783d90ef1fc59c909c
1
// CS0165: Use of unassigned local variable `v'
2
// Line: 19
3
4
using
System
;
5
6
class
X
7
{
8
void
Foo
(
out int value
)
9
{
10
value
=
1
;
11
}
12
13
public static void
Main
()
14
{
15
int
v
;
16
X x
=
null
;
17
18
x
?.
Foo
(
out
v
);
19
Console
.
WriteLine
(
v
);
20
}
21
}