Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

@AlekseyTs AlekseyTs commented Jul 24, 2025

Doing this check while loading types might get compiler into a cycle.

Relates to test plan #76130

…m metadata

Doing this check while loading types might get compiler into a cycle.
@AlekseyTs AlekseyTs requested review from jcouv and jjonescz July 24, 2025 20:47
@AlekseyTs AlekseyTs requested a review from a team as a code owner July 24, 2025 20:47
@AlekseyTs AlekseyTs added Area-Compilers Feature - Extension Everything The extension everything feature labels Jul 24, 2025
if (marker.TryGetExtensionMarkerMethod() is { IsNil: false } markerHandle)
{
marker = PENamedTypeSymbol.Create(moduleSymbol, this, markerRid, type.Handle, markerHandle);
marker = PENamedTypeSymbol.Create(moduleSymbol, this, markerRid, marker, markerHandle);
Copy link
Member

Choose a reason for hiding this comment

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

nit: it didn't catch my eye in earlier PR, but it's strange to assign this to marker. A fresh local, maybe named "extension", would be better. I'm happy to do this tweak later on (just let me know if okay)

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (commit 1)

@jcouv jcouv self-assigned this Jul 24, 2025
@AlekseyTs
Copy link
Contributor Author

@jjonescz, @dotnet/roslyn-compiler For a second review

@AlekseyTs AlekseyTs merged commit 1ad52b4 into dotnet:features/extensions Jul 25, 2025
24 checks passed
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.

3 participants