5 references to Contains
Microsoft.DotNet.XUnitAssert.Tests (5)
AsyncCollectionAssertsTests.cs (5)
283 Assert.Throws<ArgumentNullException>("collection", () => Assert.Contains(14, default(IAsyncEnumerable<int>)!)); 291 Assert.Contains(null, list); 299 Assert.Contains(42, list); 307 var ex = Record.Exception(() => Assert.Contains(42, list)); 323 Assert.Contains("Hi there", list);