-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NS1004 when using Arg.Do() #159
Comments
Hi @rcdailey, thanks for reporting. Looks like a bug to me. I might have missed the case that Arg.Do can be used with properties. I will try to investigate when I can |
tpodolak
added a commit
that referenced
this issue
Sep 4, 2021
tpodolak
added a commit
that referenced
this issue
Sep 4, 2021
tpodolak
added a commit
that referenced
this issue
Sep 5, 2021
tpodolak
added a commit
that referenced
this issue
Oct 10, 2021
tpodolak
added a commit
that referenced
this issue
Nov 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm honestly not sure if this is a false positive or not. What I can tell you is that my test is behaving as I expect.
Here' the relevant lines:
Using Jetbrains Rider, I get this:
![image](https://user-images.githubusercontent.com/1768054/116010020-7c793c00-a5d1-11eb-841c-2f01b70c2663.png)
My repo is open source so you can easily see the issue in real time here if you want:
https://github.com/rcdailey/trash-updater/blob/7604397/src/Trash.Tests/Config/ConfigurationLoaderTest.cs#L96
I'm not sure why it's getting tripped up.
provider
is itself an interface. It uses a generic parameter that is not an interface; maybe that's confusing it?The text was updated successfully, but these errors were encountered: