summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0165-37.cs
blob: cb56118fcd94756a999d6f93c46e476de114f101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0165: Use of unassigned local variable `s'
// Line: 14

using System;

class Program
{
	public static void Main ()
	{
		string s;
		object o = null;
		while (o != null || string.IsNullOrEmpty (s = (string) o.ToString ())) {
			Console.WriteLine (s);
		}
	}
}