Skip to content

missing guidance on null guards #14491

@bitbonk

Description

@bitbonk

There has been some discussion and misunderstanding on whether or not application and/or library developers now can remove any null guards (e.g. if(input != null){...}, ArgumentNullException) because of this feature. See for example here and here. The documentation needs clear guidance if or if not (and if so, when) it is now safe to remove null guards.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions