public virtual System.Exception GetException() { throw null; } }
private static void ValidateErrorEventArgs(Exception exception) { ErrorEventArgs args = new ErrorEventArgs(exception); Assert.Equal(exception, args.GetException()); // Make sure method is consistent. Assert.Equal(exception, args.GetException()); }