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 useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0165-47.cs
blob
160daa2423855b9c091ccce4646865dcdd968e4f
1
// CS0165: Use of unassigned local variable `a'
2
// Line: 17
3
4
class
Test
5
{
6
public static bool
Foo
(
out int
v
)
7
{
8
v
=
0
;
9
return false
;
10
}
11
12
static void
Main
()
13
{
14
int
a
;
15
bool
b
=
false
;
16
17
if
((
b
&&
Foo
(
out
a
)) ||
b
) {
18
System
.
Console
.
WriteLine
(
a
);
19
}
20
}
21
}