mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* Prevent DivideByZeroException in EventCounter.ToString() Maybe it should print something other than 0. Maybe "Mean" should be excluded. But at least with this it doesn't divide by zero. Ternary operator in interpolated string is not super readable; didn't know if making the code more descriptive would have performance implications. * Update src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs Co-Authored-By: Stephen Toub <[email protected]> Signed-off-by: dotnet-bot <[email protected]>