7 references to DoesNotContain
Microsoft.DotNet.XliffTasks.Tests (1)
XlfDocumentTests.cs (1)
490Assert.DoesNotContain("Apple", untranslatedResources, StringComparer.Ordinal);
Microsoft.DotNet.XUnitAssert.Tests (4)
CollectionAssertsTests.cs (4)
589 Assert.Throws<ArgumentNullException>("collection", () => Assert.DoesNotContain(14, default(IEnumerable<int>)!, comparer)); 590 Assert.Throws<ArgumentNullException>("comparer", () => Assert.DoesNotContain(14, new int[0], null!)); 598 Assert.DoesNotContain(42, list, new MyComparer()); 606 Assert.DoesNotContain("HI THERE", set, StringComparer.Ordinal);
xunit.assert (2)
AsyncCollectionAsserts.cs (1)
188 DoesNotContain(expected, AssertHelper.ToEnumerable(collection), comparer);
CollectionAsserts.cs (1)
373 DoesNotContain(expected, collection, GetEqualityComparer<T>());