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)
1798private void ResolveConflictsBetweenReferences(Dictionary<string, List<AssemblyNameReference>> baseNameToReferences) 1801foreach (List<AssemblyNameReference> assemblyReferences in baseNameToReferences.Values) 1807private void ResolveConflictsBetweenReferences(List<AssemblyNameReference> assemblyReferences) 1837out List<AssemblyNameReference> conflictingReferences) 1843Dictionary<string, List<AssemblyNameReference>> baseNameToReferences = BuildSimpleNameTable(); 1859var fullNameToReference = new Dictionary<string, AssemblyNameReference>(References.Count, StringComparer.OrdinalIgnoreCase); 1861foreach (List<AssemblyNameReference> references in baseNameToReferences.Values) 1863foreach (AssemblyNameReference assemblyNameReference in references) 1890if (fullNameToReference.TryGetValue(key, out AssemblyNameReference conflictingReference)) 1909var assemblyNamesList = new List<AssemblyNameReference>(conflictingFullNames.Count); 1919foreach (AssemblyNameReference assemblyNameReference in assemblyNamesList) 2172private Dictionary<string, List<AssemblyNameReference>> BuildSimpleNameTable() 2176var baseNameToReferences = new Dictionary<string, List<AssemblyNameReference>>(References.Count, StringComparer.OrdinalIgnoreCase); 2182AssemblyNameReference assemblyReference = AssemblyNameReference.Create(assemblyName, reference); 2189if (!baseNameToReferences.TryGetValue(baseName, out List<AssemblyNameReference> refs)) 2191refs = new List<AssemblyNameReference>(); 2202Dictionary<string, List<AssemblyNameReference>> baseNameToReferences) 2205foreach (KeyValuePair<string, List<AssemblyNameReference>> kvp in baseNameToReferences) 2335private 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)