Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

19 lines
255 B
C#

// CS0188: The `this' object cannot be used before all of its fields are assigned to
// Line: 16
struct Foo
{
public int bar;
public int baz;
public int Bar {
get { return bar; }
}
public Foo (int baz)
{
this.baz = baz;
bar = Bar - 1;
}
}