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; } }