- 
                Notifications
    You must be signed in to change notification settings 
- Fork 254
Cleanup #518
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
Cleanup #518
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR performs code cleanup by renaming a constant, removing unused code, hiding packaging assets, and reordering/removing unused members.
- Rename private _forceDockerconstant toFORCE_DOCKERand update its usages.
- Remove unused var specdeclarations inSearchExtensionTests.
- Hide package assets (icon.png,readme-nuget.md,LICENSE) in the build props and tidy up internal members in the specification classes.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description | 
|---|---|
| tests/Ardalis.Specification.EntityFrameworkCore.Tests/Fixture/TestFactory.cs | Renamed _forceDockerconstant toFORCE_DOCKERand updated its references | 
| tests/Ardalis.Specification.EntityFrameworkCore.Tests/Evaluators/SearchExtensionTests.cs | Removed unused var speclines | 
| src/Directory.Build.props | Added Visible="false"to packaging assets | 
| src/Ardalis.Specification/Specification.cs | Removed dead-code const and reordered internal members | 
| src/Ardalis.Specification.EntityFrameworkCore/Evaluators/SpecificationEvaluator.cs | Swapped explicit null-check to ArgumentNullException.ThrowIfNull | 
Comments suppressed due to low confidence (1)
tests/Ardalis.Specification.EntityFrameworkCore.Tests/Fixture/TestFactory.cs:10
- [nitpick] Use PascalCase for private constants per .NET conventions (e.g., rename to ForceDocker) instead of all-caps with underscores.
private const bool FORCE_DOCKER = false;
No description provided.