-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove unused custom marshaler code and move ICustomMarshaler and Color marshalling handling to managed code #106735
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
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
ac34579
Remove unused "shared custom marshaler helper" code
jkoritzinsky 3093d4a
Collapse together the custom marshaller helper types
jkoritzinsky 094b807
Remove CustomMarshalerHelper abstraction
jkoritzinsky 3b8a5b9
ICustomMarshaler will never support by-value marshalling, so remove t…
jkoritzinsky d4e3e08
Remove native size local as we always set it to the same thing
jkoritzinsky aa0894c
Remove unused methods
jkoritzinsky f2e869d
Remove more unused code
jkoritzinsky fd9dfef
Use the same helpers in CustomMarshalerInfo as the IL stubs use
jkoritzinsky dcfe926
The only method we look up is GetInstance, so clean that up
jkoritzinsky 1841ea5
Move ICustomMarshaler method invocation into the only usage location …
jkoritzinsky 3321129
Remove CustomMarshalerInfo abstraction from P/Invoke IL stubs (inline…
jkoritzinsky 8bdde74
Change default deep copy option to the one we use in the one case we …
jkoritzinsky 0a185b4
Move IEnumerator marshaller support up to managed code only
jkoritzinsky 12c5607
Move reflection lookup and handling for Color marshalling to managed …
jkoritzinsky 539f0eb
Fix tests
jkoritzinsky 1ec3bef
Fix contract
jkoritzinsky 4a33197
Fix non-Windows build
jkoritzinsky 7e9f7db
Remove unused variable
jkoritzinsky 1530b30
Fix GC mode for getting the custom marshaler object
jkoritzinsky 4e4253d
PR feedback
jkoritzinsky 1e238ba
Remove unmanaged definition of System.Drawing.Color from the runtime …
jkoritzinsky a583aab
Merge branch 'main' of github.com:dotnet/runtime into cm-cleanup
jkoritzinsky fceb168
Remove the QCall and just call ColorMarshaler directly.
jkoritzinsky 50d251a
Merge branch 'main' of https://github.com/dotnet/runtime into cm-cleanup
jkoritzinsky cb71d7e
PR feedback
jkoritzinsky 75eecc2
Fix naming
jkoritzinsky 740ccb2
Update contract
jkoritzinsky 8a2bcd4
Fix type for ComVariant.Create call and remove unused qcall
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
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.