From c1cae2b0c4da511f9e5d39ffb8bed4371b2d45f5 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 19 Jul 2019 13:13:15 +0100 Subject: [PATCH] Removed redundant using statements --- AstroMath.UnitTests/AstroMathsUnitTests.cs | 1 - AstroMath.UnitTests/Properties/AssemblyInfo.cs | 1 - FocuserTestConsole/Program.cs | 3 --- FocuserTestConsole/Properties/AssemblyInfo.cs | 1 - Meade.net.Telescope.UnitTests/Properties/AssemblyInfo.cs | 1 - Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs | 2 -- Meade.net.Telescope/Properties/AssemblyInfo.cs | 1 - Meade.net.Telescope/Rates.cs | 6 +----- Meade.net.focuser/Properties/AssemblyInfo.cs | 1 - Meade.net/LocalServer.cs | 3 --- Meade.net/Properties/AssemblyInfo.cs | 1 - Meade.net/ReferenceCountedObject.cs | 1 - Meade.net/SetupDialogForm.cs | 5 ----- Meade.net/SharedResources.cs | 2 -- Meade.net/Wrapper/SharedResourcesWrapper.cs | 3 --- Meade.net/frmMain.cs | 5 ----- TelescopeTestConsole/Program.cs | 3 --- TelescopeTestConsole/Properties/AssemblyInfo.cs | 1 - 18 files changed, 1 insertion(+), 40 deletions(-) diff --git a/AstroMath.UnitTests/AstroMathsUnitTests.cs b/AstroMath.UnitTests/AstroMathsUnitTests.cs index a890647..b54ab61 100644 --- a/AstroMath.UnitTests/AstroMathsUnitTests.cs +++ b/AstroMath.UnitTests/AstroMathsUnitTests.cs @@ -1,5 +1,4 @@ using System; -using ASCOM.Meade.net; using ASCOM.Meade.net.AstroMaths; using NUnit.Framework; diff --git a/AstroMath.UnitTests/Properties/AssemblyInfo.cs b/AstroMath.UnitTests/Properties/AssemblyInfo.cs index 2c0f1a3..3bfdd87 100644 --- a/AstroMath.UnitTests/Properties/AssemblyInfo.cs +++ b/AstroMath.UnitTests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/FocuserTestConsole/Program.cs b/FocuserTestConsole/Program.cs index aff0a29..cfafd57 100644 --- a/FocuserTestConsole/Program.cs +++ b/FocuserTestConsole/Program.cs @@ -9,9 +9,6 @@ #define UseChooser using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading; using ASCOM.DriverAccess; diff --git a/FocuserTestConsole/Properties/AssemblyInfo.cs b/FocuserTestConsole/Properties/AssemblyInfo.cs index 1349406..b1cdefc 100644 --- a/FocuserTestConsole/Properties/AssemblyInfo.cs +++ b/FocuserTestConsole/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Meade.net.Telescope.UnitTests/Properties/AssemblyInfo.cs b/Meade.net.Telescope.UnitTests/Properties/AssemblyInfo.cs index b58554d..3b11908 100644 --- a/Meade.net.Telescope.UnitTests/Properties/AssemblyInfo.cs +++ b/Meade.net.Telescope.UnitTests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs b/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs index ab6cf16..4cfd9f0 100644 --- a/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs +++ b/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics.Eventing.Reader; using ASCOM; using ASCOM.Astrometry.AstroUtils; using ASCOM.DeviceInterface; @@ -10,7 +9,6 @@ using ASCOM.Utilities.Interfaces; using Moq; using NUnit.Framework; using InvalidOperationException = ASCOM.InvalidOperationException; -using NotImplementedException = ASCOM.NotImplementedException; namespace Meade.net.Telescope.UnitTests { diff --git a/Meade.net.Telescope/Properties/AssemblyInfo.cs b/Meade.net.Telescope/Properties/AssemblyInfo.cs index 5376198..1a4865e 100644 --- a/Meade.net.Telescope/Properties/AssemblyInfo.cs +++ b/Meade.net.Telescope/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Meade.net.Telescope/Rates.cs b/Meade.net.Telescope/Rates.cs index 0579dc7..550f28a 100644 --- a/Meade.net.Telescope/Rates.cs +++ b/Meade.net.Telescope/Rates.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using ASCOM.DeviceInterface; using System.Collections; using System.Threading; diff --git a/Meade.net.focuser/Properties/AssemblyInfo.cs b/Meade.net.focuser/Properties/AssemblyInfo.cs index d74c566..d812c2d 100644 --- a/Meade.net.focuser/Properties/AssemblyInfo.cs +++ b/Meade.net.focuser/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Meade.net/LocalServer.cs b/Meade.net/LocalServer.cs index 922dbec..8bbee9e 100644 --- a/Meade.net/LocalServer.cs +++ b/Meade.net/LocalServer.cs @@ -15,17 +15,14 @@ using System; using System.IO; using System.Windows.Forms; -using System.Drawing; using System.Collections; using System.Runtime.InteropServices; using System.Reflection; using ASCOM.Utilities; using Microsoft.Win32; -using System.Text; using System.Threading; using System.Security.Principal; using System.Diagnostics; -using ASCOM; namespace ASCOM.Meade.net { diff --git a/Meade.net/Properties/AssemblyInfo.cs b/Meade.net/Properties/AssemblyInfo.cs index 502789e..0c66435 100644 --- a/Meade.net/Properties/AssemblyInfo.cs +++ b/Meade.net/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/Meade.net/ReferenceCountedObject.cs b/Meade.net/ReferenceCountedObject.cs index 7c7b7f2..aaf3f23 100644 --- a/Meade.net/ReferenceCountedObject.cs +++ b/Meade.net/ReferenceCountedObject.cs @@ -1,4 +1,3 @@ -using System; using System.Runtime.InteropServices; namespace ASCOM.Meade.net diff --git a/Meade.net/SetupDialogForm.cs b/Meade.net/SetupDialogForm.cs index aedb020..c416f5d 100644 --- a/Meade.net/SetupDialogForm.cs +++ b/Meade.net/SetupDialogForm.cs @@ -1,12 +1,7 @@ using System; -using System.Collections.Generic; using System.ComponentModel; -using System.Drawing; using System.Runtime.InteropServices; -using System.Text; using System.Windows.Forms; -using ASCOM.Utilities; -using ASCOM.Meade.net; namespace ASCOM.Meade.net { diff --git a/Meade.net/SharedResources.cs b/Meade.net/SharedResources.cs index 1dd7630..b3b15f7 100644 --- a/Meade.net/SharedResources.cs +++ b/Meade.net/SharedResources.cs @@ -15,8 +15,6 @@ // using System; using System.Collections.Generic; -using System.Text; -using ASCOM; using ASCOM.Utilities; namespace ASCOM.Meade.net diff --git a/Meade.net/Wrapper/SharedResourcesWrapper.cs b/Meade.net/Wrapper/SharedResourcesWrapper.cs index a7f662c..cbfa0d3 100644 --- a/Meade.net/Wrapper/SharedResourcesWrapper.cs +++ b/Meade.net/Wrapper/SharedResourcesWrapper.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace ASCOM.Meade.net.Wrapper { diff --git a/Meade.net/frmMain.cs b/Meade.net/frmMain.cs index 92b3be7..7ac44b7 100644 --- a/Meade.net/frmMain.cs +++ b/Meade.net/frmMain.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Text; using System.Windows.Forms; namespace ASCOM.Meade.net diff --git a/TelescopeTestConsole/Program.cs b/TelescopeTestConsole/Program.cs index 6636701..36d0d4a 100644 --- a/TelescopeTestConsole/Program.cs +++ b/TelescopeTestConsole/Program.cs @@ -9,9 +9,6 @@ #define UseChooser using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace ASCOM { diff --git a/TelescopeTestConsole/Properties/AssemblyInfo.cs b/TelescopeTestConsole/Properties/AssemblyInfo.cs index a358cd7..cd3bac2 100644 --- a/TelescopeTestConsole/Properties/AssemblyInfo.cs +++ b/TelescopeTestConsole/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following