-
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
Implement IOperation support for inline array access #68373
Implement IOperation support for inline array access #68373
Conversation
@cston, @dotnet/roslyn-compiler Please review |
@@ -3366,4 +3366,25 @@ | |||
</Comments> | |||
</Property> | |||
</Node> | |||
<Node Name="IInlineArrayAccessOperation" Base="IOperation" ChildrenOrder="Instance,Argument" HasType="true"> |
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.
I'm not sure why we couldn't simply reuse IArrayElementReferenceOperation
for this? And even if we don't, we should probably keep the naming consistent. #Resolved
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.
I'm not sure why we couldn't simply reuse
IArrayElementReferenceOperation
for this?
I will be happy to have this discussion during an API review meeting. Personally, I don't feel that reusing is appropriate, given that the node doesn't always represent an element access.
And even if we don't, we should probably keep the naming consistent.
I think that there is more similarities with IImplicitIndexerReferenceOperation
and I kept the naming consistent with that node. Again, we will review the shape of the API later.
@cston, @dotnet/roslyn-compiler Please review |
@333fred, @dotnet/roslyn-compiler Please review. |
Relates to test plan #67826