Skip to content

Commit e043bcd

Browse files
committed
build break
1 parent edea820 commit e043bcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Shared/ErrorUtilities.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,15 +765,14 @@ internal static void VerifyThrowArgumentLengthIfNotNull<T>(IReadOnlyCollection<T
765765
ThrowArgumentLength(parameterName);
766766
}
767767
}
768-
768+
#endif
769769
private static void ThrowArgumentLength(string parameterName)
770770
{
771771
if (s_throwExceptions)
772772
{
773773
throw new ArgumentException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("Shared.ParameterCannotHaveZeroLength", parameterName));
774774
}
775775
}
776-
#endif
777776

778777
/// <summary>
779778
/// Throws an ArgumentNullException if the given string parameter is null

0 commit comments

Comments
 (0)