jellyfin-server/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 Fix some warnings 2021-11-15 15:57:07 +01:00
AlbumComparer.cs More cleanup 2021-12-27 14:20:05 +00:00
ArtistComparer.cs Fix some warnings 2021-11-15 15:57:07 +01:00
CommunityRatingComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
CriticRatingComparer.cs Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
DateCreatedComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
DateLastMediaAddedComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
DatePlayedComparer.cs Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
IndexNumberComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
IsFavoriteOrLikeComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
IsFolderComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
IsPlayedComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
IsUnplayedComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
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 Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
PremiereDateComparer.cs Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
ProductionYearComparer.cs Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
RandomComparer.cs Fix warnings in Sorting 2021-10-03 21:41:22 -04:00
RuntimeComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
SeriesSortNameComparer.cs Fix some warnings 2021-11-15 15:57:07 +01:00
SortNameComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
StartDateComparer.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
StudioComparer.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00