update readme (#21797)
[mono-project.git] / mcs / errors / cs0188-6.cs
blob283c73ca2b35e6b7806e844b50b1d83b969f1960
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 10
4 struct B
6 public int a;
8 public B (int foo)
10 Test (this);
11 a = 1;
14 static void Test (B b)