chromelyapps / Chromely

Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
MIT License
2.99k stars 279 forks source link

Fix CA1304 warning. #366

Closed xplicit closed 2 years ago

xplicit commented 2 years ago

This commit fixes CA1304 warning during build. Also, it reduces number of allocations when comparing using lower register and improves performance by using OrdinalComparison where possible instead of culture-specific comparison.