'<typename>' cannot shadow a 'MustOverride' method implicitly declared for property '<propertyname>' in <type> '<typename>'

The specified method name conflicts with a MustOverride method implicitly generated by a property in the base class. For example, if you declare a property named Prop1, the compiler generates the implicit procedures get_Prop1 and set_Prop1.

Error ID: BC31416

To correct this error

  1. Give the method a unique name.

  2. Remove the MustOverride modifier from the property in the base class.

See Also

Concepts

Property Procedures

Reference

MustOverride

Shadows