AssemblyNameExtension.cs (8)
862return PartialNameCompare(that, PartialComparisonFlags.Default, false /* do not consider retargetable flag*/);
870return PartialNameCompare(that, PartialComparisonFlags.Default, considerRetargetableFlag);
881internal bool PartialNameCompare(AssemblyNameExtension that, PartialComparisonFlags comparisonFlags)
894internal bool PartialNameCompare(AssemblyNameExtension that, PartialComparisonFlags comparisonFlags, bool considerRetargetableFlag)
919if ((comparisonFlags & PartialComparisonFlags.SimpleName) != 0 && Name != null && !string.Equals(Name, that.Name, StringComparison.OrdinalIgnoreCase))
924if ((comparisonFlags & PartialComparisonFlags.Version) != 0 && Version != null && this.Version != that.Version)
929if ((comparisonFlags & PartialComparisonFlags.Culture) != 0 && CultureInfo != null && (that.CultureInfo == null || !CompareCultures(AssemblyName, that.AssemblyName)))
934if ((comparisonFlags & PartialComparisonFlags.PublicKeyToken) != 0 && GetPublicKeyToken() != null && !ComparePublicKeyToken(that))