jellyfin/Emby.Server.Implementations/Library
Bond_009 a9a5fcde81 Use ArgumentNullException.ThrowIfNull helper method
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)

```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```

```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
..
Resolvers Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
Validators
CoreResolutionIgnoreRule.cs
ExclusiveLiveStream.cs
IgnorePatterns.cs
LibraryManager.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
LiveStreamHelper.cs
MediaSourceManager.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
MediaStreamSelector.cs
MusicManager.cs
PathExtensions.cs
ResolverHelper.cs
SearchEngine.cs
SplashscreenPostScanTask.cs
UserDataManager.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
UserViewManager.cs