diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 00000000..3b54328d
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,33 @@
+
+
+
+ Deinok,Alexander Rose,graphql-dotnet
+ A GraphQL Client for .NET Standard
+ true
+ true
+ latest
+ en-US
+ $(NoWarn);NU5105
+ $(NoWarn);1591
+ annotations
+ logo.64x64.png
+ MIT
+ https://github.com/graphql-dotnet/graphql-client
+ true
+ GraphQL
+ git
+ true
+ true
+
+
+ true
+ embedded
+ enable
+ true
+ true
+ True
+ 4
+ true
+
+
+
diff --git a/src/src.props b/Directory.Build.targets
similarity index 66%
rename from src/src.props
rename to Directory.Build.targets
index 37933c88..af739e1d 100644
--- a/src/src.props
+++ b/Directory.Build.targets
@@ -1,20 +1,12 @@
-
-
-
- true
- 8.0
+
+ README.md
+
+ true
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
+
false
false
false
@@ -33,4 +25,19 @@
$(GitVersion_Sha)
+
+ $(NoWarn);1591
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
diff --git a/GraphQL.Client.sln b/GraphQL.Client.sln
index 2de94cfb..89782ecc 100644
--- a/GraphQL.Client.sln
+++ b/GraphQL.Client.sln
@@ -4,26 +4,21 @@ Microsoft Visual Studio Solution File, Format Version 12.00
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{47C98B55-08F1-4428-863E-2C5C876DEEFE}"
- ProjectSection(SolutionItems) = preProject
- src\.editorconfig = src\.editorconfig
- src\src.props = src\src.props
- EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{63F75859-4698-4EDE-8B70-4ACBB8BC425A}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
+ Directory.Build.props = Directory.Build.props
+ Directory.Build.targets = Directory.Build.targets
dotnet-tools.json = dotnet-tools.json
LICENSE.txt = LICENSE.txt
examples\GraphQL.Client.Example\Program.cs = examples\GraphQL.Client.Example\Program.cs
README.md = README.md
- root.props = root.props
+ tests\tests.props = tests\tests.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0B0EDB0F-FF67-4B78-A8DB-B5C23E1FEE8C}"
- ProjectSection(SolutionItems) = preProject
- tests\tests.props = tests\tests.props
- EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "assets", "assets", "{6326E0E2-3F48-4BAF-80D3-47AED5EB647C}"
ProjectSection(SolutionItems) = preProject
diff --git a/GraphQL.Client.sln.DotSettings b/GraphQL.Client.sln.DotSettings
deleted file mode 100644
index 9e5ec22f..00000000
--- a/GraphQL.Client.sln.DotSettings
+++ /dev/null
@@ -1,2 +0,0 @@
-
- QL
\ No newline at end of file
diff --git a/examples/GraphQL.Client.Example/Program.cs b/examples/GraphQL.Client.Example/Program.cs
index 0bfd14b1..a67114a1 100644
--- a/examples/GraphQL.Client.Example/Program.cs
+++ b/examples/GraphQL.Client.Example/Program.cs
@@ -7,7 +7,7 @@
namespace GraphQL.Client.Example
{
- public class Program
+ public static class Program
{
public static async Task Main()
{
diff --git a/root.props b/root.props
deleted file mode 100644
index 17bd287e..00000000
--- a/root.props
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
- Deinok,Alexander Rose,graphql-dotnet
- A GraphQL Client for .NET Standard
- True
- True
- 8.0
- en-US
- $(NoWarn);CS1591;NU5048;NU5105;NU5125
- annotations
- icon.png
- LICENSE.txt
- https://github.com/graphql-dotnet/graphql-client
- true
- GraphQL
- git
- https://github.com/graphql-dotnet/graphql-client
- True
- 4
-
-
-
-
- PreserveNewest
- true
- LICENSE.txt
- false
-
-
- PreserveNewest
- true
- icon.png
- false
-
-
-
-
diff --git a/src/GraphQL.Client.Abstractions.Websocket/GraphQL.Client.Abstractions.Websocket.csproj b/src/GraphQL.Client.Abstractions.Websocket/GraphQL.Client.Abstractions.Websocket.csproj
index 048dffbf..5960fbf8 100644
--- a/src/GraphQL.Client.Abstractions.Websocket/GraphQL.Client.Abstractions.Websocket.csproj
+++ b/src/GraphQL.Client.Abstractions.Websocket/GraphQL.Client.Abstractions.Websocket.csproj
@@ -1,7 +1,5 @@
-
-
Abstractions for the Websocket transport used in GraphQL.Client
netstandard2.0
diff --git a/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketRequest.cs b/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketRequest.cs
index f83fe5aa..1210c34a 100644
--- a/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketRequest.cs
+++ b/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketRequest.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
-
namespace GraphQL.Client.Abstractions.Websocket
{
///
diff --git a/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketResponse.cs b/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketResponse.cs
index 390834da..5de56492 100644
--- a/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketResponse.cs
+++ b/src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketResponse.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections.Generic;
-
namespace GraphQL.Client.Abstractions.Websocket
{
///
diff --git a/src/GraphQL.Client.Abstractions.Websocket/IGraphQLWebsocketJsonSerializer.cs b/src/GraphQL.Client.Abstractions.Websocket/IGraphQLWebsocketJsonSerializer.cs
index 5e3d58ec..4526d797 100644
--- a/src/GraphQL.Client.Abstractions.Websocket/IGraphQLWebsocketJsonSerializer.cs
+++ b/src/GraphQL.Client.Abstractions.Websocket/IGraphQLWebsocketJsonSerializer.cs
@@ -1,6 +1,3 @@
-using System.IO;
-using System.Threading.Tasks;
-
namespace GraphQL.Client.Abstractions.Websocket
{
///
diff --git a/src/GraphQL.Client.Abstractions/GraphQL.Client.Abstractions.csproj b/src/GraphQL.Client.Abstractions/GraphQL.Client.Abstractions.csproj
index ef5087f4..58f116f2 100644
--- a/src/GraphQL.Client.Abstractions/GraphQL.Client.Abstractions.csproj
+++ b/src/GraphQL.Client.Abstractions/GraphQL.Client.Abstractions.csproj
@@ -1,7 +1,5 @@
-
-
Abstractions for GraphQL.Client
netstandard2.0
diff --git a/src/GraphQL.Client.Abstractions/GraphQLClientExtensions.cs b/src/GraphQL.Client.Abstractions/GraphQLClientExtensions.cs
index 0c891bf7..379eb932 100644
--- a/src/GraphQL.Client.Abstractions/GraphQLClientExtensions.cs
+++ b/src/GraphQL.Client.Abstractions/GraphQLClientExtensions.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-
namespace GraphQL.Client.Abstractions
{
public static class GraphQLClientExtensions
diff --git a/src/GraphQL.Client.Abstractions/GraphQLJsonSerializerExtensions.cs b/src/GraphQL.Client.Abstractions/GraphQLJsonSerializerExtensions.cs
index 9222690c..56ff68e6 100644
--- a/src/GraphQL.Client.Abstractions/GraphQLJsonSerializerExtensions.cs
+++ b/src/GraphQL.Client.Abstractions/GraphQLJsonSerializerExtensions.cs
@@ -1,5 +1,3 @@
-using System;
-
namespace GraphQL.Client.Abstractions
{
public static class GraphQLJsonSerializerExtensions
diff --git a/src/GraphQL.Client.Abstractions/IGraphQLClient.cs b/src/GraphQL.Client.Abstractions/IGraphQLClient.cs
index 0508f8b5..a7a61b26 100644
--- a/src/GraphQL.Client.Abstractions/IGraphQLClient.cs
+++ b/src/GraphQL.Client.Abstractions/IGraphQLClient.cs
@@ -1,7 +1,4 @@
-using System;
using System.Net.WebSockets;
-using System.Threading;
-using System.Threading.Tasks;
namespace GraphQL.Client.Abstractions
{
diff --git a/src/GraphQL.Client.Abstractions/IGraphQLJsonSerializer.cs b/src/GraphQL.Client.Abstractions/IGraphQLJsonSerializer.cs
index fa21dbac..9f5f9410 100644
--- a/src/GraphQL.Client.Abstractions/IGraphQLJsonSerializer.cs
+++ b/src/GraphQL.Client.Abstractions/IGraphQLJsonSerializer.cs
@@ -1,7 +1,3 @@
-using System.IO;
-using System.Threading;
-using System.Threading.Tasks;
-
namespace GraphQL.Client.Abstractions
{
public interface IGraphQLJsonSerializer
diff --git a/src/GraphQL.Client.Abstractions/Utilities/StringExtensions.cs b/src/GraphQL.Client.Abstractions/Utilities/StringExtensions.cs
index 38c718a8..8aeb4cb0 100644
--- a/src/GraphQL.Client.Abstractions/Utilities/StringExtensions.cs
+++ b/src/GraphQL.Client.Abstractions/Utilities/StringExtensions.cs
@@ -1,6 +1,4 @@
-using System.Collections.Generic;
-
-namespace GraphQL.Client.Abstractions.Utilities
+namespace GraphQL.Client.Abstractions.Utilities
{
///
/// Copied from https://github.com/jquense/StringUtils
diff --git a/src/GraphQL.Client.Abstractions/Utilities/StringUtils.cs b/src/GraphQL.Client.Abstractions/Utilities/StringUtils.cs
index c643fd23..57673216 100644
--- a/src/GraphQL.Client.Abstractions/Utilities/StringUtils.cs
+++ b/src/GraphQL.Client.Abstractions/Utilities/StringUtils.cs
@@ -1,7 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text.RegularExpressions;
+using System.Text.RegularExpressions;
namespace GraphQL.Client.Abstractions.Utilities
{
diff --git a/src/GraphQL.Client.LocalExecution/GraphQL.Client.LocalExecution.csproj b/src/GraphQL.Client.LocalExecution/GraphQL.Client.LocalExecution.csproj
index 36d80714..6973829f 100644
--- a/src/GraphQL.Client.LocalExecution/GraphQL.Client.LocalExecution.csproj
+++ b/src/GraphQL.Client.LocalExecution/GraphQL.Client.LocalExecution.csproj
@@ -1,7 +1,5 @@
-
-
A GraphQL Client which executes the queries directly on a provided GraphQL schema using graphql-dotnet
netstandard2.0
diff --git a/src/GraphQL.Client.LocalExecution/GraphQLLocalExecutionClient.cs b/src/GraphQL.Client.LocalExecution/GraphQLLocalExecutionClient.cs
index 9a741b32..4a92e647 100644
--- a/src/GraphQL.Client.LocalExecution/GraphQLLocalExecutionClient.cs
+++ b/src/GraphQL.Client.LocalExecution/GraphQLLocalExecutionClient.cs
@@ -1,10 +1,5 @@
-using System;
-using System.IO;
-using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
-using System.Threading;
-using System.Threading.Tasks;
using GraphQL.Client.Abstractions;
using GraphQL.Types;
diff --git a/src/GraphQL.Client.Serializer.Newtonsoft/ConstantCaseEnumConverter.cs b/src/GraphQL.Client.Serializer.Newtonsoft/ConstantCaseEnumConverter.cs
index d618a490..476eed9c 100644
--- a/src/GraphQL.Client.Serializer.Newtonsoft/ConstantCaseEnumConverter.cs
+++ b/src/GraphQL.Client.Serializer.Newtonsoft/ConstantCaseEnumConverter.cs
@@ -1,5 +1,3 @@
-using System;
-using System.Linq;
using System.Reflection;
using GraphQL.Client.Abstractions.Utilities;
using Newtonsoft.Json;
diff --git a/src/GraphQL.Client.Serializer.Newtonsoft/GraphQL.Client.Serializer.Newtonsoft.csproj b/src/GraphQL.Client.Serializer.Newtonsoft/GraphQL.Client.Serializer.Newtonsoft.csproj
index 27801752..65aef0d0 100644
--- a/src/GraphQL.Client.Serializer.Newtonsoft/GraphQL.Client.Serializer.Newtonsoft.csproj
+++ b/src/GraphQL.Client.Serializer.Newtonsoft/GraphQL.Client.Serializer.Newtonsoft.csproj
@@ -1,7 +1,5 @@
-
-
A serializer implementation for GraphQL.Client using Newtonsoft.Json as underlying JSON library
netstandard2.0
diff --git a/src/GraphQL.Client.Serializer.Newtonsoft/MapConverter.cs b/src/GraphQL.Client.Serializer.Newtonsoft/MapConverter.cs
index 3caefd5f..d1dd60f4 100644
--- a/src/GraphQL.Client.Serializer.Newtonsoft/MapConverter.cs
+++ b/src/GraphQL.Client.Serializer.Newtonsoft/MapConverter.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
diff --git a/src/GraphQL.Client.Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs b/src/GraphQL.Client.Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs
index e7cae90f..6e362c08 100644
--- a/src/GraphQL.Client.Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs
+++ b/src/GraphQL.Client.Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs
@@ -1,8 +1,4 @@
-using System;
-using System.IO;
using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
using GraphQL.Client.Abstractions;
using GraphQL.Client.Abstractions.Websocket;
using Newtonsoft.Json;
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/ConverterHelperExtensions.cs b/src/GraphQL.Client.Serializer.SystemTextJson/ConverterHelperExtensions.cs
index fbb9036d..7afffe57 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/ConverterHelperExtensions.cs
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/ConverterHelperExtensions.cs
@@ -1,4 +1,3 @@
-using System;
using System.Buffers;
using System.Numerics;
using System.Text;
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/ErrorPathConverter.cs b/src/GraphQL.Client.Serializer.SystemTextJson/ErrorPathConverter.cs
index b2718096..4114a17a 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/ErrorPathConverter.cs
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/ErrorPathConverter.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/GraphQL.Client.Serializer.SystemTextJson.csproj b/src/GraphQL.Client.Serializer.SystemTextJson/GraphQL.Client.Serializer.SystemTextJson.csproj
index ffb763bd..e49b975d 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/GraphQL.Client.Serializer.SystemTextJson.csproj
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/GraphQL.Client.Serializer.SystemTextJson.csproj
@@ -1,7 +1,5 @@
-
-
A serializer implementation for GraphQL.Client using System.Text.Json as underlying JSON library
netstandard2.0;netcoreapp3.1
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/ImmutableConverter.cs b/src/GraphQL.Client.Serializer.SystemTextJson/ImmutableConverter.cs
index 7355970d..0c9ec398 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/ImmutableConverter.cs
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/ImmutableConverter.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.Json;
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/MapConverter.cs b/src/GraphQL.Client.Serializer.SystemTextJson/MapConverter.cs
index e41c1bf5..e3ab7217 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/MapConverter.cs
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/MapConverter.cs
@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Numerics;
using System.Text.Json;
using System.Text.Json.Serialization;
diff --git a/src/GraphQL.Client.Serializer.SystemTextJson/SystemTextJsonSerializer.cs b/src/GraphQL.Client.Serializer.SystemTextJson/SystemTextJsonSerializer.cs
index d0325464..05b2c2f0 100644
--- a/src/GraphQL.Client.Serializer.SystemTextJson/SystemTextJsonSerializer.cs
+++ b/src/GraphQL.Client.Serializer.SystemTextJson/SystemTextJsonSerializer.cs
@@ -1,9 +1,5 @@
-using System;
-using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
-using System.Threading;
-using System.Threading.Tasks;
using GraphQL.Client.Abstractions;
using GraphQL.Client.Abstractions.Websocket;
diff --git a/src/GraphQL.Client/GraphQL.Client.csproj b/src/GraphQL.Client/GraphQL.Client.csproj
index 8203c2f4..719c1a76 100644
--- a/src/GraphQL.Client/GraphQL.Client.csproj
+++ b/src/GraphQL.Client/GraphQL.Client.csproj
@@ -1,7 +1,5 @@
-
-
netstandard2.0;net461
GraphQL.Client.Http
diff --git a/src/GraphQL.Client/GraphQLHttpClient.cs b/src/GraphQL.Client/GraphQLHttpClient.cs
index ea095fc6..9eebf776 100644
--- a/src/GraphQL.Client/GraphQLHttpClient.cs
+++ b/src/GraphQL.Client/GraphQLHttpClient.cs
@@ -1,11 +1,5 @@
-using System;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Net.Http;
using System.Net.Http.Headers;
-using System.Threading;
-using System.Threading.Tasks;
using GraphQL.Client.Abstractions;
using GraphQL.Client.Abstractions.Websocket;
using GraphQL.Client.Http.Websocket;
@@ -110,7 +104,7 @@ public IObservable> CreateSubscriptionStream
- /// explicitly opens the websocket connection. Will be closed again on disposing the last subscription
+ /// Explicitly opens the websocket connection. Will be closed again on disposing the last subscription.
///
///
public Task InitializeWebsocketConnection() => GraphQlHttpWebSocket.InitializeWebSocket();
diff --git a/src/GraphQL.Client/GraphQLHttpClientExtensions.cs b/src/GraphQL.Client/GraphQLHttpClientExtensions.cs
index 041ed5c6..c3f49dfb 100644
--- a/src/GraphQL.Client/GraphQLHttpClientExtensions.cs
+++ b/src/GraphQL.Client/GraphQLHttpClientExtensions.cs
@@ -1,4 +1,3 @@
-using System;
using System.Net.WebSockets;
using GraphQL.Client.Abstractions;
diff --git a/src/GraphQL.Client/GraphQLHttpClientOptions.cs b/src/GraphQL.Client/GraphQLHttpClientOptions.cs
index dac7c4f1..74cd6c08 100644
--- a/src/GraphQL.Client/GraphQLHttpClientOptions.cs
+++ b/src/GraphQL.Client/GraphQLHttpClientOptions.cs
@@ -1,13 +1,10 @@
-using System;
-using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.WebSockets;
-using System.Threading.Tasks;
namespace GraphQL.Client.Http
{
///
- /// The Options that the will use
+ /// The Options that the will use.
///
public class GraphQLHttpClientOptions
{
diff --git a/src/GraphQL.Client/GraphQLHttpRequest.cs b/src/GraphQL.Client/GraphQLHttpRequest.cs
index eb3aac14..ac62c6a8 100644
--- a/src/GraphQL.Client/GraphQLHttpRequest.cs
+++ b/src/GraphQL.Client/GraphQLHttpRequest.cs
@@ -1,5 +1,3 @@
-using System;
-using System.Net.Http;
using System.Runtime.Serialization;
using System.Text;
using GraphQL.Client.Abstractions;
diff --git a/src/GraphQL.Client/GraphQLHttpRequestException.cs b/src/GraphQL.Client/GraphQLHttpRequestException.cs
index 5b3a8b9f..faf7e6c5 100644
--- a/src/GraphQL.Client/GraphQLHttpRequestException.cs
+++ b/src/GraphQL.Client/GraphQLHttpRequestException.cs
@@ -1,4 +1,3 @@
-using System;
using System.Net;
using System.Net.Http.Headers;
diff --git a/src/GraphQL.Client/GraphQLHttpResponse.cs b/src/GraphQL.Client/GraphQLHttpResponse.cs
index b4b09784..8888ff61 100644
--- a/src/GraphQL.Client/GraphQLHttpResponse.cs
+++ b/src/GraphQL.Client/GraphQLHttpResponse.cs
@@ -1,4 +1,3 @@
-using System;
using System.Net;
using System.Net.Http.Headers;
diff --git a/src/GraphQL.Client/GraphQLSubscriptionException.cs b/src/GraphQL.Client/GraphQLSubscriptionException.cs
index d9accc85..28e8566c 100644
--- a/src/GraphQL.Client/GraphQLSubscriptionException.cs
+++ b/src/GraphQL.Client/GraphQLSubscriptionException.cs
@@ -1,4 +1,3 @@
-using System;
using System.Runtime.Serialization;
namespace GraphQL.Client.Http
diff --git a/src/GraphQL.Client/UriExtensions.cs b/src/GraphQL.Client/UriExtensions.cs
index 296eb052..1e2e53e2 100644
--- a/src/GraphQL.Client/UriExtensions.cs
+++ b/src/GraphQL.Client/UriExtensions.cs
@@ -1,5 +1,3 @@
-using System;
-
namespace GraphQL.Client.Http
{
public static class UriExtensions
diff --git a/src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs b/src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs
index 67a517c6..0aa60818 100644
--- a/src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs
+++ b/src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs
@@ -1,7 +1,4 @@
-using System;
using System.Diagnostics;
-using System.IO;
-using System.Net.Http;
using System.Net.WebSockets;
using System.Reactive;
using System.Reactive.Disposables;
@@ -9,8 +6,6 @@
using System.Reactive.Subjects;
using System.Reactive.Threading.Tasks;
using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
using GraphQL.Client.Abstractions.Websocket;
namespace GraphQL.Client.Http.Websocket
diff --git a/src/GraphQL.Client/Websocket/GraphQLWebsocketConnectionException.cs b/src/GraphQL.Client/Websocket/GraphQLWebsocketConnectionException.cs
index c6b2e831..a1416948 100644
--- a/src/GraphQL.Client/Websocket/GraphQLWebsocketConnectionException.cs
+++ b/src/GraphQL.Client/Websocket/GraphQLWebsocketConnectionException.cs
@@ -1,4 +1,3 @@
-using System;
using System.Runtime.Serialization;
namespace GraphQL.Client.Http.Websocket
diff --git a/src/GraphQL.Primitives/ErrorPath.cs b/src/GraphQL.Primitives/ErrorPath.cs
index 59abdb79..dd449d73 100644
--- a/src/GraphQL.Primitives/ErrorPath.cs
+++ b/src/GraphQL.Primitives/ErrorPath.cs
@@ -1,5 +1,3 @@
-using System.Collections.Generic;
-
namespace GraphQL
{
public class ErrorPath : List