private static bool NotEqualsExtracted(ExceptionStructNeedle <T> left, ExceptionStructNeedle <T> right) { var leftException = left._exception; var rightException = right._exception; if (leftException == null) { return(rightException != null); } return(!leftException.Equals(rightException)); }
public bool Equals(ExceptionStructNeedle <T> other) { return(EqualsExtracted(this, other)); }