Skip to content

Commit

Permalink
Removed unused usings: example projects and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Aug 7, 2024
1 parent 186fe78 commit 88c4416
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using Yubico.YubiKey.Sample.SharedCode;

namespace Yubico.YubiKey.Sample.Fido2SampleCode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using Yubico.YubiKey.Oath;
using Yubico.YubiKey.Sample.SharedCode;

namespace Yubico.YubiKey.Sample.OathSampleCode
{
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using System;
using Yubico.YubiKey.Piv;
using Yubico.YubiKey.Sample.SharedCode;

namespace Yubico.YubiKey.Sample.PivSampleCode
{
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;

namespace Yubico.YubiKey.Sample.SharedCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Yubico.YubiKey;

namespace Yubico.YubiKey.Sample.SharedCode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using System.Threading;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Core;
Expand Down
2 changes: 0 additions & 2 deletions Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using System;
using Yubico.YubiKey.Otp;
using Yubico.YubiKey.Otp.Operations;

namespace Yubico.YubiKey.TestApp.Plugins.Otp
{
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using System.Collections.Generic;
using Yubico.YubiKey.Otp;

namespace Yubico.YubiKey.TestApp.Plugins.Otp
Expand Down
1 change: 0 additions & 1 deletion Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yubico.YubiKey.Piv;
using Yubico.YubiKey.Scp03;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

using System;
using Yubico.YubiKey;

namespace Yubico.YubiKey.TestUtilities
{
Expand Down

0 comments on commit 88c4416

Please sign in to comment.