Skip to content

Commit a03cadb

Browse files
Apply suggestions from code review
Co-authored-by: Siegfried Pammer <[email protected]>
1 parent f63bd4c commit a03cadb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,10 @@ public static void Issue3469a([Optional][DefaultParameterValue(0)] int i, [Optio
314314
#if CS120
315315
public static Action<int, DateTime> Issue3469b()
316316
{
317+
#pragma warning disable CS9099 // Parameter 1 has default value 'default(int)' in lambda but '<missing>' in the target delegate type
317318
return ([Optional][DefaultParameterValue(0)] int i, [Optional] DateTime d) => {
318319
};
320+
#pragma warning restore CS9099
319321
}
320322
public static D LambdaWithOptionalParameter()
321323
{

0 commit comments

Comments
 (0)