diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs b/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs index 28c74d78b..1e2fb8cc3 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.Fido2SampleCode { public enum Fido2KeyCollectorOperation diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs index e4125299b..0cd590bc0 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.Fido2SampleCode { public enum Fido2MainMenuItem diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs index f7d830a23..bdbd1b3e5 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs @@ -18,7 +18,6 @@ using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; -using Yubico.YubiKey; using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.Fido2SampleCode diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs index f85890852..d8fd5e9e8 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.Fido2SampleCode { diff --git a/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs b/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs index 82f16a29d..4a98a7702 100644 --- a/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs +++ b/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs @@ -13,7 +13,6 @@ // limitations under the License. using Yubico.YubiKey.Oath; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.OathSampleCode { diff --git a/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs b/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs index 4c99fc3fc..b4423a1be 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.PivSampleCode { public enum PivMainMenuItem diff --git a/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs index 6aee3b223..e24a2a2d6 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.PivSampleCode { internal sealed class StartProgram diff --git a/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs b/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs index c3c67e4e4..81cf67026 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs @@ -14,7 +14,6 @@ using System; using Yubico.YubiKey.Piv; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.PivSampleCode { diff --git a/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs b/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs index 818e0a7ee..b835ee863 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.SharedCode { // When calling SampleMenu.WriteMessage, pass in one of these enum values as diff --git a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs index 072e4199e..669dcd35f 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; namespace Yubico.YubiKey.Sample.SharedCode diff --git a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs index ff0b80045..008b26d24 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs @@ -15,7 +15,6 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; -using Yubico.YubiKey; namespace Yubico.YubiKey.Sample.SharedCode { diff --git a/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs b/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs index 22bab72ff..52ff895b7 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { public enum U2fKeyCollectorOperation diff --git a/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs index 646b6f630..3dab1ae2a 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { internal sealed class StartProgram diff --git a/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs b/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs index a1202927b..b7b4a9e5a 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { public enum U2fMainMenuItem diff --git a/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs b/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs index bc4362d76..ab9af48e9 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Diagnostics; using System.Globalization; using System.Threading; using System.Threading.Tasks; diff --git a/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs b/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs index 7054ce2a7..acbb7dc09 100644 --- a/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs +++ b/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Buffers; namespace Yubico.YubiKey.TestApp.Converters diff --git a/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs b/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs index 4f70883a6..daee9b4de 100644 --- a/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs +++ b/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Buffers; namespace Yubico.YubiKey.TestApp.Converters diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs index e882c37b6..7d4b52c6a 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Net.Security; using System.Text; using Yubico.YubiKey.YubiHsmAuth; using Yubico.YubiKey.YubiHsmAuth.Commands; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs index 00c97bf0f..01293b04b 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Threading; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Core; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs index 036d82fa2..8f42eff29 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs @@ -15,11 +15,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using Microsoft.Extensions.Logging; using Yubico.Core.Logging; using Yubico.YubiKey.Oath; -using Yubico.YubiKey.Oath.Commands; namespace Yubico.YubiKey.TestApp.Plugins { diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs index 297be176a..d2dc3cd19 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs @@ -14,7 +14,6 @@ using System; using Yubico.YubiKey.Otp; -using Yubico.YubiKey.Otp.Operations; namespace Yubico.YubiKey.TestApp.Plugins.Otp { diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs index ab6e909b6..4e6ecc201 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Linq; using Yubico.YubiKey.Otp; using Yubico.YubiKey.Otp.Commands; using Yubico.YubiKey.Otp.Operations; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs index a0d5f79a8..57b5e0c5d 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Yubico.YubiKey.Otp; namespace Yubico.YubiKey.TestApp.Plugins.Otp diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs index 96811f9ff..1bc529047 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Yubico.YubiKey.Piv; using Yubico.YubiKey.Scp03; diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs index 4fb742794..dd3f474bb 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Security.Cryptography.X509Certificates; - namespace Yubico.YubiKey.TestUtilities { public static class BadAttestationPairs diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs index b32a4ea97..6e2d6cfac 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Linq; using Yubico.YubiKey.Oath; using Yubico.YubiKey.Piv; using Yubico.YubiKey.YubiHsmAuth; diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs index ff14692f4..262108a20 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs index 571ebb65c..b3dee85d4 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.YubiKey; namespace Yubico.YubiKey.TestUtilities {