Fix CA2243: Attribute string literals should parse correctly (#15622)

* Update V2Cmdlets.csv
This commit is contained in:
xtqqczze 2021-06-25 13:59:30 +01:00 committed by GitHub
parent 078cfeaf5b
commit 756aef9a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -635,7 +635,7 @@ dotnet_diagnostic.CA2242.severity = suggestion
# CA2243: Attribute string literals should parse correctly
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2243
dotnet_diagnostic.CA2243.severity = none
dotnet_diagnostic.CA2243.severity = warning
# CA2244: Do not duplicate indexed element initializations
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2244

View file

@ -9,7 +9,7 @@ namespace Microsoft.PowerShell.Commands
/// <summary>
/// The implementation of the "Remove-Alias" cmdlet.
/// </summary>
[Cmdlet(VerbsCommon.Remove, "Alias", DefaultParameterSetName = "Default", HelpUri = "")]
[Cmdlet(VerbsCommon.Remove, "Alias", DefaultParameterSetName = "Default", HelpUri = "https://go.microsoft.com/fwlink/?linkid=2097127")]
[Alias("ral")]
public class RemoveAliasCommand : PSCmdlet
{

View file

@ -159,6 +159,7 @@ Register-EngineEvent,https://go.microsoft.com/fwlink/?linkid=2097128
Register-ObjectEvent,https://go.microsoft.com/fwlink/?linkid=2096714
Register-PSSessionConfiguration,https://go.microsoft.com/fwlink/?linkid=2096793
Register-WmiEvent,https://go.microsoft.com/fwlink/?LinkID=135245
Remove-Alias,https://go.microsoft.com/fwlink/?linkid=2097127
Remove-Computer,https://go.microsoft.com/fwlink/?LinkID=135246
Remove-Event,https://go.microsoft.com/fwlink/?linkid=2096715
Remove-EventLog,https://go.microsoft.com/fwlink/?LinkID=135248

1 TopicTitle HelpURI
159 Register-ObjectEvent https://go.microsoft.com/fwlink/?linkid=2096714
160 Register-PSSessionConfiguration https://go.microsoft.com/fwlink/?linkid=2096793
161 Register-WmiEvent https://go.microsoft.com/fwlink/?LinkID=135245
162 Remove-Alias https://go.microsoft.com/fwlink/?linkid=2097127
163 Remove-Computer https://go.microsoft.com/fwlink/?LinkID=135246
164 Remove-Event https://go.microsoft.com/fwlink/?linkid=2096715
165 Remove-EventLog https://go.microsoft.com/fwlink/?LinkID=135248