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 #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0165-37.cs
blob
cb56118fcd94756a999d6f93c46e476de114f101
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
Console
.
WriteLine
(
s
);
14
}
15
}
16
}