private static SolutionAnalysis DisapproveWhenInvalid(this GigasecondSolution gigasecondSolution) { if (gigasecondSolution.CreatesNewDatetime()) { return(gigasecondSolution.DisapproveWithComment(DontCreateDateTime)); } if (gigasecondSolution.DoesNotUseAddSeconds()) { return(gigasecondSolution.DisapproveWithComment(UseAddSeconds)); } return(null); }