Null-checking preferences
.NET null-checking preferences
The style rules in this section concern the following null-checking preferences that are common to C# and Visual Basic:
- Use coalesce expression (IDE0029 and IDE0030)
- Use null propagation (IDE0031)
- Use is null check (IDE0041)
- Prefer
nullcheck over type check (IDE0150)
C# null-checking preferences
The style rules in this section concern the following null-checking preferences that are specific to C#:
See also
Feedback
Submit and view feedback for