Ref Assembly and Units for Span.Trim (dotnet/corefx#35576)
authorGrant <grant@jesanna.com>
Tue, 16 Apr 2019 01:24:04 +0000 (18:24 -0700)
committerAhson Khan <ahkha@microsoft.com>
Tue, 16 Apr 2019 01:24:04 +0000 (18:24 -0700)
commit8713af383b53d3c5f1f9f7734c6abe55a6483b56
tree97e8e95ff15eb11cb0ca00b3562d6c39c4031f1f
parentbb20d2572d9cd6291881d7021a124147f797834e
Ref Assembly and Units for Span.Trim (dotnet/corefx#35576)

* Units for Trim

* Add ref assembly

* Bug

* Add char units

* Bugs

* CR fixes - 1

* CR fixes - 2

* CR fixes - 3

* CR fixes - 4

* CR fixes - 5

* Revert formatting

* unfo formatting

* Get MemberData working

* Normalize ref

* Manual revert changes

* CR fixes

* Undo code cleanup

* Fixes

* Update ref

* Update ref

* Update ref

* Move memory tests

* Revert StringTests

* Remove redundant unit code

* Add missing refs

* Bug

* dotnet msbuild /t:GenerateReferenceSource

* Revert unintended changes

* POC : Check if fix works

* Fix units

* Revert temp test

* Update ApiCompatBaseline.uapaot.txt

Commit migrated from https://github.com/dotnet/corefx/commit/2191763a765654710df5317dc65dc7cd935bc8c1
src/libraries/System.Memory/ref/System.Memory.cs
src/libraries/System.Memory/src/ApiCompatBaseline.uapaot.txt
src/libraries/System.Memory/tests/Memory/Trim.cs [new file with mode: 0644]
src/libraries/System.Memory/tests/System.Memory.Tests.csproj
src/libraries/System.Runtime/tests/System/StringTests.netcoreapp.cs