jellyfin/Emby.Server.Implementations/Sorting
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
..
AiredEpisodeOrderComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
AlbumArtistComparer.cs
AlbumComparer.cs
ArtistComparer.cs
CommunityRatingComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
CriticRatingComparer.cs
DateCreatedComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
DateLastMediaAddedComparer.cs
DatePlayedComparer.cs
IndexNumberComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
IsFavoriteOrLikeComparer.cs
IsFolderComparer.cs
IsPlayedComparer.cs
IsUnplayedComparer.cs
NameComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
OfficialRatingComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
ParentIndexNumberComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
PlayCountComparer.cs
PremiereDateComparer.cs
ProductionYearComparer.cs
RandomComparer.cs
RuntimeComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
SeriesSortNameComparer.cs
SortNameComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
StartDateComparer.cs
StudioComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00