Skip to content

Commit 41ecc68

Browse files
authored
Remove obsolete CA1059 rule suppression (#25940)
1 parent 32e877b commit 41ecc68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ public sealed class GetWinEventCommand : PSCmdlet
225225
ValueFromPipelineByPropertyName = false,
226226
ParameterSetName = "XmlQuerySet",
227227
HelpMessageBaseName = "GetEventResources")]
228-
[SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes",
229-
Scope = "member",
230-
Target = "Microsoft.PowerShell.Commands.GetEvent.FilterXml",
231-
Justification = "An XmlDocument is required here because that is the type Powershell supports")]
232228
public XmlDocument FilterXml { get; set; }
233229

234230
/// <summary>

0 commit comments

Comments
 (0)