Reduce unnecessary namespace nesting

This commit is contained in:
Matt Nadareski
2024-10-14 00:22:44 -04:00
parent 9f5ffaf035
commit bd078e4585
7 changed files with 7 additions and 10 deletions

View File

@@ -1,9 +1,8 @@
using System;
using System.IO;
using NDecrypt.N3DS;
using SabreTools.IO.Extensions;
using SabreTools.Models.N3DS;
using static NDecrypt.N3DS.CommonOperations;
using static NDecrypt.Core.CommonOperations;
using N3DSDeserializer = SabreTools.Serialization.Deserializers.N3DS;
namespace NDecrypt.Core

View File

@@ -8,7 +8,7 @@ using Org.BouncyCastle.Security;
using SabreTools.IO.Extensions;
using SabreTools.Models.N3DS;
namespace NDecrypt.N3DS
namespace NDecrypt.Core
{
internal static class CommonOperations
{

View File

@@ -5,7 +5,7 @@ using System.Numerics;
using SabreTools.IO.Extensions;
using SabreTools.IO.Readers;
namespace NDecrypt.N3DS
namespace NDecrypt.Core
{
public class DecryptArgs
{

View File

@@ -1,7 +1,7 @@
using System;
using SabreTools.Models.N3DS;
namespace NDecrypt.N3DS
namespace NDecrypt.Core
{
internal static class Extensions
{

View File

@@ -3,9 +3,9 @@ using System.Linq;
using System.Numerics;
using Org.BouncyCastle.Crypto;
using SabreTools.Models.N3DS;
using static NDecrypt.N3DS.CommonOperations;
using static NDecrypt.Core.CommonOperations;
namespace NDecrypt.N3DS
namespace NDecrypt.Core
{
/// <summary>
/// Set of all keys associated with a partition

View File

@@ -1,9 +1,8 @@
using System;
using System.IO;
using NDecrypt.N3DS;
using SabreTools.IO.Extensions;
using SabreTools.Models.N3DS;
using static NDecrypt.N3DS.CommonOperations;
using static NDecrypt.Core.CommonOperations;
using N3DSDeserializer = SabreTools.Serialization.Deserializers.N3DS;
namespace NDecrypt.Core

View File

@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using NDecrypt.Core;
using NDecrypt.N3DS;
namespace NDecrypt
{