Skip to content

Instantly share code, notes, and snippets.

@plioi
Created August 8, 2013 02:02
Show Gist options
  • Save plioi/6180835 to your computer and use it in GitHub Desktop.
Save plioi/6180835 to your computer and use it in GitHub Desktop.
try
{
method.Invoke(instance, null);
}
catch (TargetInvocationException ex)
{
throw new PreservedException(ex.InnerException);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment