Skip to content

Implement support for emitting PrivateImplementationDetails to EnC deltas#69485

Merged
tmat merged 4 commits intodotnet:mainfrom
tmat:PrivateImplDetails
Aug 23, 2023
Merged

Implement support for emitting PrivateImplementationDetails to EnC deltas#69485
tmat merged 4 commits intodotnet:mainfrom
tmat:PrivateImplDetails

Conversation

@tmat
Copy link
Member

@tmat tmat commented Aug 12, 2023

Includes support for synthesized inline arrays, inline array helpers and string switch helpers.

We emit new PID type and its contents to each EnC delta. Since PID is not a first-class symbol, this approach is simpler than implementing logic that maps new PID members to the previously emitted ones. We can add the sharing if needed later.

For now, avoid using PID for features that generate FieldRva. In theory, it should work but we need to test it with all supported runtimes. See #69480.

Adds VB implementation of EditAndContinueTest so that we can use the same test helpers between C# and VB.

Fixes #69398

@tmat tmat requested a review from a team as a code owner August 12, 2023 16:37
@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 12, 2023
@tmat tmat force-pushed the PrivateImplDetails branch from 61f8408 to 2dd3a65 Compare August 12, 2023 19:27
@dotnet dotnet deleted a comment from pinkfloydx33 Aug 12, 2023
@tmat
Copy link
Member Author

tmat commented Aug 12, 2023

@davidwengier PTAL

Copy link
Member

@davidwengier davidwengier left a comment

Choose a reason for hiding this comment

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

Consider getting a compiler review here, as I don't have any context as to implications, but the changes make sense in and of themselves.

@tmat
Copy link
Member Author

tmat commented Aug 14, 2023

@dotnet/roslyn-compiler @cston PTAL

@jcouv jcouv self-assigned this Aug 15, 2023
@jaredpar
Copy link
Member

@RikkiGibson, @jcouv PTAL

@tmat tmat force-pushed the PrivateImplDetails branch from 2dd3a65 to 702cd78 Compare August 21, 2023 15:53
@ghost ghost added this to the Next milestone Aug 23, 2023
@dibarbet dibarbet modified the milestones: Next, 17.8 P2 Aug 28, 2023
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.

Compiler crashes when emitting EnC delta for assembly with synthesized inline array types

8 participants