Skip to content

Fix check of types to exclude#227

Merged
josesimoes merged 1 commit intonanoframework:developfrom
Eclo:fix-exclusion-check
Jan 5, 2026
Merged

Fix check of types to exclude#227
josesimoes merged 1 commit intonanoframework:developfrom
Eclo:fix-exclusion-check

Conversation

@josesimoes
Copy link
Member

@josesimoes josesimoes commented Jan 5, 2026

Description

  • Changed order of adding external types and refs to have the exclusion type list filled in.
  • Types for MemberRefs are now checked against type exclusion list.
  • Adding a new TypeSpec now checkes beforehand if the type is in exclusion list.

Motivation and Context

How Has This Been Tested?

  • Tested with new extension classes in mscorlib.
  • [tested against nanoclr buildId 58727].

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue with code or algorithm)
  • New feature (non-breaking change which adds functionality to code)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Config and build (change in the configuration and build system, has no impact on code or features)
  • Dependencies (update dependencies and changes associated, has no impact on code or features)
  • Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
  • Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

  • My code follows the code style of this project (only if there are changes in source code).
  • My changes require an update to the documentation (there are changes that require the docs website to be updated).
  • I have updated the documentation accordingly (the changes require an update on the docs in this repo).
  • I have read the CONTRIBUTING document.
  • I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
  • I have added new tests to cover my changes.

@nfbot nfbot added the Type: bug Something isn't working label Jan 5, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 5, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Changed order of adding external types and refs to have the exclusion type list filled in.
- Types for MemberRefs are now checked against type exclusion list.
- Adding a new TypeSpec now checkes beforehand if the type is in exclusion list.
@josesimoes josesimoes force-pushed the fix-exclusion-check branch from 48e84a7 to 81a2904 Compare January 5, 2026 18:59
@josesimoes josesimoes merged commit 6a68fa2 into nanoframework:develop Jan 5, 2026
5 checks passed
@josesimoes josesimoes deleted the fix-exclusion-check branch January 5, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants