Skip to content
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

Code Smell: 'ProcessZeroEntitiesFirst' calls 'All' but does not use the value the method returns. Linq methods are known to not have side effects. Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method #93

Open
tdashworth opened this issue Jul 15, 2022 · 0 comments
Labels
sonar-cloud An issue raised by sonar cloud. technical debt

Comments

@tdashworth
Copy link
Contributor

'ProcessZeroEntitiesFirst' calls 'All' but does not use the value the method returns. Linq methods are known to not have side effects. Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method.

https://sonarcloud.io/project/issues?resolved=false&rules=external_roslyn%3ACA1806&severities=MAJOR&id=xrm-datamigration&open=AXlmWBvHKjdVQvrIoNHe

@tdashworth tdashworth added technical debt sonar-cloud An issue raised by sonar cloud. labels Jul 15, 2022
@shraines shraines assigned shraines and unassigned shraines Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sonar-cloud An issue raised by sonar cloud. technical debt
Projects
None yet
Development

No branches or pull requests

2 participants