The InterfaceImpl table has the following columns:
-
Class (an index into the TypeDef table)
-
Interface (an index into the TypeDef, TypeRef, or TypeSpec table; more precisely, a TypeDefOrRef (§II.24.2.6) coded index)
The InterfaceImpl table records the interfaces a type implements explicitly. Conceptually, each row in the InterfaceImpl table indicates that Class implements Interface.
_ This contains informative text only._
-
The InterfaceImpl table can contain zero or more rows
-
Class shall be non-null [ERROR]
-
If Class is non-null, then:
-
Class shall index a valid row in the TypeDef table [ERROR]
-
Interface shall index a valid row in the TypeDef or TypeRef table [ERROR]
-
The row in the TypeDef, TypeRef, or TypeSpec table indexed by Interface shall be an interface (Flags.
Interface
= 1), not a Class or ValueType [ERROR]
-
-
There should be no duplicates in the InterfaceImpl table, based upon non-null Class and Interface values [WARNING]
-
There can be many rows with the same value for Class (since a class can implement many interfaces)
-
There can be many rows with the same value for Interface (since many classes can implement the same interface)
End informative text.