aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2022-10-07 09:04:41 +0200
committerShadowghost <Ghost_of_Stone@web.de>2022-10-07 09:16:02 +0200
commit7b90fcd0531e1fd414df404b58f2f05b0641be01 (patch)
tree9cb45933f68308a9dca1e6217318742f3ef7f9d6 /src
parentbd9a940fed129d99fe9ffedafec324e795549c90 (diff)
parent719e5eae16a3488de449a5b2a7c56132c8f1e5c1 (diff)
Merge branch 'master' into network-rewrite
Diffstat (limited to 'src')
-rw-r--r--src/Jellyfin.Extensions/EnumerableExtensions.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Jellyfin.Extensions/EnumerableExtensions.cs b/src/Jellyfin.Extensions/EnumerableExtensions.cs
index b5fe93357..a31a57dc6 100644
--- a/src/Jellyfin.Extensions/EnumerableExtensions.cs
+++ b/src/Jellyfin.Extensions/EnumerableExtensions.cs
@@ -18,10 +18,7 @@ namespace Jellyfin.Extensions
/// <exception cref="ArgumentNullException">The source is null.</exception>
public static bool Contains(this IEnumerable<string> source, ReadOnlySpan<char> value, StringComparison stringComparison)
{
- if (source == null)
- {
- throw new ArgumentNullException(nameof(source));
- }
+ ArgumentNullException.ThrowIfNull(source);
if (source is IList<string> list)
{