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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0165-36.cs
blob
594eafc6f6ab22bd263a4bdce8d0fe390bbb3f91
1
// CS0165: Use of unassigned local variable `s'
2
// Line: 14
3
4
using
System
;
5
6
class
Program
7
{
8
public static void
Main
()
9
{
10
string
s
;
11
object
o
=
null
;
12
while
(
o
!=
null
&&
string
.
IsNullOrEmpty
(
s
= (
string
)
o
.
ToString
())) {
13
}
14
15
Console
.
WriteLine
(
s
);
16
}
17
}