🤖 Merge 'main' => 'xcode27.0' - #26315
Conversation
This pull request updates the following dependencies ## From https://github.com/dotnet/dotnet - **Subscription**: [da09b56a-0fb1-439a-b894-def14d2ec0a4](https://maestro.dot.net/subscriptions?search=da09b56a-0fb1-439a-b894-def14d2ec0a4) - **Build**: [20260724.15](https://dev.azure.com/dnceng/internal/_build/results?buildId=3030953) ([324417](https://maestro.dot.net/channel/10307/github:dotnet:dotnet/build/324417)) - **Date Produced**: July 25, 2026 1:33:23 AM UTC - **Commit**: [dfdd32e8a9349462e71f687679bc7e5837b8ef4a](dotnet/dotnet@dfdd32e) - **Branch**: [release/10.0.4xx](https://github.com/dotnet/dotnet/tree/release/10.0.4xx) - **Dependency Updates**: - From [10.0.0-beta.26371.110 to 10.0.0-beta.26374.115][1] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.SharedFramework.Sdk - From [10.0.400-preview.0.26371.110 to 10.0.400-preview.0.26374.115][1] - Microsoft.NET.Sdk - From [10.0.400 to 10.0.400][1] - Microsoft.TemplateEngine.Authoring.Tasks [1]: dotnet/dotnet@5a7ae45...dfdd32e
Generated managed registrar callbacks targeting CoreCLR still receive `UnmanagedCallersOnlyAttribute`, but no longer include its unused `EntryPoint` named field. MonoVM and NativeAOT configurations continue to include `EntryPoint`, preserving direct-symbol lookup behavior. Added focused assembly-preparer tests covering both CoreCLR and MonoVM. Fixes #21732 🤖 Pull request created by Copilot --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Copilot-Session: 45717e2d-c75e-4743-aca9-b9f6a8fa9ebe
…eAssemblies builds. (#26300) The assembly-preparer's RemoveUserResourcesSubStep unconditionally skipped resource stripping for every assembly in Hot Reload compatible builds. This was too broad: linked (trimmed) assemblies are re-serialized regardless, so stripping them doesn't break Hot Reload - only reloadable (non-linked, copied) assemblies must be left untouched. This matches the non-preparer (ILLink) code path, which only skips assemblies whose action isn't 'Link'. Without this fix, the 'prepare-assemblies|trimmable-static-registrar' variation of the 'link all' MacCatalyst test failed because embedded resources were left in the linked BundledResources assembly. Updated the unit tests to cover both the reloadable (kept) and linked (stripped) cases in a Hot Reload build. 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ionOptions, CVTime, NSInputStream, GKBehavior, GKState, NLLanguageRecognizer, NEHotspotHelperOptions, SCNScene, SLComposeViewController (#26294) Improve XML documentation for 10 types: - CNContactFetchRequest - CIImageInitializationOptions - CVTime - NSInputStream - GKBehavior - GKState - NLLanguageRecognizer - NEHotspotHelperOptions - SCNScene - SLComposeViewController Changes include adding missing summaries, fixing tag ordering (summary before param), removing empty nodes, and fixing typos. 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The binding generator synthesizes C# `event` members from the `[BaseType]` delegate/EventArgs wiring, but never emitted any XML documentation for them. As a result every generated event showed up as an undocumented, publicly-visible member and had to be allow-listed in the documentation known-failures list. This PR makes bgen emit a generated `## ` for each synthesized event (guarded by `BindingTouch.SupportsXmlDocumentation`), for both the non-generic `EventHandler` and the generic `EventHandler<T>` branches. When the binding already provides docs via `[EventArgs (XmlDocs = ...)]`, those are used instead and no generated summary is emitted. The generic branch adds a `<see cref=...>` to the generated EventArgs type; crefs resolve correctly (verified against the `VerifyNoUnresolvedCrefs` test). With the events now documented, 67 generated-event `E:` entries are removed from `tests/cecil-tests/Documentation.KnownFailures.txt`. The remaining 38 `E:` entries in that file are hand-written events (not produced by bgen) and are intentionally left allow-listed; documenting those is a separate follow-up. Test coverage: `tests/bgen/tests/xmldocs.cs` gains a single-parameter delegate method (`DidFinish`) so both the non-generic and generic event branches are exercised, and the four `ExpectedXmlDocs.*.xml` baselines are regenerated accordingly. The bgen `XmlDocs` test passes on all four platforms. 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
# Conflicts: # tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-TrimmableStatic-size.txt # tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-size.txt
There was a problem hiding this comment.
Protected files were modified in this pull request and require manual scrutiny before merge.
Please verify that each protected-file change is intentional, policy-compliant, and safe:
- Protected files:
README.md,.agents/files/training-log-macios-binding-creator.md,.agents/skills/macios-binding-creator/SKILL.md,.agents/skills/macios-binding-creator/references/binding-patterns.md,.agents/skills/macios-binding-creator/references/test-workflow.md,.agents/training-logs/macios-binding-creator.md
✅ [CI Build #c5ac83b] Prepare .NET Release succeeded ✅📦 Published NuGet packages (32 packages)iOS
MacCatalyst
macOS
tvOS
Other
Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #7c17c1b] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 200 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Caution
Protected files were modified in this change.
This pull request is in
request_reviewmode and requires explicit human scrutiny before merge.Protected files:
README.md,.agents/files/training-log-macios-binding-creator.md,.agents/skills/macios-binding-creator/SKILL.md,.agents/skills/macios-binding-creator/references/binding-patterns.md,.agents/skills/macios-binding-creator/references/test-workflow.md,.agents/training-logs/macios-binding-creator.mdAutomated merge of
mainintoxcode27.0.Created by the code-radiator workflow.