From 44e94c8a28a4739243dcc6d8885ec746760066b7 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 3 Aug 2023 14:36:41 +0800 Subject: [PATCH] Implicit using --- .../Grpc.Net.Client.Web.Tests.csproj | 4 ++++ test/Grpc.Net.Client.Web.Tests/GrpcWebHandlerTests.cs | 1 - test/Grpc.Net.Client.Web.Tests/GrpcWebRequestContentTests.cs | 1 - test/Grpc.Net.Client.Web.Tests/GrpcWebResponseContentTests.cs | 1 - .../DefaultGrpcClientFactoryTests.cs | 1 - .../GrpcHttpClientBuilderExtensionsTests.cs | 1 - 6 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/Grpc.Net.Client.Web.Tests/Grpc.Net.Client.Web.Tests.csproj b/test/Grpc.Net.Client.Web.Tests/Grpc.Net.Client.Web.Tests.csproj index f53855a43..3d00f4b82 100644 --- a/test/Grpc.Net.Client.Web.Tests/Grpc.Net.Client.Web.Tests.csproj +++ b/test/Grpc.Net.Client.Web.Tests/Grpc.Net.Client.Web.Tests.csproj @@ -10,6 +10,10 @@ + + + + diff --git a/test/Grpc.Net.Client.Web.Tests/GrpcWebHandlerTests.cs b/test/Grpc.Net.Client.Web.Tests/GrpcWebHandlerTests.cs index aee907cce..176588da5 100644 --- a/test/Grpc.Net.Client.Web.Tests/GrpcWebHandlerTests.cs +++ b/test/Grpc.Net.Client.Web.Tests/GrpcWebHandlerTests.cs @@ -17,7 +17,6 @@ #endregion using System.Net; -using System.Net.Http; using System.Net.Http.Headers; using Grpc.Net.Client.Web.Internal; using Grpc.Shared; diff --git a/test/Grpc.Net.Client.Web.Tests/GrpcWebRequestContentTests.cs b/test/Grpc.Net.Client.Web.Tests/GrpcWebRequestContentTests.cs index ca4a9b227..fe2c0ff69 100644 --- a/test/Grpc.Net.Client.Web.Tests/GrpcWebRequestContentTests.cs +++ b/test/Grpc.Net.Client.Web.Tests/GrpcWebRequestContentTests.cs @@ -17,7 +17,6 @@ #endregion using System.Net; -using System.Net.Http; using Grpc.Net.Client.Web.Internal; using NUnit.Framework; diff --git a/test/Grpc.Net.Client.Web.Tests/GrpcWebResponseContentTests.cs b/test/Grpc.Net.Client.Web.Tests/GrpcWebResponseContentTests.cs index e438fb217..02938867b 100644 --- a/test/Grpc.Net.Client.Web.Tests/GrpcWebResponseContentTests.cs +++ b/test/Grpc.Net.Client.Web.Tests/GrpcWebResponseContentTests.cs @@ -17,7 +17,6 @@ #endregion using System.Net; -using System.Net.Http; using System.Net.Http.Headers; using Grpc.Net.Client.Web.Internal; using NUnit.Framework; diff --git a/test/Grpc.Net.ClientFactory.Tests/DefaultGrpcClientFactoryTests.cs b/test/Grpc.Net.ClientFactory.Tests/DefaultGrpcClientFactoryTests.cs index c3d71a744..282b43e00 100644 --- a/test/Grpc.Net.ClientFactory.Tests/DefaultGrpcClientFactoryTests.cs +++ b/test/Grpc.Net.ClientFactory.Tests/DefaultGrpcClientFactoryTests.cs @@ -16,7 +16,6 @@ #endregion -using System.Net.Http; using Greet; using Grpc.Core; using Grpc.Net.Client.Internal; diff --git a/test/Grpc.Net.ClientFactory.Tests/GrpcHttpClientBuilderExtensionsTests.cs b/test/Grpc.Net.ClientFactory.Tests/GrpcHttpClientBuilderExtensionsTests.cs index fd8fb53ec..6a505f1dc 100644 --- a/test/Grpc.Net.ClientFactory.Tests/GrpcHttpClientBuilderExtensionsTests.cs +++ b/test/Grpc.Net.ClientFactory.Tests/GrpcHttpClientBuilderExtensionsTests.cs @@ -18,7 +18,6 @@ using System.Globalization; using System.Net; -using System.Net.Http; using Greet; using Grpc.Core; #if NET5_0_OR_GREATER