Fix string.strlen (dotnet/coreclr#22397)
authorBen Adams <thundercat@illyriad.co.uk>
Tue, 5 Feb 2019 04:04:30 +0000 (05:04 +0100)
committerJan Kotas <jkotas@microsoft.com>
Tue, 5 Feb 2019 04:04:30 +0000 (20:04 -0800)
commita5dbe1f92d540f5364d294012d8ffe7ed4eb7aa4
tree304d62f941db5e553ac70e0a6629a138c8ab3351
parent1279b7fb13844a0abe064fa930d983015154bf4a
Fix string.strlen (dotnet/coreclr#22397)

* Add explanation comment

Fixes dotnet/coreclr#22393

Commit migrated from https://github.com/dotnet/coreclr/commit/cc8bcb2523c549c6a0cd069b22e3e99d89f3158f
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Byte.cs