return;
}
- MethodInfo symbolsMethodInfo = symbolsType.GetMethod("GetSourceLineInfo", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
+ Type[] parameterTypes = new Type[]
+ {
+ typeof(string), typeof(IntPtr), typeof(int), typeof(IntPtr),
+ typeof(int), typeof(int), typeof(int),
+ typeof(string).MakeByRefType(), typeof(int).MakeByRefType(), typeof(int).MakeByRefType()
+ };
+ MethodInfo symbolsMethodInfo = symbolsType.GetMethod("GetSourceLineInfo", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, parameterTypes, null);
if (symbolsMethodInfo == null)
{
return;
pILI4[iNumValidFrames] = data.pElements[i].dwILOffset;
// Assembly
- OBJECTREF pAssembly = pFunc->GetAssembly()->GetDomainAssembly()->GetExposedAssemblyObject();
+ OBJECTREF pAssembly = pFunc->GetAssembly()->GetExposedObject();
pStackFrameHelper->rgAssembly->SetAt(iNumValidFrames, pAssembly);
if (data.fDoWeHaveAnyFramesFromForeignStackTrace)