-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Only root infrastructure and dependencies for IDynamicInterfaceCastable when IDIC is implemented #116660
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
Merged
jkoritzinsky
merged 20 commits into
dotnet:main
from
jkoritzinsky:idic-conditional-rooting
Jul 2, 2025
Merged
Only root infrastructure and dependencies for IDynamicInterfaceCastable when IDIC is implemented #116660
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ff4ace5
Implement support for weak symbols in ILC
jkoritzinsky 7b35d82
Initial sketch of conditionally rooting IDIC when IDIC is actually used.
jkoritzinsky 27a0fae
Manually use weak symbols in the bootstrapper to handle weak IDIC
jkoritzinsky c03f3b2
Remove SymbolFlags now that we're using a bootstrapper-based weak sym…
jkoritzinsky 465e703
Only ask for maximally constructable interface types for casting if I…
jkoritzinsky d88c99e
Remove Weak field on RuntimeExportAttribute
jkoritzinsky 5815948
Reduce diff
jkoritzinsky fe157a2
Make IDynamicCastableSupport trimmable
AustinWise 4e7b795
Make the IDIC static constructor check live elsewhere
jkoritzinsky ff74f16
Remove slots and fix C99 _Pragma usage
jkoritzinsky 7856559
Merge branch 'main' of https://github.com/dotnet/runtime into idic-co…
jkoritzinsky 465ec2b
Downgrade interface type symbols in interface dispatch stubs
jkoritzinsky 8ac6d6e
Substitute away the code we can't trim out easily
jkoritzinsky 7d2a548
Scan the "feature body removed" helper always. We might remove featur…
jkoritzinsky 515b35c
Look for constructed implementing type instead of IDIC itself.
jkoritzinsky 68b40fb
Fix substitution condition
jkoritzinsky 7635ea4
Merge branch 'main' of https://github.com/dotnet/runtime into idic-co…
jkoritzinsky ec645e4
Add ThrowFeatureBodyRemoved helper to Test.CoreLib
jkoritzinsky 1b19031
Remove leftovers from previous impl
jkoritzinsky 993d1e8
PR feedback
jkoritzinsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.