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

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

class ClassMain {
	public static void test2 (int a, out float f)
	{
		// CS0177
		if (a == 5)
			return;

		f = 8.53F;
	}
}