Skip to content

Inconsistency on LINQ expression formatting #173

@bkoelman

Description

@bkoelman

AV2220 (Avoid LINQ for simple expressions):

Since LINQ queries should be written out over multiple lines for readability, the second example is a bit more compact.

AV2400 (Use a common layout):

Put the entire LINQ statement on one line, or start each keyword at the same indentation, like this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions