summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0177-2.cs
blob: 9c5eca2933185ff5d1f2e2172691b462e4b6ca31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0177: The out parameter `f' 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;
	}
}