Skip to content

EnC: Block additions to MethodImpl table when targeting .NET Framework#81304

Merged
tmat merged 8 commits intodotnet:mainfrom
tmat:EncBlockMethodImpl
Dec 3, 2025
Merged

EnC: Block additions to MethodImpl table when targeting .NET Framework#81304
tmat merged 8 commits intodotnet:mainfrom
tmat:EncBlockMethodImpl

Conversation

@tmat
Copy link
Member

@tmat tmat commented Nov 17, 2025

Block additions to MethodImpl table when targeting .NET Framework.
The EnC impl in .NET Framework doesn't handle them correctly.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2631743 and https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1452066/

Public API change: #81305

@tmat tmat requested review from a team as code owners November 17, 2025 22:32
@dotnet-policy-service dotnet-policy-service bot added VSCode Needs API Review Needs to be reviewed by the API review council labels Nov 17, 2025
@tmat
Copy link
Member Author

tmat commented Nov 17, 2025

@DustinCampbell @dotnet/roslyn-compiler ptal

@333fred
Copy link
Member

333fred commented Nov 18, 2025

Build failures look real.

Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

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

LGTM, assuming CI is passing.

ERRID.ERR_CannotApplyOverloadResolutionPriorityToOverride,
ERRID.ERR_CannotApplyOverloadResolutionPriorityToMember,
ERRID.ERR_NextAvailable,
ERRID.ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime,
Copy link
Contributor

@AlekseyTs AlekseyTs Nov 20, 2025

Choose a reason for hiding this comment

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

ERR_EncUpdateRequiresEmittingExplicitInterfaceImplementationNotSupportedByTheRuntime

Similar question #Closed

@AlekseyTs
Copy link
Contributor

Done with review pass (commit 4)

@AlekseyTs
Copy link
Contributor

Done with review pass (commit 5). It looks like there are merge conflicts that must be resolved.

@tmat tmat force-pushed the EncBlockMethodImpl branch from 71cc1f2 to 69d87a2 Compare December 1, 2025 20:28
@tmat
Copy link
Member Author

tmat commented Dec 2, 2025

@AlekseyTs Conflicts resolved.

@tmat tmat force-pushed the EncBlockMethodImpl branch from 2d0c2f6 to ef8531e Compare December 2, 2025 19:02
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 8)

@tmat tmat merged commit 264f04f into dotnet:main Dec 3, 2025
29 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Dec 3, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Needs API Review Needs to be reviewed by the API review council VSCode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants