13 references to CompareCollections
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BinaryTranslator_Tests.cs (6)
380Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, DerivedClass.Comparer)); 395Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, DerivedClass.Comparer)); 410Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, BaseClass.Comparer)); 425Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, BaseClass.Comparer)); 836Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, comparer)); 850Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, comparer));
BackEnd\BuildResult_Tests.cs (4)
333Assert.True(TranslationHelpers.CompareCollections(result.DefaultTargets, deserializedResult.DefaultTargets, StringComparer.Ordinal)); 337Assert.True(TranslationHelpers.CompareCollections(result.InitialTargets, deserializedResult.InitialTargets, StringComparer.Ordinal)); 341Assert.True(TranslationHelpers.CompareCollections(result["alpha"].Items, deserializedResult["alpha"].Items, TaskItemComparer.Instance)); 344Assert.True(TranslationHelpers.CompareCollections(result["omega"].Items, deserializedResult["omega"].Items, TaskItemComparer.Instance));
BackEnd\TargetResult_Tests.cs (2)
104Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance)); 124Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance));
InternalEngineHelpers.cs (1)
179TranslationHelpers.CompareCollections(a.Items, b.Items, TaskItemComparer.Instance).ShouldBeTrue();