Make HttpResponseMessage.Content non-nullable (#35910)
authorStephen Toub <stoub@microsoft.com>
Fri, 8 May 2020 00:02:37 +0000 (20:02 -0400)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 00:02:37 +0000 (20:02 -0400)
commitb48900f3b37e6d68b5d84a3e48f0c5beb602a128
treebf0127fc299d52a005703b0cbb902c0b4aaf6ad6
parent43b5d81660045be81910074f3a4d6c0b96b26305
Make HttpResponseMessage.Content non-nullable (#35910)

* Make HttpResponseMessage.Content non-nullable

* Fix Microsoft.Extensions.Http test
src/libraries/Microsoft.Extensions.Http/tests/Logging/RedactedLogValueIntegrationTest.cs
src/libraries/System.Net.Http/ref/System.Net.Http.cs
src/libraries/System.Net.Http/src/System.Net.Http.csproj
src/libraries/System.Net.Http/src/System/Net/Http/EmptyContent.cs [new file with mode: 0644]
src/libraries/System.Net.Http/src/System/Net/Http/EmptyReadStream.cs [moved from src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/EmptyReadStream.cs with 100% similarity]
src/libraries/System.Net.Http/src/System/Net/Http/HttpBaseStream.cs [moved from src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpBaseStream.cs with 100% similarity]
src/libraries/System.Net.Http/src/System/Net/Http/HttpResponseMessage.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpResponseMessageTest.cs
src/libraries/System.Net.Http/tests/StressTests/HttpStress/ClientOperations.cs
src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj