Roslyn fix - https://github.com/dotnet/roslyn/pull/77297 false positive warning have flowed to WinForms repo in https://github.com/dotnet/winforms/pull/12985 via the SDK update Revert https://github.com/dotnet/winforms/pull/12985/commits/58ba84618e29d1dd00f52be87a23a11f467518a6 when the roslyn fix is in