Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 24, 2025

Follow-up to #51661 (StatInterop.cs removal). Identified and removed additional dead code with no references in the codebase.

Files Removed

  • TopLevelCommandParserResult.cs - Internal class, never instantiated
  • OutputPathCommandResolver.cs - Command resolver, not used by any policy
  • PathCommandResolverPolicy.cs - Resolver policy, never instantiated
  • DepsJsonCommandResolver.cs - Command resolver, not used by any policy

These resolvers are not wired into DefaultCommandResolverPolicy or ScriptCommandResolverPolicy. Verified via grep that no code references these types.

Original prompt

In #51661 we removed a file that was no longer in use. Can you look through the repo and determine if there are any other files that are safe to remove?


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Following PR #51661, this removes additional unused files:
- TopLevelCommandParserResult.cs - internal class with no references
- OutputPathCommandResolver.cs - unused command resolver
- PathCommandResolverPolicy.cs - unused command resolver policy
- DepsJsonCommandResolver.cs - unused command resolver

Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove additional unused files from the repository Remove unused command resolver and parser files Nov 24, 2025
Copilot AI requested a review from marcpopMSFT November 24, 2025 22:59
Copilot finished work on behalf of marcpopMSFT November 24, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants