31 references to ItemContainsMetadata
Microsoft.Build.Engine.UnitTests (31)
Definition\ItemDefinitionGroup_Tests.cs (31)
106Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
107Assert.True(ItemContainsMetadata(p, "Compile", "b.cs", "First", "1st"));
108Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Second", "2nd"));
109Assert.True(ItemContainsMetadata(p, "Compile", "b.cs", "Second", "2nd"));
110Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "Third", "3rd"));
149Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "First", "Not1st"));
150Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Second", "2nd"));
151Assert.True(ItemContainsMetadata(p, "Compile", "b.cs", "First", "1st"));
152Assert.True(ItemContainsMetadata(p, "Compile", "b.cs", "Second", "2nd"));
153Assert.True(ItemContainsMetadata(p, "Link", "a.o", "Third", "3rd"));
154Assert.True(ItemContainsMetadata(p, "Link", "a.o", "Fourth", "4th"));
279Assert.True(ItemContainsMetadata(p, "Link", "a.o", "Third", "----"));
320Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
321Assert.True(ItemContainsMetadata(p, "Compile", "b.cs", "Foo", "Bar"));
438Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
439Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
465Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
466Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
492Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
493Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
519Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
520Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
546Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
547Assert.False(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
573Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "Foo", "Bar"));
574Assert.True(ItemContainsMetadata(p, "Compile", "a.cs", "First", "1st"));
1269Assert.True(ItemContainsMetadata(p, "i", "i1", "m", "m1"));
1298Assert.True(ItemContainsMetadata(p, "i", "i1", "m", "m1"));
1299Assert.True(ItemContainsMetadata(p, "i", "i2", "m", "m2"));
1737Assert.True(ItemContainsMetadata(p, "CppCompile", "a.cpp", "Defines", "CODEANALYSIS;RETAIL"));
1742Assert.True(ItemContainsMetadata(p, "CppCompile", "a.cpp", "Defines", "CODEANALYSIS;DEBUG"));