internal static void NotNull()

in Elastic.SemanticKernel.Connectors.Elasticsearch/Internal/Diagnostics/Verify.cs [39:49]


    internal static void NotNull([NotNull] object? obj, [CallerArgumentExpression(nameof(obj))] string? paramName = null)
    {
#if NET
        ArgumentNullException.ThrowIfNull(obj, paramName);
#else
        if (obj is null)
        {
            ThrowArgumentNullException(paramName);
        }
#endif
    }