BC30910: '<typename>' cannot inherit from <type> '<basetypename>' because it expands the access of the base <type> outside the assembly
A class or interface inherits from a base class or interface but has a less restrictive access level.
For example, a Public
interface inherits from a Friend
interface, or a Protected
class inherits from a Private
class. This exposes the base class or interface to access beyond the intended level.
Error ID: BC30910
To correct this error
Change the access level of the derived class or interface to be at least as restrictive as that of the base class or interface.
-or-
If you require the less restrictive access level, remove the
Inherits
statement. You cannot inherit from a more restricted base class or interface.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for