RepoJournal
.NET

@dotnet

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

Pick a date

Topics: .NET Full archive →

The Wire · Showcase

MATH.ROUND BUG CORRUPTS 5% OF INPUTS. EVENTPIPE LOSES HEAP DATA. SQLCLIENT GOES ASYNC

By RepoJournal · Filed · About .NET

Runtime shipped a critical fix for Math.Round that was silently mangling roughly 5% of all rounding operations across the BCL, while EventPipe's data loss is finally getting a blocking mode to save your GC dumps.

Math.Round(double, digits, mode) and MathF.Round(float, digits, mode) were computing an intermediate multiplication that lost precision, scaling values across rounding boundaries and silently corrupting results [1]. This affected the entire math stack. In parallel, EventPipe's lossy buffer design was dropping GC heap edges during large snapshots, corrupting dotnet-gcdump rebuilds; runtime now ships blocking mode to fix this [2]. SqlClient is shipping async counterparts for Always Encrypted key store providers, removing forced synchronous blocking during queries [5]. Separately, the SDK fixed P/Invoke profiler callbacks that were corrupting the shadow stack by firing spurious ELT events alongside transition callbacks [3]. Operator SDK hit v13.0.0 with breaking changes to leader election scoping and multi-assembly composition [4]. All three .NET LTS/current branches shipped patched builds: 8.0.29, 9.0.18, and 10.0.10 [6] [8] [7].

Action items

References

  1. [1] Fix incorrect rounding in Math.Round and MathF.Round with digits ↗ dotnet/runtime
  2. [2] [EventPipe] Add Blocking EventPipe Mode ↗ dotnet/runtime
  3. [3] Don't emit ELT callbacks for P/Invoke methods ↗ dotnet/runtime
  4. [4] v13.0.0 ↗ dotnet/dotnet-operator-sdk
  5. [5] Introduce Async API counterparts for AE base class ↗ dotnet/SqlClient
  6. [6] .NET 8.0.29 ↗ dotnet/efcore
  7. [7] .NET 10.0.10 ↗ dotnet/efcore
  8. [8] .NET 9.0.18 ↗ dotnet/efcore

Quick answers

What shipped in .NET on July 15, 2026?
Runtime shipped a critical fix for Math.Round that was silently mangling roughly 5% of all rounding operations across the BCL, while EventPipe's data loss is finally getting a blocking mode to save your GC dumps. In total, 34 commits, 37 pull requests, and 7 releases landed.
Who contributed to .NET on July 15, 2026?
10 developers shipped this update, including tannergooding, Pavel Savara, mdh1418, steveisok, jakobbotsch, github-actions[bot], renovate, and paulmedynski, and 2 more.
What were the notable .NET updates?
Fix incorrect rounding in Math.Round and MathF.Round with digits, [EventPipe] Add Blocking EventPipe Mode, and Don't emit ELT callbacks for P/Invoke methods.

More from @dotnet

Daily updates, in your inbox

Follow .NET

The .NET runtime, ASP.NET, and the C# tooling We'll email you a link to confirm first.

Free. Confirm via email. Unsubscribe in one click.

— or follow the whole beat:

Elsewhere on the wire