From 4eec66a6d5c59adfa589514dd9ed8d2ef08d6fbb Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 13 May 2025 09:41:54 -0700 Subject: [PATCH 1/2] Make the interface `IDeepCloneable` internal --- .../ManagementList/FilterCore/IDeepCloneable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs b/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs index 3090f93a95c..260ee6fe68a 100644 --- a/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs +++ b/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs @@ -7,7 +7,7 @@ namespace Microsoft.Management.UI.Internal /// Defines a generalized method for creating a deep copy of an instance. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")] - public interface IDeepCloneable + internal interface IDeepCloneable { /// /// Creates a deep copy of the current instance. From e5d4b222957b9985f9e731c0398d7e1852b7b344 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 13 May 2025 11:39:05 -0700 Subject: [PATCH 2/2] Remove 'SuppressMessage' attribute --- .../ManagementList/FilterCore/IDeepCloneable.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs b/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs index 260ee6fe68a..841a2424b51 100644 --- a/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs +++ b/src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs @@ -6,7 +6,6 @@ namespace Microsoft.Management.UI.Internal /// /// Defines a generalized method for creating a deep copy of an instance. /// - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")] internal interface IDeepCloneable { ///