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