Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA1312 reports false positive on event #1369

Closed
RalfKoban opened this issue Sep 2, 2015 · 1 comment
Closed

SA1312 reports false positive on event #1369

RalfKoban opened this issue Sep 2, 2015 · 1 comment

Comments

@RalfKoban
Copy link
Contributor

Hi,

I just updated to version 1.0.0.-beta9. Now I get false SA1312 violations for classes implementing interfaces that define events, such as in following code snippet:

public class Demo : INotifyPropertyChanging
{
    public event PropertyChangingEventHandler PropertyChanging;
}

Best regards,
Ralf

@sharwell
Copy link
Member

sharwell commented Sep 2, 2015

Sorry about this one. 😦

Duplicate of #1340. I'll have a new release out soon that fixes it. I recommend you set SA1312 to disabled until Beta 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants