-
Notifications
You must be signed in to change notification settings - Fork 5.2k
TypeName parsing API #100094
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
TypeName parsing API #100094
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
22d131e
TypeNameParser first ref and configurable input validation
adamsitnik 5de9526
assembly name parsing
adamsitnik 6dbcd59
initial generic type info parsing
adamsitnik 6f1f161
decorator parsing
adamsitnik 4ec4ea5
Handle single dimensional array indexing
adamsitnik f5a8716
implement TypeName.GetType
adamsitnik 52cb351
nested types support
adamsitnik 60ad6f0
support ignore case
adamsitnik b5349bd
integrate with System.Private.CoreLib:
adamsitnik 2dbd091
integrate with System.Private.CoreLib:
adamsitnik bd78637
integrate with System.Private.CoreLib for Mono and clr tools, improve…
adamsitnik 8fda94a
build fix 1/n
adamsitnik 745e7bb
make TypeNameParser internal, extend TypeName with Parse and TryParse…
adamsitnik ee43e71
introduce TotalComplexity
adamsitnik a3a7f26
introduce FullName, so we have Name, FullName and AssemblyQualifiedNa…
adamsitnik a2296d0
back tick error handling
adamsitnik 4c8a6f7
move helper methods to a standalone helper type, include it as a link…
adamsitnik eadf970
increase test coverage, improve edge case handling
adamsitnik abf7543
sample SerializationBinder that uses the new APIs
adamsitnik 281c4f3
cover more serialization binder scenarios with the tests to ensure th…
adamsitnik dc58cce
strict mode parsing: type names
adamsitnik b947977
strict mode parsing: assembly names
adamsitnik 4c9a7d5
Merge remote-tracking branch 'upstream/main' into typeNameParser
adamsitnik c63f3a8
fix the build and apply some design changes
adamsitnik 83cdd1b
add escaping support
adamsitnik 23ad44f
fix the last failing tests, increase test coverage, fix the perf, fix…
adamsitnik 96b04f4
Merge remote-tracking branch 'upstream/main' into typeNameParser
adamsitnik c8014fd
apply changes based on the 1st API Design Review
adamsitnik 1c76366
apply changes based on the final API Design Review
adamsitnik 8cd205a
solve the TODOs
adamsitnik ae514ec
implement IEquatable, add missing exception messages, set default Max…
adamsitnik c7c67c8
address code review feedback, make some tests conditional, remove inv…
adamsitnik 87804e9
Apply suggestions from code review
adamsitnik 97aad27
supress IL3050:RequiresDynamicCode
adamsitnik f940723
remove everything related to strict parsing (it will come back in a s…
adamsitnik b1ed250
remove special handling for Array.MaxLength-many generic args
adamsitnik 90a5582
remove the unused property, use the new names for non-public APIs as …
adamsitnik 9a5d01b
make the allocations happen when they are actually needed for the fir…
adamsitnik cfb2216
don't pre-allocate full names for all declaring types, just store the…
adamsitnik d63365f
build fix
adamsitnik 7d685c8
Merge remote-tracking branch 'upstream/main' into typeNameParser
adamsitnik 04731fb
address part of the code review feedback
adamsitnik 113a87f
fix the build
adamsitnik 7005164
AssemblyNameInfo
adamsitnik cd8a9c2
don't enforce the back tick convention
adamsitnik 1143a3e
Merge remote-tracking branch 'upstream/main' into typeNameParser
adamsitnik afdbc5f
address API and code review feedback:
adamsitnik 413be9e
minor tweaks after reading the code again
adamsitnik b424d76
try to improve the escaping handling
adamsitnik da203c0
address code review feedback:
adamsitnik 7979e27
address code review feedback:
adamsitnik 22de761
Apply suggestions from code review
adamsitnik 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
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.