You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @petterh
We are planing to have separate rule for substitution of extension methods, so having separate rule for argument matchers makes sense. Thanks for pointing that out
Assume an interface and an extension method for that interface:
The following triggers an NS1004:
With the provided definition of
SetValue
, I can ignore the NS1004: Things work because the call to the extension method basically boils down to this:If I change
SetValue
to the following, things blow up, of course, so the analyzer is right to flag the issue:Proposal
If possible, I'd like to see the message
changed to
Might require a new rule.
The text was updated successfully, but these errors were encountered: