summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19Trim/TrimStart/TrimEnd methods for Memory and Span (#22798)Grant1-0/+866
* Span.Trim * Add another helper * Remove redundant comments * Optimize Trim(ReadOnlySpan<char>) * Suggested overload for byte * CR fixes * CR fix * Add Span overloads * Add Memory overloads * CR * Rename method * Optimization * Tweaks * Refactor * Opt * Use 2 helpers * CR fixes * CR fixes * Nits * CR fixes * remove in params * Bug * Bug * Move Trim methods to their own dedicated file * Add char overloads * Use Contains * CR fixes * Optmize ClampNull * Nit * Revert optimization * Make existing implementations consistent with new * Revert existing methods * Move helpers * Span, Memory and RoM should use consistent pattern * POC for changing RoS * Revert POC * Use consistent idiom * More inlining of explaining vars * Use expression body for existing code * CR fixes * Nit * Grammar * CR fixes * Fix perf bug in existing code * Perf fix * Force CI build * Force CI