Tech Off Thread

2 posts

MSIL

Back to Forum: Tech Off
  • User profile image
    themaffeo

    In my journey to learn/do 'interesting new things', I've been playing around with threading and the MSIL.  One thing I noticed was the line numbers in the MSIL.  They look something like IL_001e, so I'm guessing the IL stands for "intermediate language" and the four characters following represent 4 hexidecimal numbers.

    If this is true, what would happen if a class had more than 24,576 lines of code in it (16^4) since that would seem to be the limit?

    Just curious.

    -n

  • User profile image
    Tom Servo

    You've probably been looking at disassembler output. ildasm puts these labels in front of each instruction, even if they're not used. They're not a type of hint or anything, just a jump labels. You also may call them anything you like.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.