10 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (2)
SpanAssertsTests.cs (1)
477 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
514 Assert.EndsWith("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
xunit.assert (8)
StringAsserts.cs (8)
723 EndsWith(expectedEndString.Span, actualString.Span, comparisonType); 735 EndsWith((ReadOnlySpan<char>)expectedEndString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 746 EndsWith((ReadOnlySpan<char>)expectedEndString, actualString, StringComparison.CurrentCulture); 757 EndsWith(expectedEndString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 768 EndsWith(expectedEndString, actualString, StringComparison.CurrentCulture); 781 EndsWith((ReadOnlySpan<char>)expectedEndString, (ReadOnlySpan<char>)actualString, comparisonType); 794 EndsWith((ReadOnlySpan<char>)expectedEndString, actualString, comparisonType); 807 EndsWith(expectedEndString, (ReadOnlySpan<char>)actualString, comparisonType);