Skip to content

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Nov 15, 2025

Fixes #81171

Relates to test plan #76130

@jcouv jcouv self-assigned this Nov 15, 2025
@jcouv jcouv added Area-Compilers Feature - Extension Everything The extension everything feature labels Nov 15, 2025
@jcouv jcouv marked this pull request as ready for review November 17, 2025 18:43
@jcouv jcouv requested review from AlekseyTs and jjonescz November 18, 2025 09:13

if (body.HasErrors)
{
return;
Copy link
Member

Choose a reason for hiding this comment

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

Should we test when there are errors?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it's possible currently. The main thing that could go wrong during this rewriting is that an implementation method would be missing, but we block that upstream (in metadata loading). See PEMethodSymbol_GetUseSiteInfo.
Still, I think we should have this check for robustness.

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 1)

@jcouv jcouv merged commit 2c128e5 into dotnet:main Nov 19, 2025
27 checks passed
@jcouv jcouv deleted the extensions-ee branch November 19, 2025 06:17
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Feature - Extension Everything The extension everything feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash using extension property in expression evaluator

3 participants