From b6306210cdcd5060f96e87e3ea069e6dea2972fd Mon Sep 17 00:00:00 2001 From: Loris S <91723853+loris-s-sonarsource@users.noreply.github.com> Date: Tue, 8 Nov 2022 14:53:07 +0100 Subject: [PATCH] Modify Rule S5334(Csharp): Fix sample typo (#1385) --- rules/S5334/csharp/how-to-fix-it/dotnet.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/S5334/csharp/how-to-fix-it/dotnet.adoc b/rules/S5334/csharp/how-to-fix-it/dotnet.adoc index 55c016f260..b4ea7b0fb9 100644 --- a/rules/S5334/csharp/how-to-fix-it/dotnet.adoc +++ b/rules/S5334/csharp/how-to-fix-it/dotnet.adoc @@ -13,7 +13,7 @@ public class ExampleController : Controller { public void Run(string message) { - string code = @" + const string code = @" using System; public class MyClass {