Skip to content

[WIP] Type filtering for classes, enums, interfaces#112

Closed
vbreuss with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-111
Closed

[WIP] Type filtering for classes, enums, interfaces#112
vbreuss with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-111

Conversation

Copilot AI commented Aug 17, 2025

Copy link
Copy Markdown
Contributor

Implement type filtering for classes, enums, and interfaces. Adding the following methods to TypeFilters:

  • Understand codebase structure and patterns
  • Create TypeFilters.WhichAreClasses.cs with WhichAreClasses() and WhichAreNotClasses() methods
  • Create TypeFilters.WhichAreEnums.cs with WhichAreEnums() and WhichAreNotEnums() methods
  • Create TypeFilters.WhichAreInterfaces.cs with WhichAreInterfaces() and WhichAreNotInterfaces() methods
  • Add comprehensive tests for each new filter method (6 tests total)
  • Validate all tests pass (1495 tests including 6 new ones)
  • Run API compatibility checks to ensure no breaking changes
  • Create manual validation test to verify functionality

This implementation follows the existing patterns in the codebase, using the same Filter.Prefix approach and type checking logic found in the existing type assertion methods. All existing tests continue to pass.

Fixes #111.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…th tests

Co-authored-by: vbreuss <3438234+vbreuss@users.noreply.github.com>
@vbreuss

vbreuss commented Aug 17, 2025

Copy link
Copy Markdown
Member

@copilot retry

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.

Type filtering for classes, enums, interfaces

2 participants