Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/CLR/Diagnostics/Info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,14 @@ void CLR_RT_Assembly::DumpToken(CLR_UINT32 token, const CLR_RT_TypeSpec_Index *g
// back to BuildTypeName for the full concrete name.
//

CLR_UINT32 ownerAsm = assemblyIndex;
if (genericType != nullptr && NANOCLR_INDEX_IS_VALID(*genericType))
{
ownerAsm = genericType->Assembly();
}

CLR_RT_TypeSpec_Index tsIdx;
tsIdx.Set(assemblyIndex, index);
tsIdx.Set(ownerAsm, index);

// bind to get the signature blob
CLR_RT_TypeSpec_Instance tsInst{};
Expand Down