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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0165-27.cs
blob
db34dd83f63c8cd86ba87b3242e0ebfc868e7d21
1
// CS0165: Use of unassigned local variable `a'
2
// Line: 13
3
4
using
System
;
5
6
class
Program
7
{
8
public static void
Main
(
string
[]
args
)
9
{
10
int
a
,
b
;
11
string
s
=
""
;
12
var
res
=
s
!=
null
?
a
=
1
:
b
=
2
;
13
Console
.
WriteLine
(
a
);
14
}
15
}