Add missing string function ordinal specifications

This commit is contained in:
Dean Herbert
2020-10-16 12:49:31 +09:00
parent 39a74536f2
commit cc41845f56
6 changed files with 13 additions and 12 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Utils
// since we let unhandled exceptions go ignored at times, we want to ensure they don't get submitted on subsequent reports.
if (lastException != null &&
lastException.Message == exception.Message && exception.StackTrace.StartsWith(lastException.StackTrace))
lastException.Message == exception.Message && exception.StackTrace.StartsWith(lastException.StackTrace, StringComparison.Ordinal))
return;
lastException = exception;