Przeglądaj źródła

Remove unnecessary usings (#463)

* Remove unnecessary usings

* Fix CastExpression while I'm at it
gdkchan 7 lat temu
rodzic
commit
02a8e7fc93

+ 0 - 1
Ryujinx.HLE/FileSystem/SaveHelper.cs

@@ -1,6 +1,5 @@
 using Ryujinx.HLE.HOS;
 using System.IO;
-using System.Linq;
 
 using static Ryujinx.HLE.FileSystem.VirtualFileSystem;
 

+ 0 - 1
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CallExpression.cs

@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using System.IO;
 

+ 1 - 3
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CasExpression.cs → Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CastExpression.cs

@@ -1,7 +1,5 @@
-using System;
 using System.IO;
 
-
 namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
 {
     public class CastExpression : BaseNode
@@ -24,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
             To.PrintLeft(Writer);
             Writer.Write(">(");
             From.PrintLeft(Writer);
-            Writer.Write(")");            
+            Writer.Write(")");
         }
     }
 }

+ 0 - 1
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/InitListExpression.cs

@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using System.IO;
 

+ 0 - 1
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/NodeArray.cs

@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using System.IO;
 

+ 0 - 1
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/TemplateArguments.cs

@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using System.IO;
 

+ 0 - 1
Ryujinx.HLE/HOS/Services/Aud/IAudioRendererManager.cs

@@ -3,7 +3,6 @@ using Ryujinx.Common.Logging;
 using Ryujinx.HLE.HOS.Ipc;
 using Ryujinx.HLE.HOS.Services.Aud.AudioRenderer;
 using Ryujinx.HLE.Utilities;
-using System;
 using System.Collections.Generic;
 
 using static Ryujinx.HLE.HOS.ErrorCode;

+ 0 - 2
Ryujinx.HLE/HOS/Services/Irs/IIrSensorServer.cs

@@ -1,7 +1,5 @@
 using Ryujinx.Common.Logging;
 using Ryujinx.HLE.HOS.Ipc;
-using Ryujinx.HLE.HOS.Kernel;
-using System;
 using System.Collections.Generic;
 
 namespace Ryujinx.HLE.HOS.Services.Irs

+ 0 - 1
Ryujinx.HLE/HOS/Services/Mm/IRequest.cs

@@ -1,6 +1,5 @@
 using Ryujinx.Common.Logging;
 using Ryujinx.HLE.HOS.Ipc;
-using System;
 using System.Collections.Generic;
 
 namespace Ryujinx.HLE.HOS.Services.Mm

+ 0 - 1
Ryujinx.HLE/Utilities/UInt128.cs

@@ -1,4 +1,3 @@
-using Ryujinx.HLE.Utilities;
 using System;
 using System.IO;
 using System.Linq;

+ 0 - 2
Ryujinx.Tests.Unicorn/MemoryPermission.cs

@@ -1,5 +1,3 @@
-using System;
-
 namespace Ryujinx.Tests.Unicorn
 {
     public enum MemoryPermission

+ 0 - 2
Ryujinx.Tests.Unicorn/Native/ArmRegister.cs

@@ -1,5 +1,3 @@
-using System;
-
 namespace Ryujinx.Tests.Unicorn.Native
 {
     public enum ArmRegister

+ 0 - 1
Ryujinx.Tests.Unicorn/Native/Interface.cs

@@ -1,6 +1,5 @@
 using System;
 using System.Runtime.InteropServices;
-using Ryujinx.Tests.Unicorn;
 
 namespace Ryujinx.Tests.Unicorn.Native
 {

+ 0 - 2
Ryujinx.Tests.Unicorn/Native/UnicornArch.cs

@@ -1,5 +1,3 @@
-using System;
-
 namespace Ryujinx.Tests.Unicorn.Native
 {
     public enum UnicornArch

+ 0 - 2
Ryujinx.Tests.Unicorn/Native/UnicornMode.cs

@@ -1,5 +1,3 @@
-using System;
-
 namespace Ryujinx.Tests.Unicorn.Native
 {
     public enum UnicornMode

+ 0 - 1
Ryujinx.Tests.Unicorn/UnicornAArch64.cs

@@ -1,6 +1,5 @@
 using System;
 using System.Diagnostics.Contracts;
-using System.Runtime.InteropServices;
 using System.Runtime.Intrinsics;
 using System.Runtime.Intrinsics.X86;
 

+ 0 - 2
Ryujinx.Tests.Unicorn/UnicornError.cs

@@ -1,5 +1,3 @@
-using System;
-
 namespace Ryujinx.Tests.Unicorn
 {
     public enum UnicornError

+ 0 - 1
Ryujinx.Tests/Cpu/CpuTestSimdArithmetic.cs

@@ -3,7 +3,6 @@ using ChocolArm64.State;
 using NUnit.Framework;
 
 using System.Runtime.Intrinsics;
-using System.Runtime.Intrinsics.X86;
 
 namespace Ryujinx.Tests.Cpu
 {