We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When applying the codefix for CollectionShouldNotContainProperty, the comparison inside the lambda should also be negated.
CollectionShouldNotContainProperty
actual.Should().OnlyContain(x => x.OtherProperty == expectedValue); // before actual.Should().NotContain(x => x.OtherProperty == expectedValue); // after
The text was updated successfully, but these errors were encountered:
Here's how others are negating expressions: https://github.com/JosefPihrt/Roslynator/blob/9098bd81a98e5b57ce65546628cb8d8349ca888f/source/Core/CSharp/Helpers/LogicalNegationHelper.cs
Sorry, something went wrong.
``"C:\Users\hp\OneDrive\Desktop\error-illustration-1.svg"
@hossain666 did you mean to upload an image?
No branches or pull requests
When applying the codefix for
CollectionShouldNotContainProperty
, the comparison inside the lambda should also be negated.The text was updated successfully, but these errors were encountered: