34 references to AssemblyNameReference
Microsoft.Build.Tasks.Core (34)
AssemblyDependency\AssemblyNameReference.cs (4)
14internal struct AssemblyNameReference : IComparable<AssemblyNameReference> 30public readonly int CompareTo(AssemblyNameReference other) 38public static AssemblyNameReference Create(AssemblyNameExtension assemblyName, Reference reference) 40AssemblyNameReference result;
AssemblyDependency\AssemblyNameReferenceAscendingVersionComparer.cs (4)
14internal sealed class AssemblyNameReferenceAscendingVersionComparer : IComparer<AssemblyNameReference> 16internal static readonly IComparer<AssemblyNameReference> comparer = new AssemblyNameReferenceAscendingVersionComparer(); 30public int Compare(AssemblyNameReference i1, AssemblyNameReference i2)
AssemblyDependency\ReferenceTable.cs (21)
1799private void ResolveConflictsBetweenReferences(Dictionary<string, List<AssemblyNameReference>> baseNameToReferences) 1802foreach (List<AssemblyNameReference> assemblyReferences in baseNameToReferences.Values) 1808private void ResolveConflictsBetweenReferences(List<AssemblyNameReference> assemblyReferences) 1838out List<AssemblyNameReference> conflictingReferences) 1844Dictionary<string, List<AssemblyNameReference>> baseNameToReferences = BuildSimpleNameTable(); 1860var fullNameToReference = new Dictionary<string, AssemblyNameReference>(References.Count, StringComparer.OrdinalIgnoreCase); 1862foreach (List<AssemblyNameReference> references in baseNameToReferences.Values) 1864foreach (AssemblyNameReference assemblyNameReference in references) 1891if (fullNameToReference.TryGetValue(key, out AssemblyNameReference conflictingReference)) 1910var assemblyNamesList = new List<AssemblyNameReference>(conflictingFullNames.Count); 1920foreach (AssemblyNameReference assemblyNameReference in assemblyNamesList) 2173private Dictionary<string, List<AssemblyNameReference>> BuildSimpleNameTable() 2177var baseNameToReferences = new Dictionary<string, List<AssemblyNameReference>>(References.Count, StringComparer.OrdinalIgnoreCase); 2183AssemblyNameReference assemblyReference = AssemblyNameReference.Create(assemblyName, reference); 2190if (!baseNameToReferences.TryGetValue(baseName, out List<AssemblyNameReference> refs)) 2192refs = new List<AssemblyNameReference>(); 2203Dictionary<string, List<AssemblyNameReference>> baseNameToReferences) 2206foreach (KeyValuePair<string, List<AssemblyNameReference>> kvp in baseNameToReferences) 2336private static int ResolveAssemblyNameConflict(AssemblyNameReference assemblyReference0, AssemblyNameReference assemblyReference1)
AssemblyDependency\ResolveAssemblyReference.cs (5)
1066List<AssemblyNameReference> idealAssemblyRemappingsIdentities, 2427List<AssemblyNameReference> autoUnifiedRemappedAssemblyReferences = null; 2467List<AssemblyNameReference> idealAssemblyRemappingsIdentities = autoUnifiedRemappedAssemblyReferences; 2517List<AssemblyNameReference> remappedReferences = AutoUnify ? autoUnifiedRemappedAssemblyReferences : idealAssemblyRemappingsIdentities; 2982private void PopulateSuggestedRedirects(List<DependentAssembly> idealAssemblyRemappings, List<AssemblyNameReference> idealAssemblyRemappedReferences)