Remove obsolete CA2240 rule suppression (#25957)

This commit is contained in:
xtqqczze
2025-09-02 03:26:45 +00:00
committed by GitHub
parent f455b3b123
commit 06ff422d2a
2 changed files with 0 additions and 2 deletions
@@ -2505,7 +2505,6 @@ namespace System.Management.Automation
/// This remote instance of PowerShell can be in a separate process,
/// appdomain or machine.
/// </remarks>
[SuppressMessage("Microsoft.Usage", "CA2240:ImplementISerializableCorrectly")]
public class RemoteException : RuntimeException
{
/// <summary>
@@ -71,7 +71,6 @@ namespace System.Management.Automation
/// <summary>
/// Defines the exception thrown for all Validate attributes.
/// </summary>
[SuppressMessage("Microsoft.Usage", "CA2240:ImplementISerializableCorrectly")]
public class ValidationMetadataException : MetadataException
{
internal const string ValidateRangeElementType = "ValidateRangeElementType";