summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0843.cs
blob: 9849c4ae672385684e1392eae4e8c6c71f60aaf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0843: An automatically implemented property `S.Short' must be fully assigned before control leaves the constructor. Consider calling the default struct contructor from a constructor initializer
// Line: 8

using System;

struct S
{
	public S (int value)
	{
	}
	
	public short Short { get; set; }
}