pStackFrameHelper->GetAppDomain());
// Allocate memory for the array of assemblies
- MethodTable * pAssemblyMT = MscorlibBinder::GetClass(CLASS__ASSEMBLY);
- PTRARRAYREF assemblyArray = (PTRARRAYREF) AllocateObjectArray(data.cElements, pAssemblyMT);
+ PTRARRAYREF assemblyArray = (PTRARRAYREF) AllocateObjectArray(data.cElements, g_pObjectClass);
SetObjectReference( (OBJECTREF *)&(pStackFrameHelper->rgAssembly), (OBJECTREF)assemblyArray,
pStackFrameHelper->GetAppDomain());
DEFINE_FIELD_U(dynamicMethods, StackFrameHelper, dynamicMethods)
DEFINE_FIELD_U(rgMethodHandle, StackFrameHelper, rgMethodHandle)
DEFINE_FIELD_U(rgAssemblyPath, StackFrameHelper, rgAssemblyPath)
+DEFINE_FIELD_U(rgAssembly, StackFrameHelper, rgAssembly)
DEFINE_FIELD_U(rgLoadedPeAddress, StackFrameHelper, rgLoadedPeAddress)
DEFINE_FIELD_U(rgiLoadedPeSize, StackFrameHelper, rgiLoadedPeSize)
DEFINE_FIELD_U(rgInMemoryPdbAddress, StackFrameHelper, rgInMemoryPdbAddress)