From 64548f7a5bc24f07623f5437024d9c5bed954855 Mon Sep 17 00:00:00 2001 From: Martin Strecker Date: Tue, 7 Jan 2025 14:38:17 +0100 Subject: [PATCH] diff-id --- rules/S3169/csharp/rule.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)