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 fd2882e commit b92bf08Copy full SHA for b92bf08
src/CLR/Core/CLR_RT_HeapBlock.cpp
@@ -896,7 +896,10 @@ bool CLR_RT_HeapBlock::TypeDescriptorsMatch(
896
case DATATYPE_SZARRAY:
897
{
898
// compare outer dims (always 1) then element types
899
- return TypeDescriptorsMatch(expectedType, actualType);
+ CLR_RT_TypeDescriptor expectedElementType, actualElementType;
900
+ expectedElementType.GetElementType(expectedElementType);
901
+ actualElementType.GetElementType(actualElementType);
902
+ return TypeDescriptorsMatch(expectedElementType, actualElementType);
903
}
904
905
// primitives and other leaf types match on the DataType alone
0 commit comments