Fix branch distance calculation (dotnet/corefx#41716)
authorTomáš Matoušek <tmat@users.noreply.github.com>
Fri, 11 Oct 2019 05:05:28 +0000 (22:05 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 11 Oct 2019 05:05:28 +0000 (22:05 -0700)
commit5452759acd00b299ee0811ad53bf51412d1356d4
tree48e2c22327e677c64259202a7555b7e5b6042e13
parent90cef59be6b986e2aa9ef73223255ea228798e4a
Fix branch distance calculation (dotnet/corefx#41716)

Commit migrated from https://github.com/dotnet/corefx/commit/901c370c2379ad0885bcc5a1921c4164104586aa
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/ControlFlowBuilder.cs
src/libraries/System.Reflection.Metadata/tests/Metadata/Ecma335/Encoding/ControlFlowBuilderTests.cs