Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0843-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb90055667715e825d010aa5d5532f5d3d841c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0843: An automatically implemented property `S.A' must be fully assigned before control leaves the constructor. Consider calling the default struct contructor from a constructor initializer
// Line: 8

public struct S
{
	public int A { get; set;}

	public S (int a)
	{
		this.A = a;
	}
}