diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-06-06 09:16:41 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-06 17:16:41 +0200 |
| commit | d461e3912a1dfb59a22234e434497b72834de66b (patch) | |
| tree | f55962cf8426c05f4daf4eacc6922fba353970d1 /MediaBrowser.Controller/Entities/LinkedChildComparer.cs | |
| parent | 9154f20b3404fb818b8c2e74af038547d2c16c40 (diff) | |
Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'MediaBrowser.Controller/Entities/LinkedChildComparer.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/LinkedChildComparer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/LinkedChildComparer.cs b/MediaBrowser.Controller/Entities/LinkedChildComparer.cs index 66fc44b8a..4e58e2942 100644 --- a/MediaBrowser.Controller/Entities/LinkedChildComparer.cs +++ b/MediaBrowser.Controller/Entities/LinkedChildComparer.cs @@ -2,6 +2,7 @@ #pragma warning disable CS1591 +using System; using System.Collections.Generic; using MediaBrowser.Model.IO; @@ -28,7 +29,7 @@ namespace MediaBrowser.Controller.Entities public int GetHashCode(LinkedChild obj) { - return ((obj.Path ?? string.Empty) + (obj.LibraryItemId ?? string.Empty) + obj.Type).GetHashCode(); + return ((obj.Path ?? string.Empty) + (obj.LibraryItemId ?? string.Empty) + obj.Type).GetHashCode(StringComparison.Ordinal); } } }
\ No newline at end of file |
