Skip to content

Commit 08958c9

Browse files
authored
Fix various analyzer errors (#9567)
1 parent 558a606 commit 08958c9

12 files changed

Lines changed: 26 additions & 39 deletions

File tree

src/HotChocolate/Core/src/Types/Utilities/ErrorHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Globalization;
2-
using HotChocolate.Execution.Processing;
32
using HotChocolate.Language;
43
using HotChocolate.Properties;
54
using HotChocolate.Types;

src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IsSelectedTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using HotChocolate.Execution;
2-
using HotChocolate.Tests;
32
using Microsoft.Extensions.DependencyInjection;
43

54
namespace HotChocolate.Types;

src/HotChocolate/Fusion/benchmarks/k6/eShop.Inventory/ProductNode.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
using HotChocolate;
31
using HotChocolate.Types;
42
using HotChocolate.Types.Composite;
53

src/HotChocolate/Fusion/test/Fusion.AspNetCore.Tests/FusionTestBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
using Microsoft.AspNetCore.TestHost;
2222
using Microsoft.Extensions.DependencyInjection;
2323
using Microsoft.Extensions.DependencyInjection.Extensions;
24-
using Microsoft.Extensions.Hosting;
2524
using Microsoft.Extensions.Options;
2625
using Xunit.Sdk;
2726

src/Nitro/CommandLine/src/CommandLine/Commands/Clients/DeleteClientCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using ChilliCream.Nitro.Client.Apis;
33
using ChilliCream.Nitro.Client.Clients;
44
using ChilliCream.Nitro.CommandLine.Arguments;
5-
using ChilliCream.Nitro.CommandLine.Commands.Apis.Components;
65
using ChilliCream.Nitro.CommandLine.Commands.Clients.Components;
76
using ChilliCream.Nitro.CommandLine.Helpers;
87
using ChilliCream.Nitro.CommandLine.Results;

src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/DeleteMcpFeatureCollectionCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using ChilliCream.Nitro.Client.Apis;
33
using ChilliCream.Nitro.Client.Mcp;
44
using ChilliCream.Nitro.CommandLine.Arguments;
5-
using ChilliCream.Nitro.CommandLine.Commands.Apis.Components;
65
using ChilliCream.Nitro.CommandLine.Commands.Mcp.Components;
76
using ChilliCream.Nitro.CommandLine.Helpers;
87
using ChilliCream.Nitro.CommandLine.Results;

src/Nitro/CommandLine/src/CommandLine/Commands/Mocks/UpdateMockCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using ChilliCream.Nitro.Client.Apis;
33
using ChilliCream.Nitro.Client.Mocks;
44
using ChilliCream.Nitro.CommandLine.Arguments;
5-
using ChilliCream.Nitro.CommandLine.Commands.Apis.Components;
65
using ChilliCream.Nitro.CommandLine.Commands.Mocks.Components;
76
using ChilliCream.Nitro.CommandLine.Helpers;
87
using ChilliCream.Nitro.CommandLine.Results;

src/Nitro/CommandLine/src/CommandLine/Commands/OpenApi/DeleteOpenApiCollectionCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using ChilliCream.Nitro.Client.Apis;
33
using ChilliCream.Nitro.Client.OpenApi;
44
using ChilliCream.Nitro.CommandLine.Arguments;
5-
using ChilliCream.Nitro.CommandLine.Commands.Apis.Components;
65
using ChilliCream.Nitro.CommandLine.Commands.OpenApi.Components;
76
using ChilliCream.Nitro.CommandLine.Helpers;
87
using ChilliCream.Nitro.CommandLine.Results;

src/Nitro/CommandLine/src/CommandLine/Extensions/ParseResultExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using ChilliCream.Nitro.CommandLine.Helpers;
2-
31
namespace ChilliCream.Nitro.CommandLine.Services.Sessions;
42

53
internal static class ParseResultExtensions

src/Nitro/CommandLine/src/CommandLine/Services/Console/ActivityTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private enum NodePosition
291291

292292
private readonly record struct ActivityIcon(string Glyph, Style Style, int Width = 2)
293293
{
294-
public static ActivityIcon None { get; } = new("", Spectre.Console.Style.Plain, Width: 0);
294+
public static ActivityIcon None { get; } = new("", Style.Plain, Width: 0);
295295

296296
public void Write(List<Segment> segments)
297297
{

0 commit comments

Comments
 (0)