a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
32 lines
275 B
C#
32 lines
275 B
C#
using System;
|
|
|
|
public abstract class A
|
|
{
|
|
protected bool Test (int a)
|
|
{
|
|
return a == 5;
|
|
}
|
|
}
|
|
|
|
public class B : A
|
|
{
|
|
public void Test ()
|
|
{ }
|
|
|
|
class C : A
|
|
{
|
|
B b;
|
|
|
|
public bool Foo (int a)
|
|
{
|
|
return b.Test (a);
|
|
}
|
|
}
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|