All rules
IDE0084Language rules (expression-level preferences)
Use pattern matching (IsNot operator)
Use pattern matching (IsNot operator)
Microsoft docsDescription
This style rule concerns the use of the Visual Basic 14.0 IsNot pattern, when possible.
Example
#pragma warning disable IDE0084
// The code that's violating the rule is on this line.
#pragma warning restore IDE0084Configurable options
Vote for the value each option should take in the generated .editorconfig.
visual_basic_style_prefer_isnot_expression default:
trueYour vote
Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0