RepoJournal
.NET

@dotnet

The .NET runtime, ASP.NET, and the C# tooling

Keep up with .NET in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: .NET Full archive →

The Wire · Showcase

RUNTIME HARDENS UNSAFE CALLS WHILE MAUI FIXES MERGE PIPELINE

By RepoJournal · Filed · About .NET

The CLR just shipped tooling to migrate LibraryImport toward unsafe-v2, plus allocation cuts in COM interop, while MAUI plugs gaps in its bot-driven merge policy.

EgorBo landed the big one: LibraryImportGenerator now participates in C#'s new unsafe-evolution rules [1], complete with an analyzer and code-fixer to automatically add `unsafe` keywords to existing [LibraryImport] calls that lacked safety annotations [2]. Nothing breaks under unsafe-v1, but this is the tooling your team needs before unsafe-v2 becomes the default. On the allocation front, Theodore Tsirpanis eliminated temporary array allocations in ComVariant.As by using `params ReadOnlySpan<VarEnum>` to reference RVA fields directly [3], a small win that compounds across high-traffic P/Invoke paths. Over in MAUI, two follow-ups landed on merge automation: PureWeen closed post-merge review findings on the finalize step [4], and fixed the bot-opened inter-branch policy to stop redundantly checking issue authors [5]. The team also ripped out blanket integration-test retries after discovering 98.2% of them reproduced identical failures anyway, cutting noise from the pipeline [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Support unsafe evolution in LibraryImportGenerator ↗ dotnet/runtime
  2. [2] Support unsafe evolution in LibraryImportGenerator (#131245) dotnet/runtime
  3. [3] Remove temporary array allocations in `ComVariant.As`. (#131704) dotnet/runtime
  4. [4] Address post-merge review findings on the PR finalize apply step ↗ dotnet/maui
  5. [5] Fix bot-opened inter-branch merge policy matching ↗ dotnet/maui
  6. [6] Remove ineffective blanket integration-test retry (#36994) dotnet/maui

Quick answers

What shipped in .NET on August 2, 2026?
The CLR just shipped tooling to migrate LibraryImport toward unsafe-v2, plus allocation cuts in COM interop, while MAUI plugs gaps in its bot-driven merge policy. In total, 6 commits and 6 pull requests landed.
Who contributed to .NET on August 2, 2026?
5 developers shipped this update, including EgorBo, Theodore Tsirpanis, jkotas, Shane Neuville, and Copilot.
What were the notable .NET updates?
Support unsafe evolution in LibraryImportGenerator, Support unsafe evolution in LibraryImportGenerator (#131245), and Remove temporary array allocations in `ComVariant.As`. (#131704).

More from @dotnet

Daily updates, in your inbox

Follow .NET

Keep up with .NET in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?