Note that I am using 10.1.2 in VS 2010 RTM.
Currently, the parameters of an event handler are flagged as unused. This creates noise in the code issue UI, and the suggested fix to remove the parameter is inappropriate since they can't actually be removed. You can see this problem with the following VB code:
Event Foo(ByVal bar As Object, ByVal baz As Object)
AddHandler Events.Foo, AddressOf Foo
Private Sub Foo(ByVal bar As Object, ByVal baz As Object)
Throw New NotImplementedException
Either don't flag them as unused or add UI to allow specific issues to be ignored.
We're aware of this problem, and are planning to address it in the context of the following suggestion:
So, I've marked this report as its duplicate.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.