Error on Extract Interface for events

Build 573

Hi,

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;"


Regards,
Stefan Lieser
--
http://www.lieser-online.de

1 comment
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-56234.

Best regards,
- Development Team.


0

Please sign in to leave a comment.