diff --git a/MoreLinq/Debug.cs b/MoreLinq/Debug.cs index 6b36c21c7..44d758c38 100644 --- a/MoreLinq/Debug.cs +++ b/MoreLinq/Debug.cs @@ -26,6 +26,6 @@ static class Debug [Conditional("DEBUG")] public static void Assert([DoesNotReturnIf(false)] bool condition, [CallerArgumentExpression(nameof(condition))] string? message = null) => - System.Diagnostics.Debug.Assert(condition); + System.Diagnostics.Debug.Assert(condition, message); } }