Correct Behaviour?

Given the following:

   public class Base
   {
      public virtual void DoSomething() {}
   }

   public abstract class Descendant : Base
   {
      public override void DoSomething()
      {
         base.DoSomething();
      }
   }


When the context action to "remove redundant method override" is taken in Descendant.DoSomething(), you then get the following dialog:

16-05-2009 13-02-28.png
I would not expect Safe Delete to be called unless I was explicitly requesting it.  I only want to remove the redundant call and do not want to have to stop and read a dialog.

Is this behaviour correct? 

Thanks

Sean

Please sign in to leave a comment.