4 references to StartsWithSegments
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
265return StartsWithSegments(other, StringComparison.OrdinalIgnoreCase, out remaining);
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
PathStringTests.cs (2)
235var result = source.StartsWithSegments(test, comparison, out var remaining); 256var result = source.StartsWithSegments(test, comparison, out var remaining);
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefixCollection.cs (1)
96&& originalPathString.StartsWithSegments(new PathString(prefix.PathWithoutTrailingSlash), StringComparison.OrdinalIgnoreCase, out var remainder)