a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
217 B
C#
24 lines
217 B
C#
// CS0120: An object reference is required to access non-static member `B.M()'
|
|
// Line: 16
|
|
|
|
using System;
|
|
|
|
class A
|
|
{
|
|
protected A (Action a)
|
|
{
|
|
}
|
|
}
|
|
|
|
class B : A
|
|
{
|
|
public B ()
|
|
: base (M)
|
|
{
|
|
}
|
|
|
|
void M ()
|
|
{
|
|
}
|
|
}
|