Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

@AlekseyTs AlekseyTs commented Jul 25, 2025

Speclet change dotnet/csharplang#9550

Relates to test plan #76130

@AlekseyTs AlekseyTs requested review from jcouv and jjonescz July 25, 2025 20:28
@AlekseyTs AlekseyTs requested a review from a team as a code owner July 25, 2025 20:28
@AlekseyTs AlekseyTs added Area-Compilers Feature - Extension Everything The extension everything feature labels Jul 25, 2025

foreach (var extension in GetCorrespondingMarkerType((SourceNamedTypeSymbol)marker.ContainingType).UnderlyingExtensions)
{
foreach (var symbol in extension.GetMembers())
Copy link
Member

@jjonescz jjonescz Jul 25, 2025

Choose a reason for hiding this comment

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

Why are we using members now to infer the visibility? #Resolved

Copy link
Contributor Author

@AlekseyTs AlekseyTs Jul 25, 2025

Choose a reason for hiding this comment

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

Why are we using members now to infer the visibility?

We discussed this in our working group and decided that doing this will be better. For example, empty extensions will not have impact on public surface. If all members are internal, there will be no impact on public surface even if extended type is public, etc.

@AlekseyTs AlekseyTs requested a review from jjonescz July 26, 2025 03:57
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 2)

@jcouv jcouv merged commit e7fd8da into dotnet:features/extensions Jul 28, 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