Skip to content

LGTM.com - false positive with null checks in C# #4181

@ThadHouse

Description

@ThadHouse

A null check and throw in C# before a sensitive method is detected as an error. This should not result in an error, as removing it would then make an NRE happen when we deref, which is much worse for debugging

https://lgtm.com/projects/g/microsoft/msquic/snapshot/9a3f71038c6dc2b1c80a6b59e9f43bcd92ea4254/files/src/perf/dbserver/Controllers/PerformanceController.cs?sort=name&dir=ASC&mode=heatmap#xfd2d1b7771fa1935:1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions