Getting different nullable reference types results between LINQ query syntax and the equivalent method syntax
I’m using Visual Studio 2022 (with ReSharper 2024.1 but I don’t think that’s relevant) developing in .NET 8. My minimal repro is this: I have a DataTable
object named dataTable
, and these two lines of code: