From 17016c7beb6c15dde9966a46696ed236089124a9 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Mon, 15 Dec 2025 16:59:47 +0100 Subject: [PATCH] Fix #3611: Update test cases to reflect original test --- ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs | 4 +--- ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs index 610a26d8f..ceca0ff2b 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs @@ -1,5 +1,3 @@ -#pragma warning disable CS9124 - using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty @@ -29,7 +27,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty internal StringComparison Test() { - return comparison; + return _comparison; } } diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs index 9cb1576f6..3d59272b7 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs @@ -1,5 +1,3 @@ -#pragma warning disable CS9124 - using System; using System.Collections.Generic; @@ -47,7 +45,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public bool Func() { - return value == StringComparison.Ordinal; + return _value == StringComparison.Ordinal; } }