blob: 283c73ca2b35e6b7806e844b50b1d83b969f1960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS0188: The `this' object cannot be used before all of its fields are assigned to
// Line: 10
struct B
{
public int a;
public B (int foo)
{
Test (this);
a = 1;
}
static void Test (B b)
{
}
}
|