More scanner improvements, up to 50% off (#4243)

Co-authored-by: majora2007 <josephmajora@gmail.com>
This commit is contained in:
Fesaa
2025-12-01 18:46:08 +01:00
committed by Joseph Milazzo
parent eeae3a678a
commit 275875ab42
19 changed files with 499 additions and 402 deletions
+6
View File
@@ -69,4 +69,10 @@ public static class EnumerableExtensions
return q;
}
public static IEnumerable<TSource> WhereNotNull<TSource>(this IEnumerable<TSource?> source)
where TSource : class
{
return source.Where(item => item != null)!;
}
}