-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Update PublicAPI for 17.7 #69767
Update PublicAPI for 17.7 #69767
Conversation
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. |
@@ -85,6 +93,7 @@ Microsoft.CodeAnalysis.CSharp.Conversion.Equals(Microsoft.CodeAnalysis.CSharp.Co | |||
Microsoft.CodeAnalysis.CSharp.Conversion.Exists.get -> bool | |||
Microsoft.CodeAnalysis.CSharp.Conversion.IsAnonymousFunction.get -> bool | |||
Microsoft.CodeAnalysis.CSharp.Conversion.IsBoxing.get -> bool | |||
Microsoft.CodeAnalysis.CSharp.Conversion.IsCollectionLiteral.get -> bool |
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.
@cston Just want to confirm we intend to keep this API name (as opposed to IsCollectionExpression
or some such)
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.
This property was renamed in 17.8 to IsCollectionExpression
(see #69114).
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.
For cases like this, do we just resolve when we ship the 17.8 as a remove/add?
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.
@cston What do you think of keeping IsCollectionLiteral
as unshipped in 17.7?
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.
This probably needs to be renamed. Unless we also have IsTupleLiteral for the conversion as well.
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.
What do you think of keeping
IsCollectionLiteral
as unshipped in 17.7?
Does that mean, leave IsCollectionLiteral
in Public.Unshipped.txt for 17.7? What would that affect?
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.
You can also mark this as shipped but have a REMOVE line in the unshipped for 17.8. It makes it clearer that it would be a break in that case.
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.
Either seems fine to me.
Since the collection expressions feature is only in preview in 17.7, it seems fine to leave this API as unshipped. But we can also add it and remove it 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 leave it as unshipped.
A couple of files show only whitespace/newline changes (LanguageServer/Protocol and RazorCompiler). Can we revert those? |
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 with review pass (iteration 1)
Done |
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.
LGTM Thanks (iteration 2)
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.
LGTM Thanks (iteration 3)
No description provided.