public static void IfEmpty( [CanBeNull, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] string value, [NotNull][System.Diagnostics.CodeAnalysis.NotNull] string name) { Fail.RequiresArgumentName(name); Fail.IfEmpty(value, Violation.WhenEmpty(name)); }