Update Virtual Method Signature

An error is triggered when the signature of a method override differs from the signature of the overridden virtual method.

../../_images/sv_quick_fix_update_virtual_method_signature_list.png

Place the editor cursor on the error’s line and press Ctrl+1, select Update … signature to match … definition from the list of quick fix proposals and press Enter.

The method signature (return type, argument names, types, directions and default values) is updated accordingly to match the parent class definition:

../../_images/sv_quick_fix_update_virtual_method_signature_after.png