tpodolak
tpodolak
>if this is not immediately required, I will defer merging it until there is repeated interest, I am fine with deferring the merge. I am sure that sooner or later...
Hi @dtchepak Sorry for the long delay in replying. I must have missed GitHub notification. > @tpodolak I'm guessing Roslyn analyzers just hook into compilation and not on package update?...
@dtchepak [NS2003](https://github.com/nsubstitute/NSubstitute.Analyzers/blob/dev/documentation/rules/NS2003.md) checks type accessibility when creating a substitute, so internal member issue doesn't fit well into this category IMHO. I would probably put it into 5xxx or alternatively into...
@dtchepak @grzesiek-galezowski as for now there is no analyzer which would detect non-substitute calls in `Receive.InOrder` - this is still waiting for implementation https://github.com/nsubstitute/NSubstitute.Analyzers/issues/108. @grzesiek-galezowski is this the only case...
@dtchepak @zvirja as you seem to agree not to introduce an additional Received.InOrder overload, I will add an analyzer to prevent people from making the Received.InOrder lambda async.
> IIRC using `Received()` in a `Received.InOrder` block can cause other issues. To detect non-substitute calls, have you tried [NSubstitute Analyzers](https://nsubstitute.github.io/help/nsubstitute-analysers/)? If it is not detecting this case please let...
> @tpodolak Yes I think so. I will write up some draft `NSxxxx` documentation for it if you like? That would be great, thanks.
You are trying to check received calls for `Dispose` method of `OutParam` type - as you did `Substitute.For()`. As `Dispose` is not virtual method and `OutParam` is not interface, `NSubstitute`...
Sorry @thehiflyer, I've accidentally marked `Dispose` method as virtual thats why it worked for me. I am not sure what is the best way to approach this issue(without marking unnecessary...
> NSubstitute.Analyzers version: unable to successfully install @compact-github could you tell what was wrong when you tried to install NSubstitute.Analyzers?