diff options
author | Kevin Gosse <krix33@gmail.com> | 2017-09-11 16:14:11 +0200 |
---|---|---|
committer | Atsushi Kanamori <AtsushiKan@users.noreply.github.com> | 2017-09-11 07:14:11 -0700 |
commit | c49bce445a6950bd05d7fd6752691da2aef2883b (patch) | |
tree | ffa1c2957d9777fc12e9e826831f08db1df1082f /cross | |
parent | bbfc670345689ca14cebc4436ca45717010e3546 (diff) | |
download | coreclr-c49bce445a6950bd05d7fd6752691da2aef2883b.tar.gz coreclr-c49bce445a6950bd05d7fd6752691da2aef2883b.tar.bz2 coreclr-c49bce445a6950bd05d7fd6752691da2aef2883b.zip |
Make order of elements consistent (#13892)
When the cache is only partially populated, MemberInfoCache.Insert will
insert the new members into the cache. But then, it will return the
original list. In subsequent calls, it will return the cached list.
However, the order of elements can be different, which can cause issues
with methods that rely on the order of elements returned by
Type.GetFields (for instance, Attribute.GetHashCode)
Diffstat (limited to 'cross')
0 files changed, 0 insertions, 0 deletions