10 references to PartialNameCompare
Microsoft.Build (3)
AssemblyNameExtension.cs (3)
862
return
PartialNameCompare
(that, PartialComparisonFlags.Default, false /* do not consider retargetable flag*/);
870
return
PartialNameCompare
(that, PartialComparisonFlags.Default, considerRetargetableFlag);
883
return
PartialNameCompare
(that, comparisonFlags, false /* do not consider retargetable flag*/);
Microsoft.Build.Engine.UnitTests (7)
AssemblyNameEx_Tests.cs (7)
576
Assert.True(assemblyNameToMatchRetargetable.
PartialNameCompare
(assemblyToCompare, PartialComparisonFlags.SimpleName, true));
579
Assert.False(assemblyToCompare.
PartialNameCompare
(assemblyNameToNotMatch, PartialComparisonFlags.SimpleName, true));
582
Assert.False(assemblyToCompare.
PartialNameCompare
(assemblyMatchNoRetargetable, PartialComparisonFlags.SimpleName, true));
585
Assert.False(assemblyMatchNoRetargetable.
PartialNameCompare
(assemblyToCompare, PartialComparisonFlags.SimpleName, true));
589
Assert.False(assemblyNameToMatchRetargetable.
PartialNameCompare
(assemblyToCompare, PartialComparisonFlags.SimpleName, true));
601
Assert.True(assemblyNameToNotMatch.
PartialNameCompare
(assemblyToCompare, PartialComparisonFlags.SimpleName, true));
604
Assert.True(assemblyMatchNoRetargetable.
PartialNameCompare
(assemblyToCompare, PartialComparisonFlags.SimpleName, true));