class Base
{
protected virtual void Foo() { }
}
class Derived : Base
{
internal bool Yes = true;
}
public static class Test
{
static bool Bar(Base b) => b is Derived d && d.Yes; //FAIL: c swift cl TODO
public static bool Run()
{
Derived() d;
return Bar(d);
}
}