Esempio n. 1
0
        public void RethrowPreservesStackTrace()
        {
            var e = Assert.Throws <Exception>(() => Bad.Foo(ex => ex.Rethrow()));

            Console.WriteLine(e.StackTrace);
            Assert.Contains("Baz", e.StackTrace);
        }