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

public class C
{
}

public struct S
{
	public C c;
}

public class Test
{
	void M (out S s)
	{
		var xx = s.c;
	}
}