Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0165-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ce563baba69305b3af1057e3832af3105ff36864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0165: Use of unassigned local variable `x'
// Line: 16
using System;

public class Foo
{
	static void Main (string[] args)
	{
		int service;

		for (int pos = 0; pos < args.Length; pos++) {
			service = 1;
			break;
		}

		Console.WriteLine (service);
	}
}