Microsoft.SourceBrowser.BuildLogParser.LogAnalyzer.GetAssemblyPaths C# (CSharp) Method

GetAssemblyPaths() private static method

private static GetAssemblyPaths ( IEnumerable invocations ) : 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;
        }