Skip to content

Commit

Permalink
Fix an assert in ReadyToRunReader constructor (dotnet#33203)
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung authored Mar 5, 2020
1 parent 2d0ebf1 commit 1777ed9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ private unsafe void Initialize(MetadataReader metadata)

DirectoryEntry r2rHeaderDirectory = PEReader.PEHeaders.CorHeader.ManagedNativeHeaderDirectory;
_readyToRunHeaderRVA = r2rHeaderDirectory.RelativeVirtualAddress;
Debug.Assert(!Composite);
}
else if (!TryLocateNativeReadyToRunHeader())
{
Expand Down

0 comments on commit 1777ed9

Please sign in to comment.