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 incorrectly triggers for events. #1415

Closed
jimmymain opened this issue Sep 8, 2015 · 1 comment
Closed

SA1312 incorrectly triggers for events. #1415

jimmymain opened this issue Sep 8, 2015 · 1 comment

Comments

@jimmymain
Copy link

given the code below, the rule is suggesting that OnAnEvent be renamed to start with lower case.
Does #SA1312 definitely apply to events, this doesn't seem correct?

    public interface IInterface
    {
        event EventHandler<EventArgs> OnAnEvent;
    }
@sharwell
Copy link
Member

sharwell commented Sep 8, 2015

Duplicate of #1340.

@sharwell sharwell closed this as completed Sep 8, 2015
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