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 7d7ab26 commit c58ac3eCopy full SHA for c58ac3e
src/CLR/Core/TypeSystem.cpp
@@ -1019,6 +1019,11 @@ bool CLR_RT_TypeDef_Instance::ResolveToken(
1019
int pos = elem.GenericParamPosition;
1020
1021
// Use the *caller's* bound genericType (Stack<Int32>, etc.)
1022
+ if (caller == nullptr || caller->genericType == nullptr)
1023
+ {
1024
+ return false;
1025
+ }
1026
+
1027
auto &tsi = *caller->genericType;
1028
CLR_UINT32 closedTsRow = tsi.TypeSpec();
1029
0 commit comments