Fix S2259 FP: ValidatedNotNullAttribute
in extension method
#7048
Labels
Area: CFG/SE
CFG and SE related issues.
Area: VB.NET
VB.NET rules related issues.
Type: CFG/SE FPs
Rule IS triggered when it shouldn't be for CFG and SE rules.
Milestone
When
ValidatedNotNullAttribute
is used in an extension method, the effect is not recognized by the engine:because there's different method symbol interpretation of the extension methods:
C#:
CheckNotNullExtension(Value, "Value")
VB:
Value.CheckNotNulLExtension("Value")
The text was updated successfully, but these errors were encountered: