Skip to content

[release/11.0] Only consider ECMA assemblies without DisableRuntimeMarshallingAttribute as having runtime marshalling enabled - #136714

Merged
agocke merged 1 commit into
release/11.0from
backport/pr-133977-to-release/11.0
Nov 4, 2026
Merged

agocke merged 1 commit into
release/11.0from
backport/pr-133977-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #133977 to release/11.0

/cc @jkoritzinsky

Customer Impact

  • Customer reported
  • Found internally

Internal customer tried to use code from System.Drawing.Common that uses delegate interop via Marshal.GetFunctionPointerForDelegate<T> and NativeAOT fails to compile with an error in NativeAOT-generated code.

There is no workaround for the customer as the interop logic exists within System.Drawing.Common's GDI+ interop, not within user code.

Regression

  • Yes
  • No

Testing

Manual testing validation by the customer with a patch on top of the release/11.0 branch.

Risk

Low, targeted fix.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • For .NET 8 and .NET 9: The PR target branch is release/X.0-staging, not release/X.0.
  • For .NET 10+: The PR target branch is release/X.0 (no -staging suffix).

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

@JulieLeeMSFT JulieLeeMSFT added the Servicing-consider Issue for next servicing release review label Oct 30, 2026
@JulieLeeMSFT JulieLeeMSFT added this to the 11.0.0 milestone Oct 30, 2026
@JulieLeeMSFT JulieLeeMSFT added Servicing-approved Approved for servicing release apx Related to the Intel Advanced Performance Extensions (APX) and removed Servicing-consider Issue for next servicing release review labels Nov 2, 2026
@JulieLeeMSFT

Copy link
Copy Markdown
Member

@jkoritzinsky, it's servicing approved. Please check test failures.

@jkoritzinsky

Copy link
Copy Markdown
Member

/ba-g mutex test failures are unrelated

@jkoritzinsky

Copy link
Copy Markdown
Member

@JulieLeeMSFT this is ready to merge.

@agocke
agocke merged commit 9a13083 into release/11.0 Nov 4, 2026
138 of 147 checks passed
@agocke
agocke deleted the backport/pr-133977-to-release/11.0 branch November 4, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apx Related to the Intel Advanced Performance Extensions (APX) area-NativeAOT-coreclr Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants