1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:58:48 +00:00

[ci skip] Fix null-check precondition for WhereNot<T>

This commit is contained in:
Oliver Booth 2023-02-27 21:11:07 +00:00
parent 3ef6cf2cde
commit 7a6dbef4f9
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025

View File

@ -1,4 +1,4 @@
using System.Diagnostics.Contracts;
using System.Diagnostics.Contracts;
namespace X10D.Collections;
@ -335,7 +335,7 @@ public static class EnumerableExtensions
[Pure]
public static IEnumerable<TSource> WhereNot<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate)
{
#if NET6_0
#if NET6_0_OR_GREATER
ArgumentNullException.ThrowIfNull(source);
ArgumentNullException.ThrowIfNull(predicate);
#else