Update Range.GetOffsetAndLength (dotnet/coreclr#23855)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 10 Apr 2019 19:05:27 +0000 (20:05 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2019 19:05:27 +0000 (20:05 +0100)
commite0a4fecdd8c85eb8e00aa613046d70e4d727410a
tree8a8c4d6429fa0ea4fc488ebb6f066db646974401
parent0b414031ea965b9954f38a91ad0970ce3f3e0900
Update Range.GetOffsetAndLength (dotnet/coreclr#23855)

* Update Range.GetOffsetAndLength

Make it return offset and length tuple instead of the old Type Range.OffsetAndLength

* Fix the return Tuple fields names

Commit migrated from https://github.com/dotnet/coreclr/commit/6398853de7ed52ed378312073fe47f3af75cce0a
src/libraries/System.Private.CoreLib/src/System/Range.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs