mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove obsolete CA2240 rule suppression (#25957)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user