Code Analysis ReferenceFixesCS1527On this pageCS1527PropertyValueTitleElements defined in a namespace cannot be explicitly declared as private, protected, protected internal or private protected.SeverityErrorCode FixesChange accessibilitySee AlsoOfficial Documentation