Commit Graph
271 Commits
Author SHA1 Message Date
Robert Holt 0ae0b65e25 Revert "Enhance Remove-Item to work with OneDrive (Second) (#15260)" (#15546) 2021-06-11 12:32:25 -07:00
Ikko Ashimine 6018d6b183 Fix typo in FileSystemProvider.cs (#15445) 2021-06-03 13:15:32 -07:00
Aditya Patwardhan 7ead137407 Update to .NET Preview 6 SDK (#15452) 2021-05-25 19:24:28 -07:00
Staffan Gustafsson e927e94aed Enable nullable: Microsoft.PowerShell.Commands.IRegistryWrapper (#14177) 2021-05-20 12:46:03 +05:00
Staffan Gustafsson 6d4420f4b9 Enable nullable: System.Management.Automation.Provider.ISecurityDescriptorCmdletProvider (#14162) 2021-05-18 21:46:00 +05:00
Staffan Gustafsson 94aa68d30f Enable nullable: System.Management.Automation.Provider.ICmdletProviderSupportsHelp (#14150) 2021-05-18 21:09:00 +05:00
Staffan Gustafsson efdc500ba5 Annotate ThrowTerminatingError with DoesNotReturn attribute (#15352) 2021-05-06 09:23:34 -07:00
PRASOON KARUNAN V 15bb767a74 Remove alias d for the -Directory parameter from Get-ChildItem (#15171) 2021-05-05 17:23:09 -07:00
Ilya 08e731398c Enhance Remove-Item to work with OneDrive (Second) (#15260) 2021-04-27 12:31:12 -07:00
Travis Plunk 720c615d04 Revert "Enhance Remove-Item to work with OneDrive (#14902)" (#15253)
This reverts commit fafc38fe5c.
2021-04-16 13:43:11 -07:00
Staffan Gustafsson b2d2541d87 Enable nullablE for System.Management.Automation.Provider.IContentReader (#14151) 2021-04-16 13:23:49 -04:00
Ilya 91e7298fd8 Use static lambda keyword (#15154) 2021-04-12 12:44:05 -07:00
Ilya fafc38fe5c Enhance Remove-Item to work with OneDrive (#14902) 2021-04-12 09:36:16 -07:00
Steve Lee 5d0dadf19d Fallback to CopyAndDelete() when MoveTo() fails due to an IOException (#15077) 2021-03-25 15:11:17 -07:00
Steve Lee 22b3653bf4 Fix Move-Item for FileSystemProvider to use copy-delete instead of move for DFS paths (#14913) 2021-03-08 15:01:31 -08:00
xtqqczze b7a431a442 Fix SA1504: All accessors should be single-line or multi-lin (#14241)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1504.md
2021-01-09 12:44:38 +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
Staffan Gustafsson d487537453 Enable nullable: System.Management.Automation.Provider.IContentCmdletProvider (#14184) 2020-12-12 00:10:28 +05:00
Staffan Gustafsson 7944cf0873 Enable nullable: System.Management.Automation.Provider.IDynamicPropertyProvider (#14167) 2020-12-11 11:37:02 +05:00
Staffan Gustafsson cb13c30467 Enable nullable: System.Management.Automation.Provider.IContentWriter (#14152) 2020-12-09 11:57:43 -08:00
Kyle H 909ca89be9 The -Stream parameter now works with directories (#13941) 2020-12-07 17:31:55 -08:00
Ilya 2804576840 Avoid an exception if file system does not support reparse points (#13634) 2020-12-03 11:24:49 -08:00
Staffan Gustafsson f91b620fde Enable nullable: System.Management.Automation.Provider.IPropertyCmdletProvider (#14176) 2020-12-03 09:18:40 -08:00
xtqqczze 18717c529b Enable IDE0075: SimplifyConditionalExpression (#14078)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0075
2020-12-02 08:25:56 +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 dc9ecd9a85 Use AsSpan/AsMemory slice constructor (#14265)
* Use AsSpan slice constructor

* Use AsMemory slice constructor
2020-11-27 13:05:41 +05:00
xtqqczze d5b0264374 Use consistent spacing in xml documentation tags (#14231) 2020-11-25 22:58:52 +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 f14c76aab9 Enable SA1516: Elements should be separated by blank line (#14137)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md
2020-11-20 16:11:36 +05:00
xtqqczze c9df1c1810 Fix whitespace issues (#14092) 2020-11-19 10:06:02 +05:00
xtqqczze 4d2965af29 Autofix SA1518: The code must not contain extra blank lines at the end of the file (#13574) 2020-11-11 12:15:20 +05:00
xtqqczze d6727dcf1b Simplify delegate creation (#13578)
* Autofix RCS1048

* Autofix RCS1021
2020-11-05 22:25:26 +05:00
xtqqczze 76be8f3ce5 Fix RCS1033: Remove redundant boolean literal part 1 (#13454)
* Remove redundant boolean literal

Autofix RCS1033: Remove redundant boolean literal

* revert changes in System.Management.Automation
2020-11-05 22:23:27 +05:00
xtqqczze 76cef3b299 Fix RCS1221: Use pattern matching instead of combination of 'as' operator and null check (#13333)
* Autofix RCS1221: Use pattern matching instead of combination of 'as' operator and null check

https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1221.md

* Restore stripped comments
2020-11-05 21:58:48 +05:00
xtqqczze 3ba61069b8 Enable IDE0054: Use compound assignment (#13546)
* Autofix IDE0054
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0054-ide0074
2020-11-05 09:48:13 +05:00
xtqqczze 24facfb03d Fix IDE0044: MakeFieldReadonly part 15 (#13970)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-05 08:28:18 +05:00
xtqqczze 52ecb6d18e Run dotnet-format to improve formatting of source code (#13503) 2020-11-04 11:13:56 -08:00
xtqqczze 1d7a93c2e0 Enable CA1825: Avoid zero-length array allocations (#13961) 2020-11-04 08:56:26 +05:00
xtqqczze af8558b065 Enable CA1834: Consider using 'StringBuilder.Append(char)' when applicable (#13878)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834
2020-10-30 12:07:18 +05:00
Thomas Nieto 9b39f05557 Remove unnecessary using in namespaces folder (#13860) 2020-10-25 09:08:05 -07:00
Thomas Nieto 34251ed12b Remove unnessary using (#13814) 2020-10-21 17:48:32 +05:00
Dongbo Wang 10237bdeb3 Update PowerShell to build against dotnet 5.0-RC.1 (#13643) 2020-09-23 14:04:01 -07:00
xtqqczze 88e706f3d7 Autofix RCS1068: Simplify logical negation (#13555) 2020-09-04 08:40:05 +05:00
xtqqczze 152456d7a0 Add single blank line after copyright header (#13486) 2020-09-02 08:15:16 +05:00
xtqqczze 8f37cced70 Cleanup: remove duplicate words in comments (#13539) 2020-08-31 11:39:00 -07:00
Robert Holt 6a37eb9313 Update to .NET 5 preview 8 (#13530) 2020-08-31 10:38:05 -07:00
Ilya 4e2b6e9540 Process reparse points for Microsoft Store applications (#13481) 2020-08-27 11:51:19 -07:00
xtqqczze 16f0b74187 Cleanup: Remove redundant empty lines (#13404) 2020-08-25 11:29:26 -07:00
Robert Holt 213e5b7857 Suppress UTF-7 obsolete warnings (#13484) 2020-08-21 10:37:42 -07:00