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

cs0177-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 71c4d057fcb81522017a3709f9badbc02c45553f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs0177-4.cs: The out parameter `f' must be assigned to before control leaves the current method
// Line: 5

class C {
	public static void test (int a, out float f)
	{
		do {
			// CS0177
			if (a == 8) {
				System.Console.WriteLine ("Hello");
				return;
			}
		} while (false);

		f = 1.3F;
		return;
	}
}