Browse Source

#2823: Use row ID instead of token in AsyncDebugInfo blob.

pull/2828/head
Siegfried Pammer 3 years ago
parent
commit
3075ec92fe
  1. 2
      ICSharpCode.Decompiler/DebugInfo/AsyncDebugInfo.cs

2
ICSharpCode.Decompiler/DebugInfo/AsyncDebugInfo.cs

@ -36,7 +36,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
{ {
blob.WriteUInt32((uint)await.YieldOffset); blob.WriteUInt32((uint)await.YieldOffset);
blob.WriteUInt32((uint)await.ResumeOffset); blob.WriteUInt32((uint)await.ResumeOffset);
blob.WriteCompressedInteger(MetadataTokens.GetToken(moveNext)); blob.WriteCompressedInteger(MetadataTokens.GetRowNumber(moveNext));
} }
return blob; return blob;
} }

Loading…
Cancel
Save