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

Naming Conventions

1 Answer 39 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.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 18 Jan 2012, 06:20 PM
JC seems to be reporting naming Convention 'failures' for methods when they are called as well as defined.

For exmple, I have a bit of code like this ...
return result.OrderBy(i => i.ID)

I have my Namining Conventions rules set to PascalCase for method parameters.

JC underlines the 'i' in the .OrderBy call.

It only seems to be doing this for LINQ extension methods, however.

--
Stuart

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 19 Jan 2012, 09:33 AM
Hello,

Thank you for your feedback. The warning that JustCode is showing is actually an expected one.
The naming rules for method parameters are set for all parameters.
However, your point makes sense and we will consider implementing a separate rule for lambda parameters.
If you have any more questions or remarks, please do not hesitate to contact us again!

Greetings,
Ivan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Code Analysis
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Ivan
Telerik team
Share this question
or