Apply Optimization in Index.GetOffset suggested by Levi (#23349)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Fri, 22 Mar 2019 22:22:50 +0000 (15:22 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Mar 2019 22:22:50 +0000 (15:22 -0700)
commit39b1b6338015c9d6ef193986e0579f0ae0e60566
treeb0e62477ba29700fbf7879aad8f830a91a02d860
parenta63da9e80defe0187d8ee59b9732a978ce4c493e
Apply Optimization in Index.GetOffset suggested by Levi (#23349)

* Apply Optimization in Index.GetOffset suggested by Levi

* Add Comment

* address the feedback
src/System.Private.CoreLib/shared/System/Index.cs