Skip to content

Commit

Permalink
Restore erroneously removed encoding of the argument count in a gener…
Browse files Browse the repository at this point in the history
…ic method instantiation (#98731)
  • Loading branch information
kg committed Feb 22, 2024
1 parent ec3499a commit 2106224
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/coreclr/vm/zapsig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,9 @@ BOOL ZapSig::EncodeMethod(
else
{
Instantiation inst = pMethod->GetMethodInstantiation();

pSigBuilder->AppendData(inst.GetNumArgs());

for (DWORD i = 0; i < inst.GetNumArgs(); i++)
{
TypeHandle t = inst[i];
Expand Down

0 comments on commit 2106224

Please sign in to comment.