From 202954efe2438619297c39863af878d06192bf24 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Mon, 20 Jul 2020 02:06:51 +0200 Subject: [PATCH] Remove unused imports (#1431) We don't support .Net Framework anymore. --- .../GameObjects/Components/Access/IdCardConsoleWindow.cs | 3 --- .../Components/HUD/Inventory/ClientInventoryComponent.cs | 6 +----- .../GameObjects/Components/Items/ClientHandsComponent.cs | 7 +------ .../Components/MedicalScanner/MedicalScannerWindow.cs | 3 --- Content.Client/Research/LatheMenu.cs | 3 --- .../GameObjects/Components/GUI/ServerHandsComponent.cs | 5 +---- .../Components/Items/Clothing/ClothingComponent.cs | 5 +---- .../GameObjects/Components/Research/LatheComponent.cs | 6 +----- .../Components/Research/SharedLatheComponent.cs | 3 --- Content.Shared/GameObjects/Verbs/Verb.cs | 5 +---- 10 files changed, 6 insertions(+), 40 deletions(-) diff --git a/Content.Client/GameObjects/Components/Access/IdCardConsoleWindow.cs b/Content.Client/GameObjects/Components/Access/IdCardConsoleWindow.cs index 370ff786ba..612274cfeb 100644 --- a/Content.Client/GameObjects/Components/Access/IdCardConsoleWindow.cs +++ b/Content.Client/GameObjects/Components/Access/IdCardConsoleWindow.cs @@ -1,6 +1,3 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; using System.Collections.Generic; using System.Linq; using Content.Shared.Access; diff --git a/Content.Client/GameObjects/Components/HUD/Inventory/ClientInventoryComponent.cs b/Content.Client/GameObjects/Components/HUD/Inventory/ClientInventoryComponent.cs index a07fc67195..655a37f7af 100644 --- a/Content.Client/GameObjects/Components/HUD/Inventory/ClientInventoryComponent.cs +++ b/Content.Client/GameObjects/Components/HUD/Inventory/ClientInventoryComponent.cs @@ -1,7 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Content.Client.GameObjects.Components.Clothing; using Content.Shared.GameObjects; @@ -10,7 +7,6 @@ using Robust.Client.GameObjects; using Robust.Client.Interfaces.GameObjects.Components; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.GameObjects; -using Robust.Shared.Interfaces.Network; using Robust.Shared.IoC; using Robust.Shared.ViewVariables; using static Content.Shared.GameObjects.Components.Inventory.EquipmentSlotDefines; diff --git a/Content.Client/GameObjects/Components/Items/ClientHandsComponent.cs b/Content.Client/GameObjects/Components/Items/ClientHandsComponent.cs index b5ae7f7b05..f9411094a1 100644 --- a/Content.Client/GameObjects/Components/Items/ClientHandsComponent.cs +++ b/Content.Client/GameObjects/Components/Items/ClientHandsComponent.cs @@ -1,7 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Content.Client.Interfaces.GameObjects; using Content.Client.UserInterface; @@ -10,9 +7,7 @@ using Robust.Client.GameObjects; using Robust.Client.Interfaces.GameObjects.Components; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.GameObjects; -using Robust.Shared.Interfaces.Network; using Robust.Shared.IoC; -using Robust.Shared.Players; using Robust.Shared.Serialization; using Robust.Shared.ViewVariables; diff --git a/Content.Client/GameObjects/Components/MedicalScanner/MedicalScannerWindow.cs b/Content.Client/GameObjects/Components/MedicalScanner/MedicalScannerWindow.cs index 58e72a875e..4f6eefb5d9 100644 --- a/Content.Client/GameObjects/Components/MedicalScanner/MedicalScannerWindow.cs +++ b/Content.Client/GameObjects/Components/MedicalScanner/MedicalScannerWindow.cs @@ -1,6 +1,3 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; using System.Text; using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.CustomControls; diff --git a/Content.Client/Research/LatheMenu.cs b/Content.Client/Research/LatheMenu.cs index 9a9a9961a9..002f8dd031 100644 --- a/Content.Client/Research/LatheMenu.cs +++ b/Content.Client/Research/LatheMenu.cs @@ -1,6 +1,3 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; using System.Collections.Generic; using Content.Client.GameObjects.Components.Research; using Content.Shared.Materials; diff --git a/Content.Server/GameObjects/Components/GUI/ServerHandsComponent.cs b/Content.Server/GameObjects/Components/GUI/ServerHandsComponent.cs index a7088f3924..4e249d4a8e 100644 --- a/Content.Server/GameObjects/Components/GUI/ServerHandsComponent.cs +++ b/Content.Server/GameObjects/Components/GUI/ServerHandsComponent.cs @@ -1,7 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; -using System; +using System; using System.Collections.Generic; using System.Linq; using Content.Server.GameObjects.Components; diff --git a/Content.Server/GameObjects/Components/Items/Clothing/ClothingComponent.cs b/Content.Server/GameObjects/Components/Items/Clothing/ClothingComponent.cs index 863edfa7d8..6f24406712 100644 --- a/Content.Server/GameObjects/Components/Items/Clothing/ClothingComponent.cs +++ b/Content.Server/GameObjects/Components/Items/Clothing/ClothingComponent.cs @@ -1,7 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; -using System; +using System; using System.Collections.Generic; using Content.Server.GameObjects.Components; using Content.Server.GameObjects.Components.Items.Storage; diff --git a/Content.Server/GameObjects/Components/Research/LatheComponent.cs b/Content.Server/GameObjects/Components/Research/LatheComponent.cs index 7bd7dd799e..486b1af9b6 100644 --- a/Content.Server/GameObjects/Components/Research/LatheComponent.cs +++ b/Content.Server/GameObjects/Components/Research/LatheComponent.cs @@ -1,8 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective - -using System; -using Robust.Shared.Utility; +using System; using System.Collections.Generic; using System.Linq; using Content.Server.GameObjects.Components.Stack; diff --git a/Content.Shared/GameObjects/Components/Research/SharedLatheComponent.cs b/Content.Shared/GameObjects/Components/Research/SharedLatheComponent.cs index dabae088fb..94480ea9db 100644 --- a/Content.Shared/GameObjects/Components/Research/SharedLatheComponent.cs +++ b/Content.Shared/GameObjects/Components/Research/SharedLatheComponent.cs @@ -1,6 +1,3 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; using System; using System.Collections.Generic; using Content.Shared.Research; diff --git a/Content.Shared/GameObjects/Verbs/Verb.cs b/Content.Shared/GameObjects/Verbs/Verb.cs index ffca03d404..a2381082c4 100644 --- a/Content.Shared/GameObjects/Verbs/Verb.cs +++ b/Content.Shared/GameObjects/Verbs/Verb.cs @@ -1,7 +1,4 @@ -// Only unused on .NET Core due to KeyValuePair.Deconstruct -// ReSharper disable once RedundantUsingDirective -using Robust.Shared.Utility; -using System; +using System; using JetBrains.Annotations; using Robust.Shared.Interfaces.GameObjects;