-
Notifications
You must be signed in to change notification settings - Fork 3
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
False positive for FakeItEasy0003 when using argument constraint in CallToSet with indexer property #41
Labels
Milestone
Comments
FYI that I plan to tackle this myself, hopefully in the next day or two. |
Hi @zivarah, |
zivarah
pushed a commit
to zivarah/FakeItEasy.Analyzers
that referenced
this issue
Jan 20, 2023
…argument constraints. Closes FakeItEasy#41.
zivarah
pushed a commit
to zivarah/FakeItEasy.Analyzers
that referenced
this issue
Jan 20, 2023
…argument constraints. Closes FakeItEasy#41.
thomaslevesque
added a commit
that referenced
this issue
Jan 20, 2023
…nstraint-in-calltoset Resolve #41: False positive for FakeItEasy0003 when using argument constraint in CallToSet with indexer property
This change has been released as part of FakeItEasy.Analyzers 6.1.1. |
Thanks again, @zivarah. You should be able to upgrade to 6.1.1 now and reap your own benefits. 🥇 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: FakeItEasy.Analyzer.CSharp 6.1.0
Consider this simple class:
And this simple test:
Expected behavior: No warning for this code
Actual behavior: FakeItEasy0003 warning for
A.CallToSet(() => instance[A<string>._]).CallsBaseMethod();
The text was updated successfully, but these errors were encountered: