Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.21 KB

ii.22.29-methodspec-0x2b.md

File metadata and controls

21 lines (11 loc) · 1.21 KB

II.22.29 MethodSpec: 0x2B

The MethodSpec table has the following columns:

  • Method (an index into the MethodDef or MemberRef table, specifying to which generic method this row refers; that is, which generic method this row is an instantiation of; more precisely, a MethodDefOrRefII.24.2.6) coded index)

  • Instantiation (an index into the Blob heap (§II.23.2.15), holding the signature of this instantiation)

The MethodSpec table records the signature of an instantiated generic method. Each unique instantiation of a generic method (i.e., a combination of Method and Instantiation) shall be represented by a single row in the table.

This contains informative text only.

  1. The MethodSpec table can contain zero or more rows

  2. One or more rows can refer to the same row in the MethodDef or MemberRef table. (There can be multiple instantiations of the same generic method.)

  3. The signature stored at Instantiation shall be a valid instantiation of the signature of the generic method stored at Method [ERROR]

  4. There shall be no duplicate rows based upon Method+Instantiation [ERROR]

End informative text.