Skip to content

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Nov 9, 2024

The logic previously used MightContainReferences which is a crude approximation of IsManagedType.
This is in preparation for work on #75666
Relates to recent change (#75426) which is also about conditionally clearing state in managed types to let go of any unnecessary references.

Look at the diff between commit 1 (baseline) and commit 2 (code change) to see the expectedOutput and IL changes.

@jcouv jcouv self-assigned this Nov 9, 2024
@ghost ghost added the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 9, 2024
@jcouv jcouv marked this pull request as ready for review November 11, 2024 21:40
@jcouv jcouv requested a review from a team as a code owner November 11, 2024 21:40
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 5)

@jcouv
Copy link
Member Author

jcouv commented Nov 12, 2024

@dotnet/roslyn-compiler for second review. Thanks

@jcouv jcouv merged commit 24e78cf into dotnet:main Nov 14, 2024
24 checks passed
@jcouv jcouv deleted the is-managed branch November 14, 2024 20:19
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 14, 2024
@jjonescz jjonescz modified the milestones: Next, 17.13 P2 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants