False negative error CS9503 "Required member cannot be less visible than the containing type" for member in nested type #61528
Labels
4 - In Review
A fix for the issue is submitted for review.
Area-Compilers
Bug
Feature - Required Members
Required properties and fields
Milestone
Version Used:
features/required-members
Steps to Reproduce:
Expected Behavior:
Error CS9503 is shown for
ProtectedProperty
declarationActual Behavior:
No error for
ProtectedProperty
declaration is shown but it is impossible to create instance ofProtectedClass
in derived classThe text was updated successfully, but these errors were encountered: