43 references to Name
Microsoft.Build.Tasks.Core (34)
AssemblyDependency\FrameworkPathResolver.cs (1)
82foreach (AssemblyEntry a in installedAssemblies.FindAssemblyNameFromSimpleName(assemblyName.Name))
AssemblyDependency\InstalledAssemblies.cs (1)
106foreach (AssemblyEntry tableCandidate in _redistList.FindAssemblyNameFromSimpleName(assemblyName.Name))
AssemblyDependency\ReferenceTable.cs (10)
405ErrorUtilities.VerifyThrow(assemblyName.Name != null, "Got an empty assembly name."); 430ErrorUtilities.VerifyThrow(assemblyName.Name != null, "Got an empty assembly name."); 585AssemblyNameExtension.EscapeDisplayNameCharacters(assemblyName.Name)); 652if (possiblyBetterAssemblyName?.Name != null) 716_externallyResolvedPrimaryReferences.Add(assemblyName.Name); 892_externallyResolvedPrimaryReferences.Add(assemblyName.Name); 1061bool isMscorlib = IsPseudoAssembly(dependentAssemblies[i].Name); 1298if (parentReferenceFolders.Count > 0 && (assemblyName == null || !_externallyResolvedPrimaryReferences.Contains(assemblyName.Name))) 2187string baseName = assemblyName.Name; 2623if (!reference.IsPrimary && IsPseudoAssembly(assemblyName.Name))
AssemblyDependency\ResolveAssemblyReference.cs (6)
1137Log.LogWarningWithCodeFromResources("ResolveAssemblyReference.FoundConflicts", assemblyName.Name, output); 1148_unresolvedConflicts.Add(new TaskItem(assemblyName.Name, new Dictionary<string, string>() 2525if (string.Equals(SystemRuntimeAssemblyName, reference.Name, StringComparison.OrdinalIgnoreCase)) 2529if (string.Equals(NETStandardAssemblyName, reference.Name, StringComparison.OrdinalIgnoreCase)) 2556if (string.Equals(SystemRuntimeAssemblyName, dependentReference.Name, StringComparison.OrdinalIgnoreCase)) 2561if (string.Equals(NETStandardAssemblyName, dependentReference.Name, StringComparison.OrdinalIgnoreCase))
AssemblyDependency\Resolver.cs (2)
162if (!String.Equals(assemblyName?.Name, candidateBaseName, StringComparison.CurrentCultureIgnoreCase)) 317string weakNameBase = assemblyName.Name;
AssemblyNameExtension.cs (8)
489int hash = StringComparer.OrdinalIgnoreCase.GetHashCode(this.Name); 551return string.Compare(this.Name, that.Name, StringComparison.OrdinalIgnoreCase); 717if (!string.Equals(Name, that.Name, StringComparison.OrdinalIgnoreCase)) 919if ((comparisonFlags & PartialComparisonFlags.SimpleName) != 0 && Name != null && !string.Equals(Name, that.Name, StringComparison.OrdinalIgnoreCase))
GenerateResource.cs (3)
2507if (String.Equals(requestedAssemblyName.Name, candidateAssemblyName.Name, StringComparison.CurrentCultureIgnoreCase)) 3406if (string.Equals(assemblyName.Name, "System.Resources.Extensions", StringComparison.OrdinalIgnoreCase))
RedistList.cs (3)
436string simpleName = GetSimpleName(assemblyName.Name); 905int stringResult = string.Compare(firstAssemblyName.Name, secondAssemblyName.Name, StringComparison.OrdinalIgnoreCase);
Microsoft.Build.Tasks.UnitTests (9)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (2)
131cache2["path2"].Assembly.Name.ShouldBe(cache["path2"].Assembly.Name);
AssemblyNameEx_Tests.cs (7)
355Assert.Equal("A", extension.Name); 361Assert.Equal("A", extension.Name); 367Assert.Equal("A", extension.Name); 373Assert.Equal("A", extension.Name); 379Assert.Equal("A", extension.Name); 391Assert.Equal("A", extension.Name); 399Assert.Equal("A", extension.Name);