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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs0165-49.cs
blob
387a2dfb235aeed109dcc4922c16dac2c629393b
1
// CS0165: Use of unassigned local variable `a'
2
// Line: 14
3
4
class
C
5
{
6
static void
Main
()
7
{
8
bool
x
=
true
,
y
=
true
,
z
=
true
;
9
10
int
a
;
11
if
(
x
?
y
: (
z
||
Foo
(
out
a
)))
12
System
.
Console
.
WriteLine
(
z
);
13
else
14
System
.
Console
.
WriteLine
(
a
);
15
}
16
17
static bool
Foo
(
out int
f
)
18
{
19
f
=
1
;
20
return true
;
21
}
22
}