summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0171-6.cs
blob: 31730076f09832fcdd7c6d8bdf2006f6704974e3 (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
{
	internal string value;

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

		throw new ApplicationException ();
	}
}