We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddf25f commit 3dc26a3Copy full SHA for 3dc26a3
src/coreclr/vm/method.cpp
@@ -466,8 +466,13 @@ void MethodDesc::GetSig(PCCOR_SIGNATURE *ppSig, DWORD *pcSig)
466
if (IsAsyncVariantMethod())
467
{
468
Signature sig = GetAddrOfAsyncMethodData()->sig;
469
- *ppSig = sig.GetRawSig();
470
*pcSig = sig.GetRawSigLen();
+#ifdef DACCESS_COMPILE
471
+ *ppSig = (PCCOR_SIGNATURE)
472
+ DacInstantiateTypeByAddress((TADDR)sig.GetRawSig(), *pcSig, true);
473
+#else // !DACCESS_COMPILE
474
+ *ppSig = sig.GetRawSig();
475
+#endif // !DACCESS_COMPILE
476
return;
477
}
478
0 commit comments