System.NullReferenceException should say which reference is null #72545
Labels
Area-IDE
Resolution-External
The behavior lies outside the functionality covered by this repository
untriaged
Issues and PRs which have not yet been triaged by a lead
This issue has been moved from a ticket on Developer Community.
If you have a long line of code that does a lot of things and you get a
System.NullReferenceException
on that line, VS highlights the whole line and doesn't give any further information as to which reference is null, which can be hard to figure out.It would be nice if it could say that specifically "import.Fields" is null
Original Comments
John Munro on 2/23/2024, 02:36 PM:
(private comment, text removed)
Feedback Bot on 2/26/2024, 02:27 AM:
(private comment, text removed)
The text was updated successfully, but these errors were encountered: