diff --git a/BepInEx/Bootstrap/TypeLoader.cs b/BepInEx/Bootstrap/TypeLoader.cs index 0b89aa1..5b3112e 100644 --- a/BepInEx/Bootstrap/TypeLoader.cs +++ b/BepInEx/Bootstrap/TypeLoader.cs @@ -1,11 +1,9 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; -using BepInEx.Contract; using BepInEx.Logging; using Mono.Cecil; @@ -43,9 +41,9 @@ namespace BepInEx.Bootstrap /// The specific base type to search for. /// The directory to search for assemblies. /// Returns a list of found derivative types. - public static Dictionary> FindPluginTypes(string directory, Func typeSelector) where T : class + public static Dictionary> FindPluginTypes(string directory, Func typeSelector) where T : class { - var result = new Dictionary>(); + var result = new Dictionary>(); foreach (string dll in Directory.GetFiles(Path.GetFullPath(directory), "*.dll", SearchOption.AllDirectories)) {