Error on Extract Interface for events

Build 573


if I "extract interface" from this class I get a wrong interface:

public class Foo {
private FooForm m_Form;
public event EventHandler BtnOkClick {
add { m_Form.BtnOkClick += value; }
remove { m_Form.BtnOkClick -= value; }

Interface with error:

public interface IStatisticPresenter
event EventHandler BtnOverviewClick { add; remove; }

Resharper even puts red squiggles under "add; remove;"

Stefan Lieser

1 comment
Comment actions Permalink


We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at

Best regards,
- Development Team.


Please sign in to leave a comment.