'function' : no suitable method found to override
A method was marked as an override, but the compiler found no method to override. For more information, see override, and Knowing When to Use Override and New Keywords.
The following sample generates XS0115. You can resolve XS0115 in one of two ways:
•Remove the override keyword from the method in MyClass2.
•Use MyClass1 as a base class for MyClass2.
// XS0115.prg