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
Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git]
/
mcs
/
errors
/
cs0165-54.cs
blob
54b151bab4609d479183e75fe3086b77a56f95f4
1
// CS0165: Use of unassigned local variable `res'
2
// Line: 23
3
4
class
A
5
{
6
public
B b
;
7
}
8
9
class
B
10
{
11
public void
Foo
(
int
arg
)
12
{
13
}
14
}
15
16
class
X
17
{
18
public static void
Main
()
19
{
20
A a
=
null
;
21
int
res
;
22
a
?.
b
.
Foo
(
res
=
3
);
23
System
.
Console
.
WriteLine
(
res
);
24
}
25
}