[runtime] Fix the size calculation for CustomAttributeType coded indexes, they can...
authorZoltan Varga <vargaz@gmail.com>
Tue, 25 Jul 2017 03:20:43 +0000 (23:20 -0400)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2017 03:20:43 +0000 (23:20 -0400)
commit3daaa4d39c84f64b59cd177208978f0467e92610
tree7f028125e57d76c1b6d3250eef35006070c97d14
parent11ce9cab628ff32f55c2d34996b90a174ee189fa
[runtime] Fix the size calculation for CustomAttributeType coded indexes, they can only point to the MethodDef/MemberRef tables even through 3 bits are used to encode them, only 2 values are used. Fixes #58210. (#5256)
mono/metadata/metadata.c