We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edea820 commit e043bcdCopy full SHA for e043bcd
src/Shared/ErrorUtilities.cs
@@ -765,15 +765,14 @@ internal static void VerifyThrowArgumentLengthIfNotNull<T>(IReadOnlyCollection<T
765
ThrowArgumentLength(parameterName);
766
}
767
768
-
+#endif
769
private static void ThrowArgumentLength(string parameterName)
770
{
771
if (s_throwExceptions)
772
773
throw new ArgumentException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("Shared.ParameterCannotHaveZeroLength", parameterName));
774
775
776
-#endif
777
778
/// <summary>
779
/// Throws an ArgumentNullException if the given string parameter is null
0 commit comments