34 references to AssemblyNameReference
Microsoft.Build.Tasks.Core (34)
AssemblyDependency\AssemblyNameReference.cs (4)
14
internal struct AssemblyNameReference : IComparable<
AssemblyNameReference
>
30
public readonly int CompareTo(
AssemblyNameReference
other)
38
public static
AssemblyNameReference
Create(AssemblyNameExtension assemblyName, Reference reference)
40
AssemblyNameReference
result;
AssemblyDependency\AssemblyNameReferenceAscendingVersionComparer.cs (4)
14
internal sealed class AssemblyNameReferenceAscendingVersionComparer : IComparer<
AssemblyNameReference
>
16
internal static readonly IComparer<
AssemblyNameReference
> comparer = new AssemblyNameReferenceAscendingVersionComparer();
30
public int Compare(
AssemblyNameReference
i1,
AssemblyNameReference
i2)
AssemblyDependency\ReferenceTable.cs (21)
1798
private void ResolveConflictsBetweenReferences(Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences)
1801
foreach (List<
AssemblyNameReference
> assemblyReferences in baseNameToReferences.Values)
1807
private void ResolveConflictsBetweenReferences(List<
AssemblyNameReference
> assemblyReferences)
1837
out List<
AssemblyNameReference
> conflictingReferences)
1843
Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences = BuildSimpleNameTable();
1859
var fullNameToReference = new Dictionary<string,
AssemblyNameReference
>(References.Count, StringComparer.OrdinalIgnoreCase);
1861
foreach (List<
AssemblyNameReference
> references in baseNameToReferences.Values)
1863
foreach (
AssemblyNameReference
assemblyNameReference in references)
1890
if (fullNameToReference.TryGetValue(key, out
AssemblyNameReference
conflictingReference))
1909
var assemblyNamesList = new List<
AssemblyNameReference
>(conflictingFullNames.Count);
1919
foreach (
AssemblyNameReference
assemblyNameReference in assemblyNamesList)
2172
private Dictionary<string, List<
AssemblyNameReference
>> BuildSimpleNameTable()
2176
var baseNameToReferences = new Dictionary<string, List<
AssemblyNameReference
>>(References.Count, StringComparer.OrdinalIgnoreCase);
2182
AssemblyNameReference
assemblyReference =
AssemblyNameReference
.Create(assemblyName, reference);
2189
if (!baseNameToReferences.TryGetValue(baseName, out List<
AssemblyNameReference
> refs))
2191
refs = new List<
AssemblyNameReference
>();
2202
Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences)
2205
foreach (KeyValuePair<string, List<
AssemblyNameReference
>> kvp in baseNameToReferences)
2335
private static int ResolveAssemblyNameConflict(
AssemblyNameReference
assemblyReference0,
AssemblyNameReference
assemblyReference1)
AssemblyDependency\ResolveAssemblyReference.cs (5)
1066
List<
AssemblyNameReference
> idealAssemblyRemappingsIdentities,
2427
List<
AssemblyNameReference
> autoUnifiedRemappedAssemblyReferences = null;
2467
List<
AssemblyNameReference
> idealAssemblyRemappingsIdentities = autoUnifiedRemappedAssemblyReferences;
2517
List<
AssemblyNameReference
> remappedReferences = AutoUnify ? autoUnifiedRemappedAssemblyReferences : idealAssemblyRemappingsIdentities;
2982
private void PopulateSuggestedRedirects(List<DependentAssembly> idealAssemblyRemappings, List<
AssemblyNameReference
> idealAssemblyRemappedReferences)