JasonBock / SpackleNet

Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.
MIT License
14 stars 1 forks source link

Printing an Exception That Was Not Thrown Has Errors #3

Closed JasonBock closed 8 years ago

JasonBock commented 10 years ago

If I do this:

var exception = new NotSupportedException();
exception.Print();

FormatMethod() gets a null method, which results in an exception