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