Skip to content

Clarify event handler invocation order and return in managed assembly loading algorithm - #55110

Open
elinor-fung with Copilot wants to merge 3 commits into
mainfrom
copilot/address-documentation-gaps-74068
Open

Clarify event handler invocation order and return in managed assembly loading algorithm#55110
elinor-fung with Copilot wants to merge 3 commits into
mainfrom
copilot/address-documentation-gaps-74068

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

In the managed assembly loading algorithm, the steps that raise the AssemblyLoadContext.Resolving and AppDomain.AssemblyResolve events now note that handlers are invoked in registration order and the first handler returning a non-null assembly ends the resolution.

Resolves dotnet/runtime#74068.


Internal previews

File Preview link
docs/core/dependency-loading/loading-managed.md docs/core/dependency-loading/loading-managed

Copilot AI review requested due to automatic review settings July 28, 2026 18:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Copilot AI requested a review from elinor-fung July 28, 2026 18:27
@elinor-fung
elinor-fung marked this pull request as ready for review July 28, 2026 18:28
@elinor-fung
elinor-fung requested a review from a team as a code owner July 28, 2026 18:28
@elinor-fung elinor-fung changed the title Clarify event handler invocation order in managed assembly loading algorithm Clarify event handler invocation order and return in managed assembly loading algorithm Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default AssemblyLoadContext resolves assembly on the 2nd attempt

4 participants