remove redundant array size spec

This commit is contained in:
Paul Pacheco 2018-10-11 20:09:14 -05:00
parent 1b81fea8ef
commit 8716eb6cdf

View File

@ -57,7 +57,7 @@ static CompilationFinishedHook()
// IAssemblyResolver assemblyResolver = compilationExtension.GetAssemblyResolver(editor, file, null); // IAssemblyResolver assemblyResolver = compilationExtension.GetAssemblyResolver(editor, file, null);
// but Weaver creates it's own if null, which is this one: // but Weaver creates it's own if null, which is this one:
IAssemblyResolver assemblyResolver = new DefaultAssemblyResolver(); IAssemblyResolver assemblyResolver = new DefaultAssemblyResolver();
if (Program.Process(unityEngineCoreModuleDLL, mirrorRuntimeDll, outputDirectory, new string[1] { assemblyPath }, GetExtraAssemblyPaths(assemblyPath), assemblyResolver, Debug.LogWarning, Debug.LogError)) if (Program.Process(unityEngineCoreModuleDLL, mirrorRuntimeDll, outputDirectory, new string[] { assemblyPath }, GetExtraAssemblyPaths(assemblyPath), assemblyResolver, Debug.LogWarning, Debug.LogError))
{ {
Console.WriteLine("Weaving succeeded for: " + assemblyPath); Console.WriteLine("Weaving succeeded for: " + assemblyPath);
} }