-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
TypeDescriptor-related trimming support #102094
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5c7a83e
Add trimming support to TypeDescriptor
steveharter 918f033
Add ComponentResourceManager.ApplyResources<T>
steveharter 7e6bc89
Remove CreateInstanceFromKnownType
steveharter 503aa8a
Add PropertyDescriptor.ConverterFromKnownType()
steveharter c09d5b6
Add PropertyDescriptor.ConverterFromKnownType tests
steveharter df490a4
Move to new feature switch model
steveharter 509d29b
Revert some RUC attributes
steveharter f23af7e
Add more provider extensibility
steveharter 0930d4e
Add some instance-based members
steveharter d79db32
Add TD.GetConverter(object)
steveharter da89f95
Fix linker warning
steveharter 35fa7db
Add ApplyResources(object,
steveharter 623fcfd
Rename KnownType to RegisteredType
steveharter 38db301
Sync to main
LakshanF b0504dd
Build break fixes
LakshanF 96ba348
Exploring a reduced DAM annotations for type registering
LakshanF 4495eed
Update based on approved API
steveharter 8ff8979
Add impl and tests to validate
steveharter 65707cc
Remove GetAttributesFromRegisteredType
steveharter 838b9b1
Update doc, annotations
steveharter 5aa1e98
Update doc
steveharter 94cf860
Address some linker warnings
steveharter a5e44cb
Fix some Moq tests
steveharter 3fabac1
Add ConditionalFact for RemoteExecutor
steveharter 348d9b8
Move nullable tests out of trim tests
steveharter 905bb1c
Reflection provider changes
steveharter 2178298
Add back internal GetConverterTrimUnsafe()
steveharter a6477ad
Remove a test; NativeAot semantics
steveharter 0dbb512
Merge branch 'main' of https://github.com/steveharter/runtime into Ty…
steveharter 72bc953
Add tests for base classes
steveharter 4b21255
Address non-functional feedback
steveharter 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 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
111 changes: 67 additions & 44 deletions
111
src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/libraries/System.ComponentModel.TypeConverter/src/CompatibilitySuppressions.xml
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 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.
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.
@sbomer, do we still need this?
PublishTrimmed
apps should have this property set to false automatically.