10 references to Contains
Microsoft.DotNet.XUnitAssert.Tests (2)
SpanAssertsTests.cs (1)
58 Assert.Contains("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
142 Assert.Contains("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
xunit.assert (8)
StringAsserts.cs (8)
168 Contains(expectedSubstring.Span, actualString.Span, comparisonType); 182 Contains((ReadOnlySpan<char>)expectedSubstring, (ReadOnlySpan<char>)actualString, comparisonType); 195 Contains((ReadOnlySpan<char>)expectedSubstring, actualString, comparisonType); 208 Contains(expectedSubstring, (ReadOnlySpan<char>)actualString, comparisonType); 238 Contains((ReadOnlySpan<char>)expectedSubstring, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 249 Contains((ReadOnlySpan<char>)expectedSubstring, actualString, StringComparison.CurrentCulture); 260 Contains(expectedSubstring, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 271 Contains(expectedSubstring, actualString, StringComparison.CurrentCulture);