Skip to content

Commit

Permalink
Merge pull request UnderminersTeam#1539 from Miepee/dunno-yet
Browse files Browse the repository at this point in the history
Clean up usings
  • Loading branch information
colinator27 authored Dec 21, 2023
2 parents 6201498 + 9e4a593 commit 4bfec98
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 53 deletions.
8 changes: 1 addition & 7 deletions UndertaleModLib/ModelsDebug/UndertaleDebugInfo.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
4 changes: 0 additions & 4 deletions UndertaleModLib/ModelsDebug/UndertaleInstanceVars.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UndertaleModLib.ModelsDebug
{
Expand Down
7 changes: 1 addition & 6 deletions UndertaleModLib/ModelsDebug/UndertaleScriptSource.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
7 changes: 1 addition & 6 deletions UndertaleModLib/UndertaleBaseTypes.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
4 changes: 0 additions & 4 deletions UndertaleModLib/UndertaleChunkTypes.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions UndertaleModLib/UndertaleDebugChunks.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
6 changes: 1 addition & 5 deletions UndertaleModLib/UndertaleDebugData.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
1 change: 0 additions & 1 deletion UndertaleModLib/UndertaleLists.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion UndertaleModLib/UndertaleSerializationException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Runtime.Serialization;

namespace UndertaleModLib
{
Expand Down
8 changes: 1 addition & 7 deletions UndertaleModLib/Util/CustomBitArray.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions UndertaleModLib/Util/DebugUtil.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion UndertaleModLib/Util/FileBinaryReader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.IO;
using System.Text;

Expand Down
4 changes: 1 addition & 3 deletions UndertaleModLib/Util/GitVersion.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;

namespace UndertaleModLib.Util;
Expand All @@ -18,7 +16,7 @@ public static class GitVersion
/// <returns>The git commit and branch name.</returns>
public static string GetGitVersion()
{
string gitOutput = "";
string gitOutput;

// try to access the embedded resource
try
Expand Down

0 comments on commit 4bfec98

Please sign in to comment.