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

"Private members is unused" does not understand VB's Handles pattern #30885

Closed
davkean opened this issue Oct 30, 2018 · 1 comment
Closed

"Private members is unused" does not understand VB's Handles pattern #30885

davkean opened this issue Oct 30, 2018 · 1 comment
Milestone

Comments

@davkean
Copy link
Member

davkean commented Oct 30, 2018

Repro steps

        Private Sub Cancel_Click(sender As Object, e As EventArgs) Handles Cancel.Click
            _loadAnonymous = True
            DialogResult = DialogResult.OK
        End Sub

Expected behavior

No message

Actual behavior

Severity	Code	Description	Project	File	Line	Suppression State
Message	IDE0051	Private member 'ServicesAuthenticationForm.Cancel_Click' is unused.	Microsoft.VisualStudio.Editors	E:\project-system2\src\Microsoft.VisualStudio.Editors\PropPages\ServicesAuthenticationForm.vb	72	Active
@davkean davkean changed the title "Private members is used" does not understand VB's Handles pattern "Private members is unused" does not understand VB's Handles pattern Oct 31, 2018
@davkean davkean transferred this issue from dotnet/roslyn-analyzers Oct 31, 2018
@sharwell sharwell added this to the 16.0 milestone Nov 1, 2018
@mavasani
Copy link
Contributor

mavasani commented Nov 8, 2018

Fixed with #30980

@mavasani mavasani closed this as completed Nov 8, 2018
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

3 participants