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

using System;

struct S
{
	string value;

	public S (int arg)
	{
		if (arg > 0) {
			return;
		}

		throw new ApplicationException ();
	}
}