diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs
index 8cae5e98..1326d0f3 100644
--- a/src/Generator/Driver.cs
+++ b/src/Generator/Driver.cs
@@ -1,5 +1,7 @@
 using System;
 using System.CodeDom.Compiler;
+using System.Collections.Generic;
+using System.IO;
 using System.Linq;
 using System.Reflection;
 using System.Text;
@@ -9,8 +11,6 @@ using CppSharp.Generators.CLI;
 using CppSharp.Generators.CSharp;
 using CppSharp.Passes;
 using CppSharp.Types;
-using System.Collections.Generic;
-using System.IO;
 using Microsoft.CSharp;
 
 #if !OLD_PARSER
diff --git a/src/Generator/Passes/FunctionToStaticMethodPass.cs b/src/Generator/Passes/FunctionToStaticMethodPass.cs
index 81ae5dec..31525bdd 100644
--- a/src/Generator/Passes/FunctionToStaticMethodPass.cs
+++ b/src/Generator/Passes/FunctionToStaticMethodPass.cs
@@ -1,5 +1,4 @@
-using System;
-using CppSharp.AST;
+using CppSharp.AST;
 
 namespace CppSharp.Passes
 {
diff --git a/tests/CSharpTemp/CSharpTemp.Tests.cs b/tests/CSharpTemp/CSharpTemp.Tests.cs
index 5859863d..0f72baa8 100644
--- a/tests/CSharpTemp/CSharpTemp.Tests.cs
+++ b/tests/CSharpTemp/CSharpTemp.Tests.cs
@@ -1,5 +1,4 @@
 using System;
-using System.Linq;
 using System.Reflection;
 using CSharpTemp;
 using NUnit.Framework;