Commit Graph
1886 Commits
Author SHA1 Message Date
xtqqczze 03b07a0062 Enable IDE0044: MakeFieldReadonly (#13880)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2021-07-07 09:33:19 +05:00
Konstantin Gukov 8dcd5a2e1c Use nameof to get parameter names when creating ArgumentNullException (#15604) 2021-07-05 22:04:13 -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
Dongbo Wang 14f25c92e7 Test if a command is 'Out-Default' more thoroughly for transcribing scenarios (#15653) 2021-06-28 11:26:14 -07:00
xtqqczze 1e992c5e53 Replace Single with First when we know the element count is 1 (#15676) 2021-06-25 17:19:05 -07:00
Jason Helmick 170a226689 Add Microsoft.PowerShell.Crescendo to telemetry allow list (#15372) 2021-06-24 12:30:40 -07:00
Steve Lee 375be2e705 Add DetailedView to $ErrorView (#15609) 2021-06-22 13:35:38 -07:00
MartinGC94 77054ff586 Fix splatting being treated as positional parameter (#14623) 2021-06-15 16:56:14 -07:00
Al Idian 6eae114f5a Correct parameter reference passed to exception (#15580) 2021-06-15 22:29:31 +05:00
Al Idian 7b933d0cc3 Correct and improve XML comments (#15568) 2021-06-15 09:05:21 -07:00
Francesco Saltori a70f915411 Retrieve ProductVersion using informational version attribute in AmsiUtils.Init() (#15527) 2021-06-14 12:04:36 -07:00
Konstantin Gukov da578e5f34 Do not stop powershell when can't create telemetry mutex. (#15574) 2021-06-14 11:59:20 -07:00
Steve Lee 9aa9a75cad Fix retrieving dynamic parameters from provider even if globbed path returns no results (#15525) 2021-06-14 11:09:26 -07:00
Ilya f570029986 Enable nullable: System.Management.Automation.ICommandRuntime (#15566) 2021-06-14 10:57:34 -07:00
Robert Holt 0ae0b65e25 Revert "Enhance Remove-Item to work with OneDrive (Second) (#15260)" (#15546) 2021-06-11 12:32:25 -07:00
Dongbo Wang e2ee8e7e1f Clean up code regarding AppDomain.CreateDomain and AppDomain.Unload (#15554) 2021-06-10 09:16:05 -07:00
Dongbo Wang 4aaed08955 Ignore all exceptions when disposing an instance of a subsystem implementation (#15511) 2021-06-07 09:59:24 -07:00
dinhngtu ea19ceac4a Wait for SSH exit when closing remote connection (#14635) 2021-06-03 13:19:11 -07:00
Ikko Ashimine 6018d6b183 Fix typo in FileSystemProvider.cs (#15445) 2021-06-03 13:15:32 -07:00
Francesco Saltori 088eb6d039 Replace ProcessModule.FileName with Environment.ProcessPath and remove PSUtils.GetMainModule (#15012) 2021-06-03 12:32:55 -07:00
Robert Holt 50d850740b Add PipelineStoppedException notes to PowerShell API (#15324) 2021-06-03 12:27:41 -07:00
Staffan Gustafsson 6361141f8e Enable nullable: System.Management.Automation.IDispatch (#14185) 2021-05-26 11:08:27 +05:00
Aditya Patwardhan 7ead137407 Update to .NET Preview 6 SDK (#15452) 2021-05-25 19:24:28 -07:00
MartinGC94 2fc3826dd3 Add completions for comment-based help keywords (#15337) 2021-05-25 13:36:53 -07:00
Andrew 8d017d8a75 Move cross platform DSC code to a subsystem (#15127) 2021-05-20 17:06:59 -07:00
Dongbo Wang 5febcad3db Update prediction interface to provide additional feedback to a predictor plugin (#15421) 2021-05-20 15:52:13 -07:00
Staffan Gustafsson e927e94aed Enable nullable: Microsoft.PowerShell.Commands.IRegistryWrapper (#14177) 2021-05-20 12:46:03 +05:00
Staffan Gustafsson 562f4f3d1a Enable nullable: System.Management.Automation.IResourceSupplier (#14159) 2021-05-19 22:11:52 +05:00
Staffan Gustafsson 91b2904ca7 Enable nullable: System.Management.Automation.Language.ICustomAstVisitor (#14191) 2021-05-19 08:48:49 +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 77f25bf2a7 Enable nullable: System.Management.Automation.IDynamicParameters (#14153) 2021-05-18 20:58:39 +05:00
Staffan Gustafsson c547ccd478 Enable nullable: System.Management.Automation.Interpreter.ILightCallSiteBinder (#14156) 2021-05-18 20:57:27 +05:00
Staffan Gustafsson e2364b78b5 Enable nullable: System.Management.Automation.Language.IScriptPosition (#14161) 2021-05-18 20:55:29 +05:00
Staffan Gustafsson 64fb8c2311 Enable nullable: System.Management.Automation.IInspectable (#14155) 2021-05-18 19:53:21 +05:00
xtqqczze 5abb90f21a Avoid allocation in LanguagePrimitives.UpdateTypeConvertFromTypeTable (#15168) 2021-05-17 11:01:07 -07:00
Steve Lee 38d582f038 Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed (#15380) 2021-05-14 11:05:49 -07:00
Andrew ae772462a5 Fix NullReferenceException in DSC ClearCache() (#15373) 2021-05-12 13:30:43 -07:00
Dongbo Wang b16dac7ecb Avoid collecting logs in buffer if a pipeline execution event is not going to be logged (#15350) 2021-05-10 13:10:25 -07: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
Staffan Gustafsson f38c97e4f4 Enable nullable for System.Management.Automation.Language.IAssignableValue (#14163) 2021-05-05 11:28:32 -07:00
MartinGC94 5d8336adf5 Fix tab completion for un-localized about topics (#15265) 2021-05-05 11:24:40 -07:00
Paul Higinbotham a95b2cb17f Remove unneeded SSH standard handle workaround (#15308) 2021-04-30 09:35:55 -07:00
Dongbo Wang a62c9d9443 Add the performance benchmark project for PowerShell performance testing (#15242) 2021-04-30 09:34:26 -07:00
Marc-André Moreau 8f8ddc3fb7 Add LoadAssemblyFromNativeMemory function to load assemblies from memory in a native PowerShell host (#14652) 2021-04-28 14:28:41 -07:00
Ilya 08e731398c Enhance Remove-Item to work with OneDrive (Second) (#15260) 2021-04-27 12:31:12 -07:00
Steve Lee 1df4236e6c Kill native processes in pipeline when pipeline is disposed on Unix (#15287) 2021-04-26 15:10:35 -07:00
Steve Lee fc1d5ef096 Default to MTA on Windows platforms where STA is not supported (#15106) 2021-04-22 08:38:13 -07:00
Staffan Gustafsson b5e41e2587 Enable nullable for System.Management.Automation.Language.ITypeName (#14181) 2021-04-20 09:42:03 -04:00