[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / errors / cs0188-4.cs
blob6ead083a7a5e67410835b1e44d6c2ca7714e9117
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 16
4 struct Foo
6 public int bar;
7 public int baz;
9 public int this [int i] {
10 get { return bar; }
13 public Foo (int baz)
15 this.baz = baz;
16 bar = this [2] - 1;