Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • 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:

                                    Module Events
                                        Event Foo(ByVal bar As Object, ByVal baz As Object)
                                    End Module

                                    Module Module1

                                        Sub Main()
                                            AddHandler Events.Foo, AddressOf Foo
                                        End Sub

                                        Private Sub Foo(ByVal bar As Object, ByVal baz As Object)
                                            Throw New NotImplementedException
                                        End Sub

                                    End Module

                                    Proposed Solution:

                                    Either don't flag them as unused or add UI to allow specific issues to be ignored.

                                0

                                Hi Dustin,

                                We're aware of this problem, and are planning to address it in the context of the following suggestion:

                                ID: S19332, CodeIssues - Unused declaration - Add an option to ignore parameters

                                So, I've marked this report as its duplicate.

                                Thanks,
                                Vito

                                You must  log in  or  register  to leave an answer

                                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.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Your Privacy - Legal Statements

                                Copyright © 1998-2013 Developer Express Inc.
                                ALL RIGHTS RESERVED
                                All trademarks or registered trademarks
                                are property of their respective owners