From e42ee2428f9ac9862ebf42ec2fe2d94835833ad2 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 2 Dec 2025 09:29:06 +0100 Subject: [PATCH] Remove warnings in test cases. --- .../TestCases/Pretty/ConstructorInitializers.cs | 2 ++ ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs | 2 ++ ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs index 51fcba813..c4d46b49f 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs @@ -16,6 +16,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. +#pragma warning disable CS9113 + using System; using System.Collections.Generic; diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs index f8432784f..610a26d8f 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS9124 + using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs index 202044df3..9cb1576f6 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS9124 + using System; using System.Collections.Generic;