a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
255 B
C#
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;
|
|
}
|
|
}
|