Commit Graph
203 Commits
Author SHA1 Message Date
Anam Navied d5267d2ee6 Add CodeQL suppressions for UpdatableHelp and NativeCommandProcessor methods (#26132) 2025-10-01 15:52:12 -07:00
MartinGC94 9941e38c19 Remove trailing space from event source name (#24192) 2025-02-11 09:24:36 +05:00
xtqqczze 1790f3a3e9 Remove redundant Attribute suffix (#24940) 2025-02-07 22:18:29 +05:00
Sean Wheeler a2b2d7e704 Update HelpInfoUri for 7.5 (#24610) 2024-11-22 09:58:44 -08:00
James Truher [MSFT] 7f99fa1bf3 Get-Help may report parameters with ValueFromRemainingArguments attribute as pipeline-able (#23871)
* Remove FromRemainingArguments as an inputs indicator.

The parameter attribute FromRemainingArguments is not an indicator of pipeline input.
2024-06-03 21:20:55 +05:00
xtqqczze 0e106faafe Enable CA1868: Unnecessary call to 'Contains' for sets (#21165)
https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1868
2024-02-29 22:56:22 +05:00
Travis Plunk 687383bcc1 Block getting help from network locations in restricted remoting sessions (#20593) 2023-10-31 16:06:15 -07:00
Thomas Nieto 39513bb3fb Remove parenthesis for empty attribute parameters (#20087) 2023-08-21 10:11:55 -07:00
Steve Lee e97105bf7d Move build to .NET 8 preview 6 (#19991) 2023-08-07 21:30:33 +00:00
Aditya Patwardhan ebe0b54340 Update to .NET 8 Preview 4 (#19696) 2023-06-21 15:17:22 -07:00
josea 16558c9414 Make Update-Help throw proper error when current culture is not associated with a language (#19765) 2023-06-20 09:49:46 -07:00
Berkan Diler 0f53e80335 Make use of the new Random.Shared property (#18417) 2023-06-12 17:31:04 -07:00
Dominik Kaszewski 270f8f1be7 Allow partial culture matching in Update-Help (#18037) 2023-05-09 09:46:59 -07:00
xtqqczze 31bc65ef65 Refactor MUIFileSearcher.AddFiles in the help related code (#18825) 2023-05-01 11:43:04 -07:00
CarloToso 0d6b93a23f Fix codefactor if part 2 (#19267) 2023-03-04 22:30:14 +05:00
spaette ec0eb22062 Fix typos in comments (#19064) 2023-02-03 10:40:43 +05:00
spaette d29f34b5c2 typos (#19058) 2023-01-30 09:48:00 -08:00
Dongbo Wang b195088c5a Revert some of the interpolated string changes (#19018) 2023-01-25 09:46:47 -08:00
CarloToso 4c586a7a86 Use interpolated strings 11 (#19002) 2023-01-23 22:36:26 +05:00
CarloToso 0ee317a157 Use interpolated strings 3 (#18979) 2023-01-21 17:56:57 +05:00
CarloToso a01fb37243 Use interpolated strings 8 (#18988) 2023-01-20 09:50:51 +05:00
James Truher [MSFT] 4f57804f46 Fix up all comments to be in the proper order with proper spacing (#18619) 2023-01-03 12:12:42 -08:00
Steve Lee 4f19c05547 Ensure HelpInfo.Category is consistently a string (#18254) 2022-11-15 17:57:03 -08:00
Rob Green 9c55e1e9ab Include timer instantiation for legacy telemetry in conditional compiler statements in Get-Help (#18475) 2022-11-15 09:40:07 +05:00
Ilya 8965af3d52 Remove some static constants from Utils.Separators (#18154) 2022-10-27 15:25:41 -07:00
Dominik Kaszewski 1ee2f0d7ee Fix Update-Help failing silently with implicit non-US culture. (#17780) 2022-08-09 15:51:32 -07:00
Frode Flaten d204d29035 Use null propagation operator in System.Management.Automation (#17792) 2022-08-01 09:20:09 -07:00
Dmitry Volodin 8f6b75826e Use compound assignment in /System.Management.Automation (#17724) 2022-07-25 22:07:33 +05:00
Shuangchi He 8cc39848bc Fix some typos in source code (#17481) 2022-06-06 10:14:53 -07:00
Ikko Ashimine fa03f180e7 Fix a typo in CommandHelpProvider.cs (#16949)
non-existant -> non-existent
2022-03-11 16:12:21 -08:00
Sean Wheeler bf8a13908d Update HelpInfoUri for 7.3 release (#16646) 2022-01-03 11:15:07 -08:00
Sean Wheeler 306147c9d1 Update HelpInfoUri for 7.2 release (#16456) 2021-11-13 11:14:28 +05:00
James Truher [MSFT] c39d672560 Remove 4 assertions which cause debug build test runs to fail (#15963) 2021-08-22 10:49:07 -07:00
arfy slowy 55855fbe5d Fix spelling in XML docs (#15939) 2021-08-17 09:01:04 +05:00
Aditya Patwardhan 6d09c6e40a Fix CA1846 and CA1845 for using AsSpan instead of Substring (#15738) 2021-07-09 10:55:23 -07:00
xtqqczze 4c2d6dcfca Make classes sealed (#15675)
Fix [RCS1225](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1225.md)
2021-07-04 16:49:52 +05:00
Francesco Saltori 088eb6d039 Replace ProcessModule.FileName with Environment.ProcessPath and remove PSUtils.GetMainModule (#15012) 2021-06-03 12:32:55 -07:00
xtqqczze 4e073fdd3f Avoid array allocations from GetDirectories/GetFiles. (#15167) 2021-04-15 08:16:26 +05:00
Ilya 91e7298fd8 Use static lambda keyword (#15154) 2021-04-12 12:44:05 -07:00
Aditya Patwardhan b836de8223 Bump .NET framework to 6.0.0-preview.1 (#14719) 2021-02-08 17:13:33 -08:00
xtqqczze 9ea718f171 Enable CA2249: Consider using String.Contains instead of IndexOf (#14395)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
2021-01-10 18:15:02 +05:00
xtqqczze 50fd950920 Enable CA1052: Static holder types should be Static or NotInheritable (#14483)
* Enable CA1052: Static holder types should be Static or NotInheritable

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/CA1052

* Fix SA1505

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1505.md
2021-01-08 22:53:11 +05:00
xtqqczze 9d4665f32f Enable SA1003: Symbols should be spaced correctly (#14476)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1003.md
2020-12-23 21:21:26 +05:00
xtqqczze 5f3dd938b7 Use string.Contains(char) overload (#14368) 2020-12-19 20:00:51 +05:00
xtqqczze e35668ca0a Avoid array allocations from GetDirectories/GetFiles. (#14330) 2020-12-07 16:11:03 +05:00
xtqqczze 8d4869372e Mark private members as static part 10 (#14235)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-27 13:16:31 +05:00
xtqqczze 3c1261f90d Enable SA1643: Destructor summary documentation should begin with standard text (#14236)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1643.md
2020-11-26 10:39:27 +05:00
xtqqczze c7bdb24ff3 Mark local variable as const (#13217)
RCS1118: Mark local variable as const https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1118.md
2020-11-24 20:06:16 +05:00
xtqqczze cba73e724f Enable SA1106: Code should not contain empty statements (#13964)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1106.md
2020-11-21 19:26:44 +05:00
xtqqczze 99a49e0eab Enable SA1131: Use readable conditions (#14132)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1131.md
2020-11-20 17:26:46 +05:00