It is not MSIL that defines beginning and end of try, catch and finally block in an assembly. What t

  • Thread starter Thread starter Bob Rock
  • Start date Start date
B

Bob Rock

Hello,

I was looking at the MSIL generated for some of my code and have
noticed that there are no opcodes that define the beginning and end of
try, catch and finally blocks. Yet ILDASM shows them there!! I wonder
then where is it that these are defined inside an assembly???

Thx.


Bob Rock
 
Bob,
I wonder then where is it that these are defined inside an assembly???

In additional headers at the end of the method body, after the IL
code. If you're interested in the storage format, see the ECMA
specification Partition II section 24.4.



Mattias
 
Back
Top