Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Shvedov controlflow

View GitHub Profile
@controlflow
controlflow / gist:2868357
Created Jun 4, 2012 — forked from leppie/gist:2868328
CallWithEscapeContinuation
View gist:2868357
using System;
class Program
{
sealed class EscapeContinuation<T> : Exception
{
public T Value { get; private set; }
public void Raise(T value)
{