Skip to content

Instantly share code, notes, and snippets.

@czmoss
czmoss / ActionInLimbo.cs
Last active May 22, 2019 22:29
async delegates execute ouside exception handlers
using System;
class ActionInLimbo {
public static void Main() {
Action frob_s = () => {
throw new Exception(nameof(frob_s));
};
Action frob_a = async () => {
throw new Exception(nameof(frob_a));
};