System.Reflection.Emit.OpCodes.Rethrow Field

Rethrows the current exception.

Syntax

public static readonly OpCode Rethrow

Remarks

The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:

FE 1A

rethrow

Rethrows the current exception

No stack transition behavior is defined for this instruction.

The rethrow instruction is only permitted within the body of a catch handler. It throws the same exception that was caught by this handler.

The following ILGenerator.Emit(OpCode) method overload can use the rethrow opcode:

  • ILGenerator.Emit(OpCode)

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0