-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[wasm] more cases when looking up unmanaged delegates #107113
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
35 commits
Select commit
Hold shift + click to select a range
def8ff6
Handle exceptional cases when looking up unmanaged delegates
lewing 7a123d7
Add a couple more changes
lewing 7e1edca
Add namespace to the mix
lewing 750a984
In both places
lewing a3f82a7
Rework tests
lewing 7abee5d
Fix test
lewing 9285256
refactor the entry generator
lewing 8c995ae
More cleanup
lewing f9b6e4e
Rework the key handling
lewing 62f480b
Rework the parameter building
lewing 6629e86
Use the token in the callnback key
lewing d870553
Use string interopolation to reduce allocations
lewing ac71581
Separate the token from the key but look for the token first
lewing f496323
Fix funcs
lewing b0dd210
Fix formatting
lewing ffae952
Do a binary search for the token and key
lewing 848f8be
Clean up import lookup
lewing 752fbf4
Add null terminators back to imports
lewing 2ec97d0
Add more diagnotics
lewing 8124b87
Remove test test case
lewing 3b09edd
Misc cleanup
lewing ea613b4
huh
lewing f1b535d
try again
lewing d4a78f6
fix unbalanced gc unsafe area
lewing 9992ff1
Add assertions
lewing a179289
Fix the comparison
lewing 868fdb3
bsearch for tables too
lewing 96a6abe
Small clean-ups
lewing d4b8bab
try a different compile time newline
lewing 77cefac
Escape the other string literals in the generated code
lewing 0700827
Add tests with surrogate pairs
lewing aee105d
Don't encode null strings
lewing 03e48b1
Update PInvokeTableGeneratorTests.cs
lewing e24272e
Fix typo
lewing f75d28b
Merge branch 'main' into all-missing-ns
lewing 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
Oops, something went wrong.
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.