[252] Error in pull member up on event handler

Hi,

given the following code:

class Bla : IBla {
         public event EventHandler BtnFixClick {
             add { btnFix.Click += value; }
             remove { btnFix.Click -= value; }
         }
}


If you refactor this code by "Pull member up", the interface IBla gets
the following wrong code:

         event EventHandler BtnFixClick {
             add;
             remove;
         }


Sincerely,
--
Stefan Lieser

EMail: stefan@lieser-online.de
Web: http://www.lieser-online.de

Please sign in to leave a comment.