Commit Graph
8558 Commits
Author SHA1 Message Date
Steve Lee a99ea2acd2 Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758) 2020-12-11 10:33:57 -08:00
Dongbo Wang a106d1d4b6 Add 'Microsoft.PowerShell.MarkdownRender' to the package reference list (#14386) 2020-12-11 09:34:37 -08:00
Staffan Gustafsson c4cc62658a Enable nullable: System.Management.Automation.Interpreter.IBoxableInstruction (#14165) 2020-12-11 11:45:11 +05:00
Staffan Gustafsson 7944cf0873 Enable nullable: System.Management.Automation.Provider.IDynamicPropertyProvider (#14167) 2020-12-11 11:37:02 +05:00
Staffan Gustafsson 76e471c0dd Enable nullable: System.Management.Automation.Language.IScriptExtent (#14179) 2020-12-11 11:35:00 +05:00
Staffan Gustafsson 29131d573c Enable nullable: System.Management.Automation.Language.ICustomAstVisitor2 (#14192) 2020-12-11 11:22:52 +05:00
Staffan Gustafsson 55476817b4 Enable nullable: System.Management.Automation.LanguagePrimitives.IConversionData (#14187) 2020-12-11 11:15:54 +05:00
Staffan Gustafsson 2784add414 Enable nullable: ...Automation.Remoting.Client.IWSManNativeApiFacade (#14186) 2020-12-11 11:09:35 +05:00
Staffan Gustafsson 25cfd2be98 Enable nullable: System.Management.Automation.Language.ISupportsAssignment (#14180) 2020-12-11 11:04:57 +05:00
Staffan Gustafsson e55f940131 Enable nullable: System.Management.Automation.ICommandRuntime2 (#14183) 2020-12-11 11:02:53 +05:00
Staffan Gustafsson 9c75ba8b63 Enable nullable: System.Management.Automation.IOutputProcessingState (#14175) 2020-12-11 10:58:51 +05:00
Staffan Gustafsson ab44bf4ae2 Enable nullable: System.Management.Automation.IJobDebugger (#14174) 2020-12-11 10:53:25 +05:00
Staffan Gustafsson 74d833c214 Enable nullable: System.Management.Automation.Interpreter.IInstructionProvider (#14173) 2020-12-11 10:48:54 +05:00
Staffan Gustafsson 5533e0da29 Enable nullable: System.Management.Automation.IHasSessionStateEntryVisibility (#14169) 2020-12-11 10:46:36 +05:00
Staffan Gustafsson 429125a8f3 Enable nullable: System.Management.Automation.Tracing.IEtwEventCorrelator (#14168) 2020-12-11 10:43:23 +05:00
Robert Holt 9d50a052ab Fix syntax error in Windows packaging script (#14377) 2020-12-10 13:07:53 -08:00
Joel Sallow (/u/ta11ow) 1223518a43 (#12430) Improve detection of mutable value types (#12495) 2020-12-10 12:34:17 -08:00
Joel Sallow (/u/ta11ow) 16e2b62d78 Ensure -PipelineVariable is set for all output from script cmdlets (#12766) 2020-12-10 12:12:34 -08:00
xtqqczze a8213b54b3 Remove redundant local assignment in AclCommands (#14358) 2020-12-10 11:36:48 -08:00
Travis Plunk f6fa262580 Fix issue with unsigned build (#14367) 2020-12-09 14:51:43 -08:00
Travis Plunk 3905cb0beb Make AppLocker Enforce mode take precedence over UMCI Audit mode (#14353) 2020-12-09 13:09:21 -08:00
Staffan Gustafsson 9724293fef Enable nullable: System.Management.Automation.Language.IAstPostVisitHandler (#14164) 2020-12-09 12:33:29 -08:00
Staffan Gustafsson 06b660cb5a Enable nullable: System.Management.Automation.IModuleAssemblyInitializer (#14158) 2020-12-09 12:33:17 -08:00
Aditya Patwardhan 600b658990 Use Microsoft.PowerShell.MarkdownRender package from nuget.org (#14090) 2020-12-09 12:29:45 -08:00
xtqqczze f74acaa768 Replace GetFiles in TestModuleManifestCommand (#14317) 2020-12-09 11:59:08 -08:00
Staffan Gustafsson cb13c30467 Enable nullable: System.Management.Automation.Provider.IContentWriter (#14152) 2020-12-09 11:57:43 -08:00
Ilya ba49eb225f Optimize IEnumerable variant of replace operator (#14221) 2020-12-09 11:46:27 -08:00
Xavier Hahn 971c428769 Simplify getting Encoding in TranscriptionOption.FlushContentToDisk (#13910) 2020-12-09 11:37:29 -08:00
xtqqczze 41ab20cce3 Mark applicable structs as readonly and use in-modifier (#13919) 2020-12-09 11:36:48 -08:00
Staffan Gustafsson 817e6b044b Enable nullable: System.Management.Automation.IArgumentCompleter (#14182) 2020-12-09 11:13:26 -08:00
Steve Lee 95ce0643c8 Add -SkipLimitCheck switch to Import-PowerShellDataFile (#13672) 2020-12-09 11:07:07 -08:00
xtqqczze aecada3e67 Enable CA1822: Mark private members as static (#13897) 2020-12-09 11:04:23 -08:00
xtqqczze bb78d4b5c0 Fix IDE0090: Simplify new expression part 6 (#14338)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-12-09 08:52:00 +05:00
krishnayalavarthi b007952f74 Restrict New-Object in NoLanguage mode under lock down #14139 (#14140) 2020-12-08 14:45:38 -08:00
xtqqczze dd4e5c7ba8 Refactor multiply operation for better performance in 2 Commands.Utility functions (#14148) 2020-12-08 13:59:10 -08:00
Robert Holt 7b59040ffb Fix example nuget.config (#14349) 2020-12-08 12:42:20 -08:00
Kyle H 909ca89be9 The -Stream parameter now works with directories (#13941) 2020-12-07 17:31:55 -08:00
xtqqczze 86ca45681d Avoid array allocations from GetDirectories/GetFiles. (#14328) 2020-12-07 15:20:58 -08:00
Travis Plunk 09cc338789 Move macOS and nuget to esrp signing (#14324) 2020-12-07 12:11:54 -08:00
Dongbo Wang 1b7aa0a5d5 Fix nuget packaging to scrub NullableAttribute (#14344) 2020-12-07 11:24:12 -08:00
xtqqczze e35668ca0a Avoid array allocations from GetDirectories/GetFiles. (#14330) 2020-12-07 16:11:03 +05:00
Ilya ea3036dc6d Use Environment.TickCount64 instead of Datetime.Now as the random seed for AppLocker test file content (#14283) 2020-12-04 09:24:42 -08:00
dependabot-preview[bot] 18b50e80ef Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3 (#14310)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-04 16:42:27 +05:00
xtqqczze 75b5813f84 Fix RCS1188: Remove redundant auto-property initialization part 2 (#14262)
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1188.md
2020-12-04 16:31:57 +05:00
Ilya 927d20aec2 Fix a broken link in Code Guidelines doc (#14314) 2020-12-03 22:42:35 -08:00
xtqqczze d47864d4de Avoid unnecessary array allocations when searching in GAC (#14291) 2020-12-03 14:35:25 -08:00
Ilya 03f40a0078 Use OrdinalIgnoreCase in CommandLineParser (#14303) 2020-12-03 14:34:00 -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 99e527bc0a Enable nullable: System.Management.Automation.Host.IHostSupportsInteractiveSession (#14170) 2020-12-03 09:19:24 -08:00
Staffan Gustafsson f91b620fde Enable nullable: System.Management.Automation.Provider.IPropertyCmdletProvider (#14176) 2020-12-03 09:18:40 -08:00