jellyfin-server/MediaBrowser.Model/Entities
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
..
ChapterInfo.cs Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
CollectionType.cs Enable TreatWarningsAsErrors for MediaBrowser.Model 2021-02-20 23:29:33 +01:00
CollectionTypeOptions.cs Fix build 2021-02-24 02:57:10 +01:00
ExtraType.cs Add ExtraType.Unknown enum value and use it instead of null 2020-04-01 18:10:29 +02:00
IHasProviderIds.cs Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
ImageType.cs Use our own Contains extension 2021-12-20 13:31:07 +01:00
IsoType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
LibraryUpdateInfo.cs Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
LocationType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
MediaAttachment.cs Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
MediaStream.cs Fix various typos 2022-08-15 06:48:34 -04:00
MediaStreamType.cs Streams with CodecType "data" (like "epg" streams in DVB 2022-10-01 08:53:54 -06:00
MediaType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
MediaUrl.cs fix SA1513/SA1516 2020-06-16 16:11:30 +12:00
MetadataField.cs Update StyleCop 2021-12-24 18:28:27 +01:00
MetadataProvider.cs Add escape hatch for Series merging 2022-07-03 00:32:09 +02:00
ParentalRating.cs Enable nullabe reference types for MediaBrowser.Model 2020-04-05 18:10:56 +02:00
PersonType.cs Fix documentation for lyricist and arranger 2021-08-16 00:22:36 +02:00
ProviderIdsExtensions.cs Use ArgumentNullException.ThrowIfNull helper method 2022-10-06 20:21:23 +02:00
SeriesStatus.cs Remove unused usings 2020-03-24 16:12:06 +01:00
SpecialFolder.cs Enable TreatWarningsAsErrors for MediaBrowser.Model 2021-02-20 23:29:33 +01:00
TrailerType.cs Fix some warnings 2020-02-23 12:11:43 +01:00
UserDataSaveReason.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
Video3DFormat.cs Fix some warnings 2020-02-23 12:11:43 +01:00
VideoType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
VirtualFolderInfo.cs Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00