diff --git a/MediaBrowser.Common/Configuration/IConfigurationManager.cs b/MediaBrowser.Common/Configuration/IConfigurationManager.cs
index 4c2b3a742..790121274 100644
--- a/MediaBrowser.Common/Configuration/IConfigurationManager.cs
+++ b/MediaBrowser.Common/Configuration/IConfigurationManager.cs
@@ -56,6 +56,8 @@ namespace MediaBrowser.Common.Configuration
///
/// Gets the configuration.
///
+ /// /// The key.
+ /// System.Object.
object GetConfiguration(string key);
///
diff --git a/MediaBrowser.Common/Net/IPNetAddress.cs b/MediaBrowser.Common/Net/IPNetAddress.cs
index bcd049f3d..0d28c35cb 100644
--- a/MediaBrowser.Common/Net/IPNetAddress.cs
+++ b/MediaBrowser.Common/Net/IPNetAddress.cs
@@ -106,7 +106,7 @@ namespace MediaBrowser.Common.Net
addr = addr.Trim();
// Try to parse it as is.
- if (IPAddress.TryParse(addr, out IPAddress res))
+ if (IPAddress.TryParse(addr, out IPAddress? res))
{
ip = new IPNetAddress(res);
return true;
@@ -130,7 +130,7 @@ namespace MediaBrowser.Common.Net
}
// Is the subnet in x.y.a.b form?
- if (IPAddress.TryParse(tokens[1], out IPAddress mask))
+ if (IPAddress.TryParse(tokens[1], out IPAddress? mask))
{
ip = new IPNetAddress(res, MaskToCidr(mask));
return true;
diff --git a/MediaBrowser.Common/Net/IPObject.cs b/MediaBrowser.Common/Net/IPObject.cs
index a08694c26..36f3357cc 100644
--- a/MediaBrowser.Common/Net/IPObject.cs
+++ b/MediaBrowser.Common/Net/IPObject.cs
@@ -381,7 +381,7 @@ namespace MediaBrowser.Common.Net
}
///
- public override bool Equals(object obj)
+ public override bool Equals(object? obj)
{
return Equals(obj as IPObject);
}
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs
index eced9bf69..2456da826 100644
--- a/MediaBrowser.Controller/IServerApplicationHost.cs
+++ b/MediaBrowser.Controller/IServerApplicationHost.cs
@@ -8,6 +8,7 @@ using System.Threading.Tasks;
using MediaBrowser.Common;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.System;
+using Microsoft.AspNetCore.Http;
namespace MediaBrowser.Controller
{