A LocalVarSig is indexed by the StandAloneSig.Signature column. It captures the type of all the local variables in a method. Its syntax diagram is:
This diagram uses the following abbreviations:
-
LOCAL_SIG
for 0x7, used for the .locals directive, see §II.15.4.1.3 -
BYREF
forELEMENT_TYPE_BYREF
(§II.23.1.16)
Constraint is defined in §II.23.2.9.
Type is defined in §II.23.2.12
Count is a compressed unsigned integer that holds the number of local variables. It can be any number between 1 and 0xFFFE.
There shall be Count instances of the Type in the LocalVarSig