public static void IfEmpty(DateTime value, [NotNull][System.Diagnostics.CodeAnalysis.NotNull] string name) { if (value == DateTime.MinValue) { throw Fail.Because(Violation.WhenDateTimeIsEmpty(name, value)); } }