diff --git a/UndertaleModLib/ModelsDebug/UndertaleDebugInfo.cs b/UndertaleModLib/ModelsDebug/UndertaleDebugInfo.cs index 14a82701c..280932339 100644 --- a/UndertaleModLib/ModelsDebug/UndertaleDebugInfo.cs +++ b/UndertaleModLib/ModelsDebug/UndertaleDebugInfo.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.ObjectModel; namespace UndertaleModLib.ModelsDebug { diff --git a/UndertaleModLib/ModelsDebug/UndertaleInstanceVars.cs b/UndertaleModLib/ModelsDebug/UndertaleInstanceVars.cs index bf01e36ce..2a46ceed6 100644 --- a/UndertaleModLib/ModelsDebug/UndertaleInstanceVars.cs +++ b/UndertaleModLib/ModelsDebug/UndertaleInstanceVars.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace UndertaleModLib.ModelsDebug { diff --git a/UndertaleModLib/ModelsDebug/UndertaleScriptSource.cs b/UndertaleModLib/ModelsDebug/UndertaleScriptSource.cs index cb2fdfed4..ab315f480 100644 --- a/UndertaleModLib/ModelsDebug/UndertaleScriptSource.cs +++ b/UndertaleModLib/ModelsDebug/UndertaleScriptSource.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UndertaleModLib.Models; +using UndertaleModLib.Models; namespace UndertaleModLib.ModelsDebug { diff --git a/UndertaleModLib/UndertaleBaseTypes.cs b/UndertaleModLib/UndertaleBaseTypes.cs index b4341c7c9..2a8ea1431 100644 --- a/UndertaleModLib/UndertaleBaseTypes.cs +++ b/UndertaleModLib/UndertaleBaseTypes.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UndertaleModLib.Models; +using UndertaleModLib.Models; namespace UndertaleModLib { diff --git a/UndertaleModLib/UndertaleChunkTypes.cs b/UndertaleModLib/UndertaleChunkTypes.cs index be46f74f2..798ea25ba 100644 --- a/UndertaleModLib/UndertaleChunkTypes.cs +++ b/UndertaleModLib/UndertaleChunkTypes.cs @@ -1,11 +1,7 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Diagnostics; using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using UndertaleModLib.Models; namespace UndertaleModLib diff --git a/UndertaleModLib/UndertaleDebugChunks.cs b/UndertaleModLib/UndertaleDebugChunks.cs index 96b003b40..bff7bf9af 100644 --- a/UndertaleModLib/UndertaleDebugChunks.cs +++ b/UndertaleModLib/UndertaleDebugChunks.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using UndertaleModLib.Models; using UndertaleModLib.ModelsDebug; diff --git a/UndertaleModLib/UndertaleDebugData.cs b/UndertaleModLib/UndertaleDebugData.cs index 45ae37b92..bcdd776b3 100644 --- a/UndertaleModLib/UndertaleDebugData.cs +++ b/UndertaleModLib/UndertaleDebugData.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; using UndertaleModLib.Models; using UndertaleModLib.ModelsDebug; diff --git a/UndertaleModLib/UndertaleLists.cs b/UndertaleModLib/UndertaleLists.cs index aa3cb2449..a191ea259 100644 --- a/UndertaleModLib/UndertaleLists.cs +++ b/UndertaleModLib/UndertaleLists.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Collections.Specialized; using System.IO; using System.Reflection; using UndertaleModLib.Models; diff --git a/UndertaleModLib/UndertaleSerializationException.cs b/UndertaleModLib/UndertaleSerializationException.cs index c42a215dd..8ec32c509 100644 --- a/UndertaleModLib/UndertaleSerializationException.cs +++ b/UndertaleModLib/UndertaleSerializationException.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.Serialization; namespace UndertaleModLib { diff --git a/UndertaleModLib/Util/CustomBitArray.cs b/UndertaleModLib/Util/CustomBitArray.cs index befad1da7..5934154b2 100644 --- a/UndertaleModLib/Util/CustomBitArray.cs +++ b/UndertaleModLib/Util/CustomBitArray.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace UndertaleModLib.Util +namespace UndertaleModLib.Util { // BitArray class custom-made for the decompiler // Designed with performance in mind diff --git a/UndertaleModLib/Util/DebugUtil.cs b/UndertaleModLib/Util/DebugUtil.cs index 0d254e602..74086507d 100644 --- a/UndertaleModLib/Util/DebugUtil.cs +++ b/UndertaleModLib/Util/DebugUtil.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace UndertaleModLib.Util { diff --git a/UndertaleModLib/Util/FileBinaryReader.cs b/UndertaleModLib/Util/FileBinaryReader.cs index 8cdc46d1e..87525d226 100644 --- a/UndertaleModLib/Util/FileBinaryReader.cs +++ b/UndertaleModLib/Util/FileBinaryReader.cs @@ -1,6 +1,5 @@ using System; using System.Buffers.Binary; -using System.Collections.Generic; using System.IO; using System.Text; diff --git a/UndertaleModLib/Util/GitVersion.cs b/UndertaleModLib/Util/GitVersion.cs index bc15326a6..e15577ac6 100644 --- a/UndertaleModLib/Util/GitVersion.cs +++ b/UndertaleModLib/Util/GitVersion.cs @@ -1,7 +1,5 @@ using System; -using System.Diagnostics; using System.IO; -using System.Linq; using System.Reflection; namespace UndertaleModLib.Util; @@ -18,7 +16,7 @@ public static class GitVersion /// The git commit and branch name. public static string GetGitVersion() { - string gitOutput = ""; + string gitOutput; // try to access the embedded resource try