Skip to content

Conversation

@calumgrant
Copy link
Contributor

Fixes a VALUE_NOT_IN_TYPE caused by

del?.Invoke(x)

Note: will need a DB scheme bump prior to merge.

@calumgrant calumgrant requested a review from a team as a code owner February 7, 2020 12:06
@calumgrant calumgrant added depends on internal PR This PR should only be merged in sync with an internal Semmle PR C# labels Feb 10, 2020
@calumgrant calumgrant force-pushed the cs/qualifiable-delegates branch 2 times, most recently from bad8ef7 to 290e8ad Compare February 12, 2020 16:44
| @method_invocation_expr
| @element_access_expr;
| @element_access_expr
| @delegate_invocation_expr;
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we should add QualifiableExpr as a base class of DelegateCall too then? Even though it may look like an innocent change, simple changes to the type hierarchy have caused performance problems in the past, so we better run a dist comparison.

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

Labels

C# depends on internal PR This PR should only be merged in sync with an internal Semmle PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants