a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
189 B
C#
21 lines
189 B
C#
// CS0120: An object reference is required to access non-static member `C.i'
|
|
// Line: 16
|
|
|
|
class B
|
|
{
|
|
public B (object o)
|
|
{
|
|
}
|
|
}
|
|
|
|
class C : B
|
|
{
|
|
int i;
|
|
|
|
public C ()
|
|
: base (i)
|
|
{
|
|
}
|
|
}
|
|
|