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 05faf5e commit eaba6c8Copy full SHA for eaba6c8
src/CLR/CorLib/corlib_native_System_Type.cpp
@@ -22,7 +22,7 @@ HRESULT Library_corlib_native_System_Type::get_DeclaringType___SystemType(CLR_RT
22
if (td.target->HasValidEnclosingType())
23
{
24
CLR_RT_HeapBlock *hbObj;
25
- td.Set(td.Assembly(), td.target->EnclosingType());
+ td.Set(td.Assembly(), td.target->EnclosingTypeIndex());
26
27
NANOCLR_CHECK_HRESULT(g_CLR_RT_ExecutionEngine.NewObjectFromIndex(top, g_CLR_RT_WellKnownTypes.TypeStatic));
28
hbObj = top.Dereference();
0 commit comments