This is a migrated thread and some comments may be shown as answers.

False positive on unused parameter of a partial method

1 Answer 69 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 16 Jul 2013, 02:56 PM
A partial method does not have any code, so it is not an error that none of its parameters are used.
It should not be considered an error even in the partial class that implements the code.  Partial methods are generated and some instance may use all of the parameters and some may not. At any event, you can't change the signature of a partial method.

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 17 Jul 2013, 01:57 PM
Hi David,

 Thanks for bringing this warning to our attention.
I made an item for it in our product backlog where a fix awaits.
Thanks for your help.

Regards,
Zdravko
Telerik
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
Code Analysis
Asked by
David
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or