stephentoub ba797defff Replace Substring(...).Trim() with SubstringTrim(...)
System.Net.WebHeaderCollection already had a SubstringTrim helper that's used instead of Substring(...).Trim() to avoid first creating the substring and then trimming it, instead just offsetting the startIndex and length appropriately to do the Substring once.

I've factored this helper out into Common, added unit tests, cleaned it up a bit, and used it in several more places in System.Net.


Commit migrated from https://github.com/dotnet/corefx/commit/4e45e641c9d97c3a5d3b6fec4f6ffc33a2405fee
2015-10-28 12:29:59 -04:00
S
Description
.NET Runtime used for BepInEx
MIT
659 MiB
0 Stars 1 Watchers 0 Forks
Languages
C# 78.4%
C++ 11.1%
C 8.6%
Visual Basic .NET 0.5%
Assembly 0.4%
Other 0.6%