Use our own Contains extension

This commit is contained in:
cvium
2021-12-20 13:31:07 +01:00
parent cb41dda5b3
commit b880dc8a4a
88 changed files with 169 additions and 208 deletions

View File

@@ -1,6 +1,6 @@
using System;
using System.Linq;
using System.Net.Http;
using Jellyfin.Extensions;
namespace Rssdp.Infrastructure
{
@@ -86,7 +86,7 @@ namespace Rssdp.Infrastructure
/// <param name="headerName">A string containing the name of the header to return the type of.</param>
protected override bool IsContentHeader(string headerName)
{
return ContentHeaderNames.Contains(headerName, StringComparer.OrdinalIgnoreCase);
return ContentHeaderNames.Contains(headerName, StringComparison.OrdinalIgnoreCase);
}
}
}