Skip to content

Commit

Permalink
diff-id
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-strecker-sonarsource committed Jan 7, 2025
1 parent bd08c96 commit 64548f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S3169/csharp/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Instead, use `ThenBy` for each call after the first.

==== Noncompliant code example

[source,csharp]
[source,csharp,diff-id=1,diff-type=noncompliant]
----
var x = personList
.OrderBy(person => person.Age)
Expand All @@ -21,7 +21,7 @@ var x = personList

==== Compliant solution

[source,csharp]
[source,csharp,diff-id=1,diff-type=compliant]
----
var x = personList
.OrderBy(person => person.Age)
Expand Down

0 comments on commit 64548f7

Please sign in to comment.