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)
1799
private void ResolveConflictsBetweenReferences(Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences)
1802
foreach (List<
AssemblyNameReference
> assemblyReferences in baseNameToReferences.Values)
1808
private void ResolveConflictsBetweenReferences(List<
AssemblyNameReference
> assemblyReferences)
1838
out List<
AssemblyNameReference
> conflictingReferences)
1844
Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences = BuildSimpleNameTable();
1860
var fullNameToReference = new Dictionary<string,
AssemblyNameReference
>(References.Count, StringComparer.OrdinalIgnoreCase);
1862
foreach (List<
AssemblyNameReference
> references in baseNameToReferences.Values)
1864
foreach (
AssemblyNameReference
assemblyNameReference in references)
1891
if (fullNameToReference.TryGetValue(key, out
AssemblyNameReference
conflictingReference))
1910
var assemblyNamesList = new List<
AssemblyNameReference
>(conflictingFullNames.Count);
1920
foreach (
AssemblyNameReference
assemblyNameReference in assemblyNamesList)
2173
private Dictionary<string, List<
AssemblyNameReference
>> BuildSimpleNameTable()
2177
var baseNameToReferences = new Dictionary<string, List<
AssemblyNameReference
>>(References.Count, StringComparer.OrdinalIgnoreCase);
2183
AssemblyNameReference
assemblyReference =
AssemblyNameReference
.Create(assemblyName, reference);
2190
if (!baseNameToReferences.TryGetValue(baseName, out List<
AssemblyNameReference
> refs))
2192
refs = new List<
AssemblyNameReference
>();
2203
Dictionary<string, List<
AssemblyNameReference
>> baseNameToReferences)
2206
foreach (KeyValuePair<string, List<
AssemblyNameReference
>> kvp in baseNameToReferences)
2336
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)