6 instantiations of AssemblyEntry
Microsoft.Build.Tasks.Core (1)
RedistList.cs (1)
909
newEntry = new
AssemblyEntry
(name, version, publicKeyToken, culture, inGACFlag, isRedistRootFlag, redistName, assemblyTableInfo.FrameworkDirectory, retargetableFlag);
Microsoft.Build.Tasks.UnitTests (5)
AssemblyDependency\Miscellaneous.cs (5)
7834
AssemblyEntry a1 = new
AssemblyEntry
("Microsoft.Build.Engine", "1.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7835
AssemblyEntry a2 = new
AssemblyEntry
("Microsoft.Build.Engine", "2.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", false);
7836
AssemblyEntry a3 = new
AssemblyEntry
("Microsoft.Build.Engine", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7837
AssemblyEntry a4 = new
AssemblyEntry
("A", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7838
AssemblyEntry a5 = new
AssemblyEntry
("B", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
75 references to AssemblyEntry
Microsoft.Build.Tasks.Core (49)
AssemblyDependency\FrameworkPathResolver.cs (1)
82
foreach (
AssemblyEntry
a in installedAssemblies.FindAssemblyNameFromSimpleName(assemblyName.Name))
AssemblyDependency\InstalledAssemblies.cs (3)
60
AssemblyEntry
highestVersionFromRedistList = FindHighestVersionInRedistList(assemblyName);
94
internal
AssemblyEntry
FindHighestVersionInRedistList(AssemblyNameExtension assemblyName)
105
foreach (
AssemblyEntry
tableCandidate in _redistList.FindAssemblyNameFromSimpleName(assemblyName.Name))
AssemblyDependency\ReferenceTable.cs (3)
620
AssemblyEntry
entry = _installedAssemblies.FindHighestVersionInRedistList(assemblyName);
2120
AssemblyEntry
highestInRedistList = _installedAssemblies.FindHighestVersionInRedistList(assemblyName);
2462
AssemblyEntry
redistListEntry = installedAssemblies.FindHighestVersionInRedistList(assemblyName);
RedistList.cs (41)
57
private readonly ConcurrentDictionary<string,
AssemblyEntry
> _assemblyNameToUnifiedAssemblyName = new ConcurrentDictionary<string,
AssemblyEntry
>(StringComparer.OrdinalIgnoreCase);
80
private readonly ReadOnlyCollection<
AssemblyEntry
> _assemblyList;
96
var assemblyList = new List<
AssemblyEntry
>();
115
_assemblyList = new ReadOnlyCollection<
AssemblyEntry
>(assemblyList);
120
AssemblyEntry
entry = assemblyList[i];
152
AssemblyEntry
entry = GetUnifiedAssemblyEntry(assemblyName);
174
AssemblyEntry
entry = GetUnifiedAssemblyEntry(assemblyName);
207
AssemblyEntry
entry = GetUnifiedAssemblyEntry(assemblyName);
329
AssemblyEntry
entry = GetUnifiedAssemblyEntry(assemblyName);
380
private
AssemblyEntry
GetUnifiedAssemblyEntry(string assemblyName)
387
if (!_assemblyNameToUnifiedAssemblyName.TryGetValue(assemblyName, out
AssemblyEntry
unifiedEntry))
396
AssemblyEntry
entry = _assemblyList[i];
443
AssemblyEntry
entry = _assemblyList[i];
479
AssemblyEntry
entry = GetUnifiedAssemblyEntry(assemblyName);
496
private readonly ReadOnlyCollection<
AssemblyEntry
> _assemblyList;
498
public AssemblyNameFromSimpleNameEnumerator(ReadOnlyCollection<
AssemblyEntry
> assemblyList, ReadOnlyDictionary<string, int> simpleNameMap, string simpleName)
516
AssemblyEntry
entry = _assemblyList[_index];
540
public
AssemblyEntry
Current { get; private set; }
588
var allowListAssemblies = new List<
AssemblyEntry
>();
596
var allowListAssembliesReadIn = new List<
AssemblyEntry
>();
637
foreach (
AssemblyEntry
entry in _assemblyList)
660
foreach (
AssemblyEntry
allowListEntry in allowListAssemblies)
690
internal static string ReadFile(AssemblyTableInfo assemblyTableInfo, List<
AssemblyEntry
> assembliesList, List<Exception> errorsList, List<string> errorFilenamesList, List<AssemblyRemapping> remapEntries)
699
var assemblyEntries = new Dictionary<string,
AssemblyEntry
>(StringComparer.OrdinalIgnoreCase);
757
foreach (
AssemblyEntry
entry in assemblyEntries.Values)
779
AssemblyEntry
newEntry = ReadFileListEntry(assemblyTableInfo, path, redistName, reader, false);
788
AssemblyEntry
newEntry = ReadFileListEntry(assemblyTableInfo, path, redistName, reader, false);
825
private static void ParseFileListSection(AssemblyTableInfo assemblyTableInfo, string path, string redistName, XmlReader reader, Dictionary<string,
AssemblyEntry
> assemblyEntries, List<AssemblyRemapping> remapEntries)
833
AssemblyEntry
newEntry = ReadFileListEntry(assemblyTableInfo, path, redistName, reader, true);
840
assemblyEntries.TryGetValue(hashIndex, out
AssemblyEntry
dictionaryEntry);
869
private static
AssemblyEntry
ReadFileListEntry(AssemblyTableInfo assemblyTableInfo, string path, string redistName, XmlReader reader, bool fullFusionNameRequired)
905
AssemblyEntry
newEntry = null;
916
private static readonly IComparer<
AssemblyEntry
> s_sortByVersionDescending = new SortByVersionDescending();
925
internal class SortByVersionDescending : IComparer, IComparer<
AssemblyEntry
>
929
AssemblyEntry
firstEntry = a as
AssemblyEntry
;
930
AssemblyEntry
secondEntry = b as
AssemblyEntry
;
934
public int Compare(
AssemblyEntry
firstEntry,
AssemblyEntry
secondEntry)
SystemState.cs (1)
461
foreach (
AssemblyEntry
a in redistList.FindAssemblyNameFromSimpleName(Path.GetFileNameWithoutExtension(path)))
Microsoft.Build.Tasks.UnitTests (26)
AssemblyDependency\Miscellaneous.cs (26)
2499
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2638
List<
AssemblyEntry
> entries = ExpectRedistEntries(fullRedistListContentsDuplicates, 3, 2);
2644
private static List<
AssemblyEntry
> ExpectRedistEntries(string fullRedistListContentsDuplicates, int numberOfExpectedEntries, int numberofExpectedRemapEntries)
2647
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2689
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2730
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2773
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2816
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2849
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2884
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
2922
List<
AssemblyEntry
> assembliesReadIn = new List<
AssemblyEntry
>();
7834
AssemblyEntry
a1 = new AssemblyEntry("Microsoft.Build.Engine", "1.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7835
AssemblyEntry
a2 = new AssemblyEntry("Microsoft.Build.Engine", "2.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", false);
7836
AssemblyEntry
a3 = new AssemblyEntry("Microsoft.Build.Engine", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7837
AssemblyEntry
a4 = new AssemblyEntry("A", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7838
AssemblyEntry
a5 = new AssemblyEntry("B", "3.0.0.0", "b03f5f7f11d50a3a", "neutral", true, true, "Foo", "none", true);
7892
List<
AssemblyEntry
> entryArray = [.. redist.FindAssemblyNameFromSimpleName("System")];