Skip to content

fix event-invocation on AOT targets - #3158

Merged
mgravell merged 1 commit into
mainfrom
marc/fix-evt
Aug 6, 2026
Merged

fix event-invocation on AOT targets#3158
mgravell merged 1 commit into
mainfrom
marc/fix-evt

Conversation

@mgravell

@mgravell mgravell commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

investigate and fix #3157

We have (had) evil code for invoking delegates; when available, replace this with Delegate.EnumerateInvocationList.

We also add an AOT demo project in the toys area, multi-targeting net8 and net10 (because the new feature was added in net9).

Checklist

  • I fully and freely contribute this code in accordance with the project license (and am legally able to do so)
  • I take responsibility for this contribution's quality and correctness, including any portions produced with AI assistance (see CONTRIBUTING.md).

@mgravell
mgravell merged commit 00a4853 into main Aug 6, 2026
6 checks passed
@mgravell
mgravell deleted the marc/fix-evt branch August 6, 2026 05:40
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.

System.MissingFieldException is raised when connect failed in NativeAOT app

2 participants