GitHub / PowerShell/PowerShell issues and pull requests
Labelled with: CL-CodeCleanup
#26276 - Fix SA1408: ConditionalExpressionsMustDeclarePrecedence in Microsoft.PowerShell.Commands.Utility
Pull Request -
State: closed - Opened by Copilot about 1 month ago
- 15 comments
Labels: CL-CodeCleanup
#26241 - Fix SA1008: Opening parenthesis should be spaced correctly
Pull Request -
State: open - Opened by xtqqczze about 1 month ago
- 1 comment
Labels: CL-CodeCleanup, Waiting on Author
#26209 - Fix IDE0083: UseNotPattern
Pull Request -
State: closed - Opened by xtqqczze about 1 month ago
- 3 comments
Labels: CL-CodeCleanup
#26205 - Fix CA1852: Seal internal types. Part 1
Pull Request -
State: closed - Opened by xtqqczze about 1 month ago
- 4 comments
Labels: CL-CodeCleanup
#26112 - Update `host-powershell` doc
Pull Request -
State: open - Opened by xtqqczze about 2 months ago
- 2 comments
Labels: Review - Needed, CL-CodeCleanup
#26107 - Enable CA1858: Use 'StartsWith' instead of 'IndexOf'
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 7 comments
Labels: CL-CodeCleanup
#26106 - Enable CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)'
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 3 comments
Labels: CL-CodeCleanup
#26104 - Avoid possible multiple enumerations in ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 7 comments
Labels: CL-CodeCleanup
#26094 - Disable IDE0049: PreferBuiltInOrFrameworkType
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 4 comments
Labels: CL-CodeCleanup
#26063 - Remove some unused `ConsoleControl` structs
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 2 comments
Labels: CL-CodeCleanup
#26062 - Remove unused `FileStreamBackReader.NativeMethods` type
Pull Request -
State: closed - Opened by xtqqczze 2 months ago
- 2 comments
Labels: CL-CodeCleanup
#26040 - Include `stylecop.json` in build
Pull Request -
State: open - Opened by xtqqczze 3 months ago
- 8 comments
Labels: CL-CodeCleanup
#26039 - Ensure data-serialization files end with one newline
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#26006 - Remove unnecessary `CS0618` suppressions from Variant APIs
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 3 comments
Labels: CL-CodeCleanup
#26006 - Remove unnecessary `CS0618` suppressions from Variant APIs
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25989 - Trim trailing whitespace from `.json` and `.yaml` files
Pull Request -
State: open - Opened by xtqqczze 3 months ago
- 5 comments
Labels: Review - Needed, CL-CodeCleanup
#25968 - Ensure `.cs` files end with exactly one newline
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25957 - Remove obsolete `CA2240` rule suppression
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25949 - Replace `CA1811` rule suppression with `IDE0051`
Pull Request -
State: open - Opened by xtqqczze 3 months ago
- 7 comments
Labels: CL-CodeCleanup
#25948 - Remove obsolete `CA1701` rule suppression
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25934 - Remove obsolete `CA1026` rule suppression
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25926 - Remove redundant `System.Runtime.Versioning` attributes
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 3 comments
Labels: CL-CodeCleanup
#25920 - Enable IDE0019: InlineAsTypeCheck
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 6 comments
Labels: CL-CodeCleanup
#25892 - Seal internal types in `Microsoft.PowerShell.Commands.Utility`
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 2 comments
Labels: CL-CodeCleanup
#25892 - Seal internal types in `Microsoft.PowerShell.Commands.Utility`
Pull Request -
State: closed - Opened by xtqqczze 3 months ago
- 3 comments
Labels: CL-CodeCleanup
#25890 - Enable CA1852: Seal internal types
Pull Request -
State: open - Opened by xtqqczze 3 months ago
- 3 comments
Labels: Review - Needed, CL-CodeCleanup
#25849 - Seal internal types in `Microsoft.PowerShell.Commands.Management`
Pull Request -
State: closed - Opened by xtqqczze 4 months ago
- 6 comments
Labels: CL-CodeCleanup
#25813 - Enable CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
Pull Request -
State: closed - Opened by xtqqczze 4 months ago
- 8 comments
Labels: CL-CodeCleanup
#25805 - Fix a few simple typos in comments and string outputs
Pull Request -
State: open - Opened by ThioJoe 4 months ago
- 2 comments
Labels: CL-CodeCleanup
#25590 - Remove the use of Windows PowerShell ETW provider id and update `PSDiagnostics` module to work for PowerShell 7
Pull Request -
State: closed - Opened by daxian-dbw 6 months ago
- 4 comments
Labels: WG-Cmdlets, Review - Needed, CL-BreakingChange, CL-CodeCleanup, WG-NeedsReview
#25590 - Remove the use of Windows PowerShell ETW provider id and update `PSDiagnostics` module to work for PowerShell 7
Pull Request -
State: open - Opened by daxian-dbw 6 months ago
- 2 comments
Labels: Review - Needed, CL-BreakingChange, CL-CodeCleanup
#25552 - Make the interface `IDeepCloneable` internal
Pull Request -
State: closed - Opened by daxian-dbw 7 months ago
- 4 comments
Labels: CL-CodeCleanup, BackPort-7.5.x-Consider
#25548 - Remove `OnDeserialized` and `Serializable` attributes from `Microsoft.Management.UI.Internal` project
Pull Request -
State: closed - Opened by daxian-dbw 7 months ago
- 2 comments
Labels: CL-CodeCleanup
#25497 - Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation.
Pull Request -
State: closed - Opened by mawosoft 7 months ago
- 2 comments
Labels: CL-CodeCleanup
#25497 - Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation.
Pull Request -
State: closed - Opened by mawosoft 7 months ago
- 4 comments
Labels: CL-CodeCleanup, Backport-7.5.x-Migrated
#25405 - [release/v7.4] Remove obsolete template from Windows Packaging CI
Pull Request -
State: closed - Opened by pwshBot 7 months ago
- 3 comments
Labels: CL-CodeCleanup
#25405 - [release/v7.4] Remove obsolete template from Windows Packaging CI
Pull Request -
State: closed - Opened by pwshBot 7 months ago
- 2 comments
Labels: CL-CodeCleanup
#25404 - [release/v7.4] Cleanup old release pipelines
Pull Request -
State: closed - Opened by pwshBot 7 months ago
- 2 comments
Labels: CL-CodeCleanup
#25404 - [release/v7.4] Cleanup old release pipelines
Pull Request -
State: closed - Opened by pwshBot 7 months ago
- 3 comments
Labels: CL-CodeCleanup
#25395 - Refactor Tooltip/ListItemText mapping to use `CompletionDisplayInfoMapper` delegate
Pull Request -
State: closed - Opened by ArmaanMcleod 7 months ago
- 6 comments
Labels: CL-CodeCleanup
#25266 - `PSNativeWindowsTildeExpansion`: Capitalize Windows
Pull Request -
State: open - Opened by rwp0 8 months ago
- 1 comment
Labels: Review - Needed, CL-CodeCleanup
#25236 - [release/v7.5]Cleanup old release pipelines
Pull Request -
State: closed - Opened by TravisEz13 8 months ago
- 3 comments
Labels: CL-CodeCleanup
#25236 - [release/v7.5]Cleanup old release pipelines
Pull Request -
State: closed - Opened by TravisEz13 8 months ago
- 2 comments
Labels: CL-CodeCleanup
#25223 - Refactor and add comments to `CompletionRequiresQuotes` to clarify implementation
Pull Request -
State: closed - Opened by ArmaanMcleod 8 months ago
- 7 comments
Labels: CL-CodeCleanup
#25223 - Refactor and add comments to `CompletionRequiresQuotes` to clarify implementation
Pull Request -
State: closed - Opened by ArmaanMcleod 8 months ago
- 8 comments
Labels: CL-CodeCleanup
#25180 - Add `QuoteCompletionText` method to CompletionHelpers class
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 14 comments
Labels: CL-CodeCleanup
#25180 - Add `QuoteCompletionText` method to CompletionHelpers class
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 15 comments
Labels: CL-CodeCleanup
#25178 - Remove CompletionHelpers `escape` parameter from `CompletionRequiresQuotes`
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 12 comments
Labels: CL-CodeCleanup
#25178 - Remove CompletionHelpers `escape` parameter from `CompletionRequiresQuotes`
Pull Request -
State: open - Opened by ArmaanMcleod 9 months ago
- 11 comments
Labels: CL-CodeCleanup
#25141 - CA1859: Fix JsonObject methods to return concrete types
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 2 comments
Labels: CL-CodeCleanup
#25141 - CA1859: Fix JsonObject methods to return concrete types
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 3 comments
Labels: CL-CodeCleanup
#25140 - Make the use of Oxford commas even more consistent
Pull Request -
State: open - Opened by pressRtowin 9 months ago
Labels: CL-CodeCleanup
#25139 - Make the use of Oxford commas consistent
Pull Request -
State: open - Opened by pressRtowin 9 months ago
Labels: CL-CodeCleanup
#25139 - Make the use of Oxford commas consistent
Pull Request -
State: closed - Opened by pressRtowin 9 months ago
- 3 comments
Labels: CL-CodeCleanup
#25138 - Move common completion methods to CompletionHelpers class
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 5 comments
Labels: CL-CodeCleanup
#25138 - Move common completion methods to CompletionHelpers class
Pull Request -
State: open - Opened by ArmaanMcleod 9 months ago
- 5 comments
Labels: CL-CodeCleanup
#25137 - Return `Array.Empty` instead of collection `[]`
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 5 comments
Labels: CL-CodeCleanup
#25137 - Return `Array.Empty` instead of collection `[]`
Pull Request -
State: closed - Opened by ArmaanMcleod 9 months ago
- 6 comments
Labels: CL-CodeCleanup
#25134 - Consolidate GetStdHandle calls into one location
Pull Request -
State: closed - Opened by jborean93 9 months ago
- 3 comments
Labels: CL-CodeCleanup
#25134 - Consolidate GetStdHandle calls into one location
Pull Request -
State: closed - Opened by jborean93 9 months ago
- 4 comments
Labels: CL-CodeCleanup
#25023 - Enable `SA1014`, `SA1015`
Pull Request -
State: open - Opened by xtqqczze 10 months ago
- 5 comments
Labels: CL-CodeCleanup
#24973 - Enable `SA1206`: Declaration keywords should follow order
Pull Request -
State: closed - Opened by xtqqczze 10 months ago
- 4 comments
Labels: CL-CodeCleanup
#24969 - Enable `SA1411`: Attribute constructor should not use unnecessary parenthesis
Pull Request -
State: open - Opened by xtqqczze 10 months ago
- 11 comments
Labels: CL-CodeCleanup
#24941 - Fix formatting of docs in ///-comments for Clean()
Pull Request -
State: closed - Opened by sdwheeler 10 months ago
Labels: CL-CodeCleanup
#24940 - Remove redundant `Attribute` suffix
Pull Request -
State: closed - Opened by xtqqczze 10 months ago
- 8 comments
Labels: CL-CodeCleanup
#24940 - Remove redundant `Attribute` suffix
Pull Request -
State: closed - Opened by xtqqczze 10 months ago
- 6 comments
Labels: CL-CodeCleanup
#24926 - Use Environment.ProcessId in SpecialVariables.PID
Pull Request -
State: closed - Opened by fMichaleczek 10 months ago
- 7 comments
Labels: CL-CodeCleanup
#24907 - Replace char[] array in CompletionRequiresQuotes with cached SearchValues<char>
Pull Request -
State: closed - Opened by ArmaanMcleod 10 months ago
- 7 comments
Labels: CL-CodeCleanup
#24907 - Replace char[] array in CompletionRequiresQuotes with cached SearchValues<char>
Pull Request -
State: closed - Opened by ArmaanMcleod 10 months ago
- 7 comments
Labels: CL-CodeCleanup
#24896 - Update `IndexOfAny` calls with invalid path/filename to `SearchValues<char>` for more efficient char searching
Pull Request -
State: closed - Opened by ArmaanMcleod 10 months ago
- 9 comments
Labels: CL-CodeCleanup
#24826 - Seal internal types in `PlatformInvokes`
Pull Request -
State: closed - Opened by xtqqczze 10 months ago
- 4 comments
Labels: CL-CodeCleanup
#24720 - Fix `RunspacePool`, `RunspacePoolInternal` and `RemoteRunspacePoolInternal` `IDisposable` implementation
Pull Request -
State: closed - Opened by xtqqczze 11 months ago
- 11 comments
Labels: CL-CodeCleanup
#24705 - Seal internal type `ClientRemoteSessionDSHandlerImpl`
Pull Request -
State: closed - Opened by xtqqczze 11 months ago
- 2 comments
Labels: CL-CodeCleanup
#24705 - Seal internal type `ClientRemoteSessionDSHandlerImpl`
Pull Request -
State: closed - Opened by xtqqczze 11 months ago
- 3 comments
Labels: CL-CodeCleanup
#24439 - [release/v7.4] Delete demos directory
Pull Request -
State: closed - Opened by adityapatwardhan about 1 year ago
Labels: CL-CodeCleanup
#24438 - [release/v7.4] Delete assets/AppImageThirdPartyNotices.txt
Issue -
State: closed - Opened by adityapatwardhan about 1 year ago
Labels: CL-CodeCleanup
#24248 - chore: update ShowModuleControl.xaml.cs
Pull Request -
State: closed - Opened by eltociear about 1 year ago
Labels: CL-CodeCleanup
#24248 - chore: update ShowModuleControl.xaml.cs
Pull Request -
State: closed - Opened by eltociear about 1 year ago
- 1 comment
Labels: CL-CodeCleanup
#24172 - Fix tyop
Pull Request -
State: closed - Opened by JayBazuzi over 1 year ago
- 1 comment
Labels: CL-CodeCleanup
#24105 - Minor cleanup on local variable names within a method
Pull Request -
State: closed - Opened by daxian-dbw over 1 year ago
Labels: CL-CodeCleanup
#21246 - Remove `JetBrains.Annotations` attributes
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Small
#21218 - Remove `SuppressFinalize` from `ClientRemoteSessionDSHandlerImpl`
Issue -
State: closed - Opened by xtqqczze almost 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Small
#21218 - Remove `SuppressFinalize` from `ClientRemoteSessionDSHandlerImpl`
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 3 comments
Labels: CL-CodeCleanup, Extra Small
#21217 - Remove explicit `IDE1005` suppressions
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 4 comments
Labels: CL-CodeCleanup, Extra Small
#21210 - Avoid reading into a rented byte array beyond the requested length
Pull Request -
State: closed - Opened by daxian-dbw almost 2 years ago
- 2 comments
Labels: Review - Needed, CL-CodeCleanup, Extra Small
#21210 - Avoid reading into a rented byte array beyond the requested length
Pull Request -
State: closed - Opened by daxian-dbw almost 2 years ago
- 3 comments
Labels: CL-CodeCleanup, Extra Small
#21189 - Remove PSScheduledJob source code
Pull Request -
State: closed - Opened by SteveL-MSFT almost 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Large
#21179 - Fix typo in CoreAdapter.cs
Pull Request -
State: closed - Opened by eltociear almost 2 years ago
- 3 comments
Labels: CL-CodeCleanup, No Changes
#21165 - Enable CA1868: Unnecessary call to 'Contains' for sets
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 13 comments
Labels: Review - Needed, CL-CodeCleanup, Small
#21165 - Enable CA1868: Unnecessary call to 'Contains' for sets
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 13 comments
Labels: CL-CodeCleanup, Small
#21164 - Seal internal types in file `RemotingProtocol2.cs`
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 4 comments
Labels: CL-CodeCleanup, Extra Small
#21164 - Seal internal types in file `RemotingProtocol2.cs`
Pull Request -
State: closed - Opened by xtqqczze almost 2 years ago
- 3 comments
Labels: CL-CodeCleanup, Extra Small
#20145 - fix: error message spelling
Pull Request -
State: closed - Opened by 0o001 over 2 years ago
- 1 comment
Labels: CL-CodeCleanup, Extra Small
#20090 - Fix SA1000 - Spacing around keyword
Pull Request -
State: closed - Opened by ThomasNieto over 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Small
#20087 - Fix SA1411 - Remove empty attribute parameters
Pull Request -
State: closed - Opened by ThomasNieto over 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Large
#20086 - SA1505, SA1508 - Remove blank line
Pull Request -
State: closed - Opened by ThomasNieto over 2 years ago
- 3 comments
Labels: CL-CodeCleanup, No Changes
#20085 - Remove trailing whitespace
Pull Request -
State: closed - Opened by ThomasNieto over 2 years ago
- 2 comments
Labels: CL-CodeCleanup, Extra Small
#19319 - Fix typo in typeDataXmlLoader.cs
Pull Request -
State: closed - Opened by eltociear over 2 years ago
- 2 comments
Labels: CL-CodeCleanup, No Changes
#19018 - Revert some of the interpolated string changes
Pull Request -
State: closed - Opened by daxian-dbw almost 3 years ago
- 5 comments
Labels: CL-CodeCleanup, Large
#18384 - Refactor UTF-7 encoding detection
Pull Request -
State: open - Opened by xtqqczze about 3 years ago
- 5 comments
Labels: Review - Needed, CL-CodeCleanup, Needs-Triage, Extra Small