9 references to Instance
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildResult_Tests.cs (2)
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
));
BackEnd\TaskExecutionHost_Tests.cs (4)
1315
Assert.Equal(0, TaskItemComparer.
Instance
.Compare(value, new TaskItem(_bucket.Lookup.GetItems("output").First())));
1344
Assert.Equal(0, TaskItemComparer.
Instance
.Compare(values[i], new TaskItem(_bucket.Lookup.GetItems("output").ElementAt(i))));
1395
Assert.Equal(0, TaskItemComparer.
Instance
.Compare(expectedItem, actualItem));
1426
Assert.Equal(0, TaskItemComparer.
Instance
.Compare(expectedItems[i], actualItems[i]));
InternalEngineHelpers.cs (1)
179
TranslationHelpers.CompareCollections(a.Items, b.Items, TaskItemComparer.
Instance
).ShouldBeTrue();