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

class Test
{
	static bool TryAction<T> (out T output)
	{
		return false;
	}

	static void Main ()
	{
		Test value;
		TryAction<Test> (out value);
	}
}