Browse Source

removed compiler directives.

Greenback 4 years ago
parent
commit
4cc19be173

+ 0 - 4
MediaBrowser.Common/Updates/IInstallationManager.cs

@@ -47,9 +47,7 @@ namespace MediaBrowser.Common.Updates
         IEnumerable<PackageInfo> FilterPackages(
             IEnumerable<PackageInfo> availablePackages,
             string? name = null,
-#pragma warning disable CA1720 // Identifier contains type name
             Guid? id = default,
-#pragma warning restore CA1720 // Identifier contains type name
             Version? specificVersion = null);
 
         /// <summary>
@@ -64,9 +62,7 @@ namespace MediaBrowser.Common.Updates
         IEnumerable<InstallationInfo> GetCompatibleVersions(
             IEnumerable<PackageInfo> availablePackages,
             string? name = null,
-#pragma warning disable CA1720 // Identifier contains type name
             Guid? id = default,
-#pragma warning restore CA1720 // Identifier contains type name
             Version? minVersion = null,
             Version? specificVersion = null);
 

+ 1 - 1
MediaBrowser.Model/Updates/PackageInfo.cs

@@ -77,7 +77,7 @@ namespace MediaBrowser.Model.Updates
 #pragma warning restore CA2227 // Collection properties should be read only
 
         /// <summary>
-        /// Gets or sets the image url for the package.
+        /// Gets or sets the image path for the package.
         /// </summary>
         [JsonPropertyName("imagePath")]
         public string? ImagePath { get; set; }