diff options
author | Ahson Khan <ahkha@microsoft.com> | 2018-02-22 04:09:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 04:09:41 +0300 |
commit | 42d5370f8c6cec8d1961f54a0974e52b0562b0a7 (patch) | |
tree | 53fefe6bb9209beab3d9c72f70381ff5349225e8 /src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj | |
parent | 30a00d0333e9d8f265adf2006f056abb3ee1a7c0 (diff) |
Add ROSpan StartsWith and EndsWith string-like APIs with StringComparison (#26880)
* Add ROSpan StartsWith and EndsWith string-like APIs with StringComparison
* We have separate implementations of slow and fast span.
* Remove unused using directive.
* Address PR feedback and add tests.
* Add test files
* Get the string from the underlying span to avoid allocation when possible.
* Update ToString and add tests
* Update Span ToString and add tests
* Address PR feedback and disable ToString test for fast span
* Borrow additional tests from the existing StringTests test bed.
* Fix comment grammar
* No StringComparison results in generic StartsWith being called which does ordinal comparison
* Address feedback related to ToString and tests
* Fix tests for culture specific cases, for Unix.
* Fix typo in variable names
* Respond to recent change AsReadOnlySpan -> AsSpan
* Fix typo in test.
Diffstat (limited to 'src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj')
0 files changed, 0 insertions, 0 deletions