consulo-csharp icon indicating copy to clipboard operation
consulo-csharp copied to clipboard

'protected internal' logic are wrong

Open VISTALL opened this issue 11 years ago • 0 comments

class A {
  protected internal int x = 123;
}

class B : A {
}


class Test {
  public void test() {
    B b = new B();

    b.x = 1;
  }
}

VISTALL avatar Dec 26 '14 16:12 VISTALL