Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Relates to test plan #80613
Closes #80998

@CyrusNajmabadi CyrusNajmabadi requested review from a team as code owners November 24, 2025 19:29
@dotnet-policy-service dotnet-policy-service bot added the Needs API Review Needs to be reviewed by the API review council label Nov 24, 2025
@dotnet-policy-service
Copy link
Contributor

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.

@CyrusNajmabadi
Copy link
Member Author

@AlekseyTs Looks like we'll need to move over here.

@jcouv jcouv self-assigned this Nov 24, 2025
@jcouv jcouv added Feature - Collection Arguments Collection expression with() arguments Area-Compilers labels Nov 24, 2025
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CollectionExpressionElementsPlaceholder

Let's also update the API proposal with latest shape

Copy link
Member Author

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: consider mentioning ICollectionExpressionElementsPlaceholderOperation

Copy link
Member Author

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, """
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@CyrusNajmabadi
Copy link
Member Author

@dotnet/roslyn-compiler ptal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Feature - Collection Arguments Collection expression with() arguments Needs API Review Needs to be reviewed by the API review council

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants