Naming Conventions

Thread is closed for posting
2 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 18 Jan 2012 Link to this post

    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.

  2. Ivan
    Ivan avatar
    106 posts

    Posted 19 Jan 2012 Link to this post


    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!

    the Telerik team

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

Back to Top