IOperation: VB - It doesn't feel appropriate for BoundDelegateCreationExpression to implement IMethodBindingExpression #8897
Labels
Area-Analyzers
Bug
Concept-API
This issue involves adding, removing, clarification, or modification of an API.
Feature - IOperation
IOperation
Language-VB
Urgency-Soon
Milestone
BoundDelegateCreationExpression represents a delegate creation and its type is the target delegate, "a reference to a method other than as the target of an invocation" isn't a value, it doesn't imply a delegate involvement and is not supposed to have a type. If IMethodBindingExpression is supposed to represent a delegate creation, let's rename it and adjust its description. Otherwise, we probably should add a special node to represent a delegate creation, which will have IMethodBindingExpression as its operand.
The text was updated successfully, but these errors were encountered: