通过


成员 <成员> 不能重写在另一个程序集/项目中定义的成员 <baseMember> ,因为...

错误 ID: BC31538

更正此错误

查看引用程序集中基成员的访问级别,以确定相应的修饰符。 确保重写成员不会扩展被重写的基本成员的可访问性。 例如,将访问修饰符从 Protected Friend 更改为 Protected 替代成员:

' Instead of Protected Friend (which expands access)
Protected Overrides Sub MyMethod()
' Use Protected (which matches the base member access level)

另请参阅