Miscellaneous Operations

This chapter already has included several sections and tables that explain various MSIL instructions—but not all of them have been covered. In particular, some MSIL instructions that appear in the sample code of this chapter have not been reviewed. Table 14-9 details some of these miscellaneous MSIL instructions.

Table 14-9. Miscellaneous MSIL instructions

Instruction

Description

and

Performs a bitwise AND

break

Inserts a debugger break point

castclass

Casts an instance to a different type

nop

Nonoperational instruction (a blank instruction)

or

Performs a bitwise OR

pop

Removes the top element of the evaluation stack

rethrow

Propagates an exception

throw

Throws an application exception

Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.