summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0177-13.cs
blob: b655a659c817f1afa1354bc428d9e1bff77db7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0177: The out parameter `baz' must be assigned to before control leaves the current method
// Line: 6

static class A
{
	public static void Foo (int i, out object baz)
	{
		switch (i) {
		case 0:
			baz = 1;
			return;
		}
	}
}