9 references to Culture
Microsoft.Build.Tasks.Core (3)
AssemblyDependency\FrameworkPathResolver.cs (1)
90
if (assemblyName.PartialNameCompare(current, PartialComparisonFlags.
Culture
| PartialComparisonFlags.PublicKeyToken))
AssemblyNameExtension.cs (1)
929
if ((comparisonFlags & PartialComparisonFlags.
Culture
) != 0 && CultureInfo != null && (that.CultureInfo == null || !CompareCultures(AssemblyName, that.AssemblyName)))
RedistList.cs (1)
456
if (firstAssembly.PartialNameCompare(secondAssembly, PartialComparisonFlags.SimpleName | PartialComparisonFlags.PublicKeyToken | PartialComparisonFlags.
Culture
))
Microsoft.Build.Tasks.UnitTests (6)
AssemblyNameEx_Tests.cs (6)
490
Assert.True(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));
493
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));
497
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));
503
Assert.False(assemblyNameToMatchCulture.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));
506
Assert.False(assemblyNameToNotMatch.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));
510
Assert.True(assemblyMatchNoVersion.PartialNameCompare(assemblyToCompare, PartialComparisonFlags.SimpleName | PartialComparisonFlags.
Culture
));