You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Huh, so SubF's base class list has visibility to the protected SubF.ISubFoo, but not to the protected SubF.IFoo/F.IFoo.
That is surprising.
The old (pre-roslyn) csc also rejects your original code.
I think we can only try to detect this situation and suppress the base list entry.
Steps to reproduce
Compile:
Decompiled CSharp:
The interface list of
SubF
contains an unexpectedF.IFoo
. This is invalid CSharp - it would not compile.The text was updated successfully, but these errors were encountered: