diff --git a/rules/S3169/csharp/rule.adoc b/rules/S3169/csharp/rule.adoc index e40e94cdd8a..df9d2c517f5 100644 --- a/rules/S3169/csharp/rule.adoc +++ b/rules/S3169/csharp/rule.adoc @@ -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) @@ -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)