internal override void Compile(IBuildContext ctx, int expressionId) { if (!ctx.IsInScope <CatchScope>()) { throw new InvalidOperationException("Unable to rethrow - not in catch block."); } ctx.MarkSequencePointFor(expressionId); ctx.Generator.Emit(OpCodes.Rethrow); }