Index and Range updates (dotnet/coreclr#22331)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 6 Feb 2019 23:15:46 +0000 (15:15 -0800)
committerGitHub <noreply@github.com>
Wed, 6 Feb 2019 23:15:46 +0000 (15:15 -0800)
commitd21028aa911963fe839f8d126462cd543ac1660a
treec171f9cb15b57ff81f1c684fcff49286228bfacc
parent3ee82939402989e4774921fed3abe9da0af125e0
Index and Range updates (dotnet/coreclr#22331)

* Index and Range updates

* Address @mikedn  feedback

* Address Feedback

* more feedback

* Use Deconstruct in Range.GetOffsetAndLength

* Rename GetArrayRange to GetSubArray

* Temporary disable the old Corefx Range tests

* Return back the TimeSpan test disabling

* Fix Range jit test

* Exclude the jit test

* revert the changes in the jit Range test

* Address Suggested Feedback

Commit migrated from https://github.com/dotnet/coreclr/commit/fe1185343cd02559824fcbfaf69967166978e8e5
15 files changed:
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
src/coreclr/tests/CoreFX/CoreFX.issues.json
src/coreclr/tests/issues.targets
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_20958/GitHub_20958.cs
src/libraries/System.Private.CoreLib/src/System/Index.cs
src/libraries/System.Private.CoreLib/src/System/Memory.cs
src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Fast.cs
src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.cs
src/libraries/System.Private.CoreLib/src/System/Range.cs
src/libraries/System.Private.CoreLib/src/System/ReadOnlyMemory.cs
src/libraries/System.Private.CoreLib/src/System/ReadOnlySpan.Fast.cs
src/libraries/System.Private.CoreLib/src/System/Span.Fast.cs
src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs
src/libraries/System.Private.CoreLib/src/System/String.cs
src/libraries/System.Private.CoreLib/src/System/ThrowHelper.cs