NSubstitute.Analyzers
NSubstitute.Analyzers copied to clipboard
Extract misused argument matcher warning from NS1004
I think ideally this should be a different error ("5003 Misused argument matcher"?). The non-virtual cases are very clear in terms of cause and fix. The misuse case is a lot more subtle. Maybe can tackle that as a separate issue so this fix can be merged first?
Originally posted by @dtchepak in https://github.com/nsubstitute/NSubstitute.Analyzers/pull/169#discussion_r703991391