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; } } }