diff --git a/src/coreclr/debug/daccess/dacdbiimpl.cpp b/src/coreclr/debug/daccess/dacdbiimpl.cpp index 1891248bb85c10..067751ad253a18 100644 --- a/src/coreclr/debug/daccess/dacdbiimpl.cpp +++ b/src/coreclr/debug/daccess/dacdbiimpl.cpp @@ -1352,7 +1352,7 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetNativeCodeInfo(VMPTR_DomainAss MethodDesc* pMethodDesc = FindLoadedMethodRefOrDef(pModule, functionToken); if (pMethodDesc != NULL && pMethodDesc->IsAsyncThunkMethod()) { - MethodDesc* pAsyncVariant = pMethodDesc->GetOrdinaryVariantNoCreate(); + MethodDesc* pAsyncVariant = pMethodDesc->GetAsyncVariantNoCreate(); if (pAsyncVariant != NULL) { pMethodDesc = pAsyncVariant;