Skip to content

Commit 291799d

Browse files
authored
Update AV2400 guideline (#382)
1 parent 4a24803 commit 291799d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

_rules/2400.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ severity: 1
5252
where product.Price > 10
5353
select product;
5454

55-
- Start the LINQ statement with all the `from` expressions and don't interweave them with restrictions.
56-
5755
- Remove redundant parentheses in expressions if they do not clarify precedence. Add parentheses in expressions to avoid non-obvious precedence. For example, in nested conditional expressions: `overruled || (enabled && active)`, bitwise and shift operations: `foo | (bar >> size)`.
5856

5957
- Add an empty line between multi-line statements, between multi-line members, after the closing curly braces, between unrelated code blocks, and between the `using` statements of different root namespaces.

0 commit comments

Comments
 (0)