Skip to content

No suggestion to add null check for inner function #20983

@CyrusNajmabadi

Description

@CyrusNajmabadi

Ported from https://devdiv.visualstudio.com/DevDiv/_workitems/edit/466136

Paste: static void Foo(Stuff outer) { int Bar(Stuff inner) { return 0; } Bar(outer); } Click on outer. There is an offer to add a null check. Click on inner. There is no such offer.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions