Files
linux-packaging-mono/mcs/errors/cs0188-3.cs

19 lines
255 B
C#
Raw Normal View History

// 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;
}
}