Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0188-7.cs
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 10
3
4 public struct Test
5 {
6         internal int x;
7
8         public Test (int x)
9         {
10                 X = x;
11         }
12
13         public int X
14         {
15                 get { return x; }
16                 set { x = value; }
17         }
18 }