-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add IOp support for with(...) elements.
#81427
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
base: features/collection-expression-arguments
Are you sure you want to change the base?
Add IOp support for with(...) elements.
#81427
Conversation
…-arguments' into creationArguments
…y.cs Co-authored-by: Rikki Gibson <rikkigibson@gmail.com>
Co-authored-by: Rikki Gibson <rikkigibson@gmail.com>
…/roslyn into creationArguments
|
This PR modifies public API files. Please follow the instructions at https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md for ensuring all public APIs are reviewed before merging. |
|
@AlekseyTs Looks like we'll need to move over here. |
| Microsoft.CodeAnalysis.INamedTypeSymbol.ExtensionParameter.get -> Microsoft.CodeAnalysis.IParameterSymbol? | ||
| Microsoft.CodeAnalysis.INamedTypeSymbol.IsExtension.get -> bool | ||
| Microsoft.CodeAnalysis.IPropertySymbol.ReduceExtensionMember(Microsoft.CodeAnalysis.ITypeSymbol! receiverType) -> Microsoft.CodeAnalysis.IPropertySymbol? | ||
| Microsoft.CodeAnalysis.OperationKind.CollectionExpressionElementsPlaceholder = 129 -> Microsoft.CodeAnalysis.OperationKind |
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 also update the API proposal with latest shape
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.
Done.
| </summary> | ||
| <remarks> | ||
| If the invocation is in its expanded form, then params/ParamArray arguments would be collected into arrays. | ||
| Default values are supplied for optional arguments missing in source. |
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.
nit: consider mentioning ICollectionExpressionElementsPlaceholderOperation
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.
Done.
| // Tracked by https://github.com/dotnet/roslyn/issues/68826 | ||
| VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, | ||
| """ | ||
| VerifyOperationTreeForTest<CollectionExpressionSyntax>(comp, """ |
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.
nit: The tracked issue above is closed. Remove link?
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.
done.
|
@dotnet/roslyn-compiler ptal. |
Relates to test plan #80613
Closes #80998