-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[WIP] C# 14: Support extension blocks.
#21220
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
Draft
michaelnebel
wants to merge
23
commits into
github:main
Choose a base branch
from
michaelnebel:csharp14/extension
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+929
−92
Draft
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0f022d5
C#: Extractor support for extension blocks.
michaelnebel 95e08a8
C#: Implicit extension parameters should be fresh entities.
michaelnebel c5af880
C#: Add extension types to the db scheme.
michaelnebel 359934c
C#: Static extension methods in extension types should also have thei…
michaelnebel 7b74200
C#: The call to an extension operator should be considered an operato…
michaelnebel 9d4d2b7
C#: Minor improvements.
michaelnebel 4e63de3
C#: Introduce a new expr kind for when accessors are invoked directly.
michaelnebel e4b0fa8
C#: Add various extension related classes to the QL library.
michaelnebel 146d172
C#: Add extensions tests.
michaelnebel bda6dc1
C#: Extract the receiver type for extension types.
michaelnebel ca5e18e
C#: Add a extension receiver type table to the DB scheme.
michaelnebel 791a7db
C#: Use the relation in the ExtensionType relation in the QL library.
michaelnebel 5f35a62
C#: Add some QL tests for extension types.
michaelnebel a8eccea
C#: Remove some TODO reminder comments.
michaelnebel bfd4318
C#: Synthesize the implicit extension parameters for generics.
michaelnebel ec5b3ee
C#: Add generic test.
michaelnebel 240c637
C#: Replace calls to constructed generic extensions methods with call…
michaelnebel c0b70af
C#: Update test expected output.
michaelnebel 5f3c3bf
C#: Add some more generic types and methods.
michaelnebel fa769aa
C#: Add unbound parameter for constructed generic extensions.
michaelnebel 7f32d50
C#: Update extensionType expected output.
michaelnebel 81814ca
C#: Support replacing invocations of generic methods in generic exten…
michaelnebel 570748c
C#: Add some more tests and update the expected test output.
michaelnebel 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
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.
Check notice
Code scanning / CodeQL
Generic catch clause Note