2 instantiations of AssemblyNameComparer
Microsoft.Build.Tasks.Core (2)
17 references to AssemblyNameComparer
Microsoft.Build.Tasks.Core (5)
Microsoft.Build.Tasks.UnitTests (12)
AssemblyNameEx_Tests.cs (12)
623Assert.True(AssemblyNameComparer.GenericComparer.Equals(a, b));
624Assert.False(AssemblyNameComparer.GenericComparer.Equals(a, d));
626Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, b));
627Assert.True(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, c));
628Assert.False(AssemblyNameComparer.GenericComparerConsiderRetargetable.Equals(a, d));
631Assert.Equal(0, AssemblyNameComparer.Comparer.Compare(a, b));
632Assert.True(AssemblyNameComparer.Comparer.Compare(a, d) > 0);
633Assert.True(AssemblyNameComparer.Comparer.Compare(a, e) < 0);
635Assert.Equal(0, AssemblyNameComparer.ComparerConsiderRetargetable.Compare(a, c));
636Assert.True(AssemblyNameComparer.ComparerConsiderRetargetable.Compare(a, b) > 0);
637Assert.True(AssemblyNameComparer.ComparerConsiderRetargetable.Compare(a, d) > 0);
638Assert.True(AssemblyNameComparer.ComparerConsiderRetargetable.Compare(a, e) < 0);