PEReader doesn't work with "IsLoadedImage" and "PrefetchMetadata" options (#80106)
authorBadre BSAILA <54767641+pedrobsaila@users.noreply.github.com>
Fri, 13 Jan 2023 01:16:49 +0000 (02:16 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Jan 2023 01:16:49 +0000 (17:16 -0800)
commit8823520cf43356787a334d5d6befc864552d6622
tree6007dbad448cfd70b5a9e92121af12d2a72b6d93
parentd2dfabf45d98782a9dc847fba32442e7aaa5b67b
PEReader doesn't work with "IsLoadedImage" and "PrefetchMetadata" options (#80106)

* PEReader doesn't work with "IsLoadedImage" and "PrefetchMetadata" options

* Apply suggestions from code review

Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>
Co-authored-by: Buyaa Namnan <buyankhishig.namnan@microsoft.com>
src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEReader.cs
src/libraries/System.Reflection.Metadata/tests/PortableExecutable/PEReaderTests.cs