Can the CLR token be zero or negative

Some .NET reflection methods (for example, Module.ResolveField ) accept so-called markers as parameters. These tokens are just Int32 numbers. I have only seen positive tokens in the disassembler, but, generally speaking, integer numbers can be negative or zero. Can we assume that CLR tokens are only positive?

+3
source share
1 answer

They are actually intended for unsigned numbers. From the MS Partition II section, section 22 (taken from this page ):

( ) . 4- , 1

, , , unsigned int int .

+5

All Articles