How to inspect IFaceMap of a type using SOS debugging extension in .NET

Is it possible to output the IFaceMap of a type using the SOS debugging extension? The DumpMT command only gives the number of interfaces a type implements but it doesn’t give any command to output the IFacemap entries themselves

!DumpMT -MD 007938ec
EEClass: 00791310
Module: 00792e94
Name: DebugTest.Customer
mdToken: 02000004
BaseSize: 0x10
ComponentSize: 0x0
Slots in VTable: 10
Number of IFaces in IFaceMap: 1

The DumpHeap also doesn’t output the interfaces.


Source: .net

Leave a Reply