Commit Graph
1768 Commits
Author SHA1 Message Date
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
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
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
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 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
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
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
xtqqczze d47864d4de Avoid unnecessary array allocations when searching in GAC (#14291) 2020-12-03 14:35:25 -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
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 db94377b3a Enable SA1000: Keywords should be spaced correctly (#13973)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1000.md
2020-11-30 22:13:12 +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 c909541b77 Mark private members as static part 9 (#14234)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-27 13:10:43 +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 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 d5b0264374 Use consistent spacing in xml documentation tags (#14231) 2020-11-25 22:58:52 +05:00
xtqqczze 0d1ea73e59 Enable IDE0074: Use coalesce compound assignment (#13396)
* Autofix IDE0074: Use compound assignment
2020-11-25 17:37:01 +05:00
xtqqczze 15e4e8a6af Remove unnecessary finalizers (#14248) 2020-11-24 12:30:42 -08: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
dependabot-preview[bot] e218234116 Bump Microsoft.ApplicationInsights from 2.15.0 to 2.16.0 (#14031)
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/Microsoft/ApplicationInsights-dotnet/releases)
- [Changelog](https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/ApplicationInsights-dotnet/compare/2.15.0...2.16.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-24 15:15:23 +05:00
xtqqczze 94597deb39 Mark private members as static part 8 (#14233)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 15:12:11 +05:00
xtqqczze fa6caf957e Use see keyword in documentation (#14220)
Fix [DOC104](https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC104.md)
2020-11-24 09:35:46 +05:00
xtqqczze 75e0683725 Enable CA2211: Non-constant fields should not be visible (#14073)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211
2020-11-24 09:31:27 +05:00
xtqqczze cb6ef9bdee Remove incorrectly implemented finalizer (#14246) 2020-11-24 08:16:23 +05:00
xtqqczze fa8b94e6e9 Fix SA1122: Use string.Empty for empty strings (#14218)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1122.md
2020-11-23 14:09:20 +05:00
xtqqczze 0db5e8f3c9 Fix various xml documentation issues (#14223)
* Use correct paramref tag

* End summary tag in correct position

* Escape generic identifiers correctly

* https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC202.md

* Remove extraneous space
2020-11-23 14:07:48 +05:00
Dongbo Wang 44f5811acd Avoid creating instances of the generated delegate helper class (#14128) 2020-11-21 22:20:59 +05:00
xtqqczze 60643e27df Enable CA1012: Abstract types should not have public constructors (#13940)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012
2020-11-21 20:07:28 +05:00
xtqqczze 8f659a2e31 Enable SA1212: Property accessors should follow order (#14051)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1202.md
2020-11-21 20:01:33 +05:00
xtqqczze d05530fbd0 Wrap and name LoadBinaryModule arguments (#14193) 2020-11-21 19:34:52 +05:00
xtqqczze 03e596bf51 Wrap and name GetListOfFilesFromData arguments (#14194) 2020-11-21 19:34:02 +05:00
xtqqczze 83688be8a4 Enable SA1002: Semicolons should be spaced correctly (#14197)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1002.md
2020-11-21 19:30:59 +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 fcafb7f57d Code performance fixes follow-up (#14207) 2020-11-20 15:29:58 -08:00