I used PVS-Studio static analyzer to check this project. I would like to suggest...
authorIlya <DieselMachine84@users.noreply.github.com>
Thu, 23 Mar 2017 13:58:18 +0000 (16:58 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 23 Mar 2017 13:58:18 +0000 (14:58 +0100)
commit5605aa061520d4ca1caa1dcfca357e333cb5899e
tree26af1e448cafcf6b56ed8bdeee7871ce15957b99
parentf962be2ece2e27d2c9bbe26eebd0f39880c00cdd
I used PVS-Studio static analyzer to check this project. I would like to suggest a variant of the way to fix the error, detected with the help of V534 diagnostic. Description of the diagnostic: https://viva64.com/en/examples/v534/ (dotnet/coreclr#10414)

Incorrect variable 'i' from the outer loop is used in condition of the inner loop.

Commit migrated from https://github.com/dotnet/coreclr/commit/5bcd08108f522524741805d97989e5f227a6bd6b
src/coreclr/src/tools/metainfo/mdinfo.cpp