Mechanical/automated change. The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered.
Commit migrated from https://github.com/dotnet/corefx/commit/09a6e66b0c2b31bd0f6e7e3170537d14027aeed0
Added more http tests to open source from the original internal ToF tests. Some of
the tests should be refactored in the future to avoid Assert'ing multiple
logical things.
Fixed up test namespaces for System.Net.Http and
System.Net.Http.WinHttpHandler.
Commit migrated from https://github.com/dotnet/corefx/commit/e5a017cb6ca01e99b1f1462298bc0cbf60c06ee0
- Avoid unnecessary allocations associated with the use of
ToUpperInvariant().
- Update tests to be more explicit about the ToUpperInvariant()
behavior.
- Minor cleanup (readonly field, remove unused usings & trailing
whitespace).
Commit migrated from https://github.com/dotnet/corefx/commit/a75896bd169b6481543d1a99d9d110a1c0339987
A PR from last month changed how GetHashCode() works. This ended up
breaking tests against the .NET Native build of System.Net.Http which
shares the same source code as CoreFx. So, reverting the change in
GetHashCode() and porting additional ToF tests to GitHub.
Commit migrated from https://github.com/dotnet/corefx/commit/2dcf6471f00954b86663f26f5ce45d8c3485017b