From c85b53d99c789e81100f18757eec5c65f0a87518 Mon Sep 17 00:00:00 2001 From: Jeremy Pritts <49847914+ds5678@users.noreply.github.com> Date: Mon, 5 May 2025 23:19:00 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Siegfried Pammer --- .../TestCases/Pretty/OptionalArguments.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.cs index 0f7027c1e..a65d7223b 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.cs @@ -314,8 +314,10 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty #if CS120 public static Action Issue3469b() { +#pragma warning disable CS9099 // Parameter 1 has default value 'default(int)' in lambda but '' in the target delegate type return ([Optional][DefaultParameterValue(0)] int i, [Optional] DateTime d) => { }; +#pragma warning restore CS9099 } public static D LambdaWithOptionalParameter() {