Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 545 Bytes

ii.23.2.15-methodspec.md

File metadata and controls

11 lines (7 loc) · 545 Bytes

II.23.2.15 MethodSpec

The signature in the Blob heap indexed by a MethodSpec token has the following format

MethodSpecBlob ::=
GENERICINST GenArgCount Type Type*

GENERICINST has the value 0x0A. [Note: This value is known as IMAGE_CEE_CS_CALLCONV_GENERICINST in the Microsoft CLR implementation. end note]

The GenArgCount is a compressed unsigned integer indicating the number of generic arguments in the method. The blob then specifies the instantiated type, repeating a total of GenArgCount times.