mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
- Optimize ToUpperInvariant/ToLowerInvariant - Also optimize static field TextInfo.Invariant - Rewrite ToUpper/Lower(Invariant) call sites to use optimized method - Fix some uses of culture-aware ToUpper / ToLower to use invariant culture - Replace Trim().Length with IsNullOrWhiteSpace where appropriate - Use ordinal StartsWith / EndsWith where appropriate - Avoid calling CultureInfo.InvariantCulture where possible