10 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (2)
SpanAssertsTests.cs (1)
894 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
916 Assert.StartsWith("HELLO".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
xunit.assert (8)
StringAsserts.cs (8)
1524 StartsWith(expectedStartString.Span, actualString.Span, comparisonType); 1536 StartsWith((ReadOnlySpan<char>)expectedStartString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 1547 StartsWith((ReadOnlySpan<char>)expectedStartString, actualString, StringComparison.CurrentCulture); 1558 StartsWith(expectedStartString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture); 1569 StartsWith(expectedStartString, actualString, StringComparison.CurrentCulture); 1582 StartsWith((ReadOnlySpan<char>)expectedStartString, (ReadOnlySpan<char>)actualString, comparisonType); 1595 StartsWith((ReadOnlySpan<char>)expectedStartString, actualString, comparisonType); 1608 StartsWith(expectedStartString, (ReadOnlySpan<char>)actualString, comparisonType);