-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Collection expression spread optimization #71195
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
RikkiGibson
merged 20 commits into
dotnet:main
from
RikkiGibson:collection-expr-spread-optimization
Dec 16, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
511526c
Collection expression spread optimization
RikkiGibson 76cd2bb
Merge remote-tracking branch 'upstream/main' into collection-expr-spr…
RikkiGibson fd3145e
cleanup
RikkiGibson 1a3ed67
Merge remote-tracking branch 'upstream/main' into collection-expr-spr…
RikkiGibson 00a17f6
Adjust test baseline to reflect intention of test
RikkiGibson d295100
Fix WellKnownTypeValidationTests
RikkiGibson 853f8aa
address feedback and fixup tests
RikkiGibson 38ee84e
Fix MissingSpecialMember tests
RikkiGibson 63dbe87
more
RikkiGibson 3eac1bf
cleanup, feedback, TODOs
RikkiGibson 882a643
more tests
RikkiGibson 501d5b1
Get rid of temp for destination span. Adjust test baselines
RikkiGibson 36fb608
Address more feedback
RikkiGibson dc7ef72
More tests. Address TODOs.
RikkiGibson c93244e
Fix raw string indenting
RikkiGibson cce39d0
Skip verification on a few more tests
RikkiGibson 8625ac3
Address feedback
RikkiGibson da6ad13
address feedback
RikkiGibson a071343
Adjust assertion
RikkiGibson 1b1ad03
Add targetFramework to pointer tests. Fix impl.
RikkiGibson 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
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.
Let's rearrange this method to simplify things. First, check to see if it's the array case. The rest of the cases depend on it being a named type symbol, so you can do that check once and bail if false, rather than type-checking against NamedTypeSymbol 3 times.