Skip to content
Merged
Changes from 1 commit
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
9 changes: 6 additions & 3 deletions src/coreclr/vm/methodtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,12 @@ class MethodTable
{
LIMITED_METHOD_DAC_CONTRACT;

// currently all ComObjects except
// for __ComObject have dynamic Interface maps
return GetNumInterfaces() > 0 && IsComObjectType() && !ParentEquals(g_pObjectClass);
// All ComObjects except for __ComObject
// have dynamic Interface maps
return GetNumInterfaces() > 0
&& IsComObjectType()
&& !ParentEquals(g_pObjectClass)
&& this != g_pBaseCOMObject;
}
#endif // FEATURE_COMINTEROP

Expand Down
Loading