private static GetAssemblyPaths ( IEnumerable |
||
invocations | IEnumerable |
|
return | IEnumerable |
private static IEnumerable<string> GetAssemblyPaths(IEnumerable<CompilerInvocation> invocations)
{
var assemblyNameToFilePathMap = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
foreach (var invocation in invocations)
{
AddAssemblyToMap(assemblyNameToFilePathMap, invocation.OutputAssemblyPath);
foreach (var reference in invocation.ReferencedBinaries)
{
AddAssemblyToMap(assemblyNameToFilePathMap, reference);
}
}
return assemblyNameToFilePathMap.Values;
}