remove unused

This commit is contained in:
vis2k 2021-08-28 20:55:23 +08:00
parent e481a3fba5
commit 47b66430c2

View File

@ -43,13 +43,6 @@ public override bool WillProcess(ICompiledAssembly compiledAssembly)
compiledAssembly.References.Any(filePath => Path.GetFileNameWithoutExtension(filePath) == MirrorRuntimeAssemblyName); compiledAssembly.References.Any(filePath => Path.GetFileNameWithoutExtension(filePath) == MirrorRuntimeAssemblyName);
} }
// searches for Mirror.dll in references.
// note that for Mirror.dll itself, it won't find anything.
string FindMirrorRuntimeReference(ICompiledAssembly compiledAssembly)
{
return compiledAssembly.References.ToList().Find(filePath => Path.GetFileNameWithoutExtension(filePath) == MirrorRuntimeAssemblyName);
}
public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly)
{ {
//Log.Warning($"Processing {compiledAssembly.Name}"); //Log.Warning($"Processing {compiledAssembly.Name}");