9 references to PublicKeyToken
Microsoft.Build.Tasks.Core (3)
AssemblyDependency\FrameworkPathResolver.cs (1)
90
if (assemblyName.PartialNameCompare(current, PartialComparisonFlags.Culture | PartialComparisonFlags.
PublicKeyToken
))
AssemblyNameExtension.cs (1)
934
if ((comparisonFlags & PartialComparisonFlags.
PublicKeyToken
) != 0 && GetPublicKeyToken() != null && !ComparePublicKeyToken(that))
RedistList.cs (1)
456
if (firstAssembly.PartialNameCompare(secondAssembly, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
| PartialComparisonFlags.Culture))
Microsoft.Build.Tasks.UnitTests (6)
AssemblyNameEx_Tests.cs (6)
534
Assert.True(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));
537
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));
541
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));
547
Assert.False(assemblyNameToMatchPublicToken.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));
550
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));
554
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
PublicKeyToken
));