summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0171-3.cs
blob: ee995fc31d98a3288ec4d10889d7e3ba8eefbd22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0171: Field `Test.x' must be fully assigned before control leaves the constructor
// Line: 10

public struct Test
{
	internal int x;

	public Test (int x)
	{
		X = x;
	}

	public int X
	{
		get { return x; }
		set { x = value; }
	}
}