7 references to Version
Microsoft.Build.Tasks.Core (1)
AssemblyNameExtension.cs (1)
924
if ((comparisonFlags & PartialComparisonFlags.
Version
) != 0 && Version != null && this.Version != that.Version)
Microsoft.Build.Tasks.UnitTests (6)
AssemblyNameEx_Tests.cs (6)
446
Assert.True(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));
449
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));
453
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));
459
Assert.False(assemblyNameToMatchVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));
462
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));
466
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Version
));