Improve T0007: Raise on nondeclaring is { } check
Opened this issue · 0 comments
pavel-mikula-sonarsource commented
Coding style:
Since introduction of is not null
, we don't use is { }
_ = Something() is { }; // Noncompliant
_ = Something() is { } o; // Compliant
_ = Something() is { Count: 0 }; // Compliant