dependabot[bot]
7fd65eada3
Bump NJsonSchema from 10.3.10 to 10.3.11 ( #14965 )
...
Bumps NJsonSchema from 10.3.10 to 10.3.11.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 11:25:02 -07:00
Aditya Patwardhan
4c40ab1140
Bump Microsoft.PowerShell.Native
to 7.2.0-preview.1
( #15030 )
2021-03-15 11:34:02 -07:00
Aditya Patwardhan
5c4a80e2e2
Update .NET to version 6.0.100-preview.2.21155.3
( #15007 )
2021-03-15 11:22:40 -07:00
Steve Lee
c9d65061af
Add UseOSCIndicator setting to enable progress indicator in terminal ( #14927 )
2021-03-11 17:29:17 -08:00
Steve Lee
cbd97d0cab
Re-enable VT mode on Windows after running command in ConsoleHost ( #14413 )
2021-03-09 16:02:16 -08: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
Steve Lee
d9da234cdf
Fix PromptForCredential()
to add targetName
as domain ( #14504 )
2021-03-08 10:52:02 -08:00
Mariano Alipi
ae5a84ea05
Move misplaced test file to tests directory ( #14908 )
2021-03-08 23:51:38 +05:00
Steve Lee
597bfc9696
Update Concise
ErrorView to not show line information for errors from script module functions ( #14912 )
2021-03-08 23:37:11 +05:00
dependabot[bot]
c517f7e087
Bump Microsoft.CodeAnalysis.CSharp from 3.9.0-3.final to 3.9.0 ( #14934 )
...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 3.9.0-3.final to 3.9.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/commits/v3.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 10:30:05 -08:00
dependabot[bot]
631e96af4c
Bump NJsonSchema from 10.3.9 to 10.3.10 ( #14933 )
...
Bumps NJsonSchema from 10.3.9 to 10.3.10.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 14:42:19 -08:00
Henry Buckle
9aede0558a
Remove the 32,767 character limit on the environment block for Start-Process
( #14111 )
2021-03-02 15:05:55 -08:00
Brian Lalonde
c5955a5c0d
#4750 Fix Get-Date -UFormat %G and %g behavior ( #14555 )
2021-03-01 16:37:15 -08:00
dependabot[bot]
79f351ca29
Bump NJsonSchema from 10.3.8 to 10.3.9 ( #14926 )
...
Bumps NJsonSchema from 10.3.8 to 10.3.9.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 16:28:27 -08:00
dependabot-preview[bot]
3ded3198c9
Bump Microsoft.ApplicationInsights from 2.16.0 to 2.17.0 ( #14847 )
...
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet ) from 2.16.0 to 2.17.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.16.0...2.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 14:48:21 -08:00
dependabot[bot]
e475e5382d
Bump NJsonSchema from 10.3.7 to 10.3.8 ( #14896 )
...
Bumps NJsonSchema from 10.3.7 to 10.3.8.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 09:32:51 -08:00
James Truher [MSFT]
907746cb2e
Change signature validation logic to call first without the file content ( #14849 )
2021-02-23 12:23:16 -08:00
dependabot-preview[bot]
1426442fef
Bump NJsonSchema from 10.3.6 to 10.3.7 ( #14855 )
...
Bumps NJsonSchema from 10.3.6 to 10.3.7.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-19 16:42:41 -08:00
dependabot-preview[bot]
59e5d67457
Bump NJsonSchema from 10.3.5 to 10.3.6 ( #14818 )
...
Bumps NJsonSchema from 10.3.5 to 10.3.6.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-16 17:26:50 -08:00
xtqqczze
778cff0292
Avoid array allocations from GetDirectories
and GetFiles
( #14327 )
...
Contributes to PowerShell#14318.
2021-02-16 10:31:02 -08:00
dependabot-preview[bot]
d255cc6d7e
Bump NJsonSchema
from 10.3.4
to 10.3.5
( #14807 )
2021-02-16 09:43:51 -08:00
Travis Plunk
0fffdf58ab
Don't write possible secrets to verbose stream for web cmdlets ( #14788 )
2021-02-15 11:15:11 -08:00
Aditya Patwardhan
b836de8223
Bump .NET framework to 6.0.0-preview.1 ( #14719 )
2021-02-08 17:13:33 -08:00
Steve Lee
6d7fbed02b
Suppress Write-Progress
in ConsoleHost
if output is redirected and fix tests ( #14716 )
2021-02-08 09:42:53 -08:00
dependabot-preview[bot]
6ad5f65e18
Bump NJsonSchema from 10.3.3 to 10.3.4 ( #14714 )
...
Bumps NJsonSchema from 10.3.3 to 10.3.4.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-06 11:57:15 +05:00
Steve Lee
887467eb32
Add minimal progress bar using ANSI rendering ( #14414 )
2021-02-05 10:50:20 -08:00
Steve Lee
c3fa70380c
Fix webcmdlets to properly construct URI from body when using -NoProxy ( #14673 )
2021-02-05 08:06:04 +05:00
Dongbo Wang
e803d3bc8d
Update the ICommandPredictor
to provide more feedback and also make feedback easier to be corelated ( #14649 )
2021-02-04 15:34:17 -08:00
Brian Lalonde
61fea6c342
#4750 Fix Get-Date -UFormat %u behavior ( #14549 )
...
Corrects a behavior of %u in Get-Date -UFormat to match ISO 8601.
2021-02-04 08:10:31 +05:00
Steve Lee
8e7780860e
Reset color after writing Verbose, Debug, and Warning message ( #14698 )
2021-02-03 09:39:54 -08:00
Paul Higinbotham
0039807082
Fix using variable for nested foreach parallel calls ( #14548 )
2021-02-02 15:34:08 -08:00
Andrew
8e3c3e04f8
Cross-platform updates to DSC code in PowerShell ( #13399 )
2021-02-02 14:47:53 -08:00
Steve Lee
ec5a77653c
When formatting, if collection is modified, don't fail the entire pipeline ( #14438 )
2021-01-27 16:37:36 -08:00
dependabot-preview[bot]
9dafad3003
Bump NJsonSchema from 10.3.2 to 10.3.3 ( #14619 )
...
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema ) from 10.3.2 to 10.3.3.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases )
- [Commits](https://github.com/RicoSuter/NJsonSchema/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-23 10:59:57 -08:00
xtqqczze
68821932c5
Fix RCS1215: Expression is always equal to true/false ( #14356 )
...
* Fix RCS1215: Expression is always equal to true/false
2021-01-19 16:03:59 +05:00
MartinGC94
e26d7084e2
Improve completion of parameters for attributes ( #14525 )
2021-01-14 09:30:15 +05: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
8315515494
Avoid array allocations from GetDirectories/GetFiles. ( #14326 )
2021-01-10 18:09:26 +05:00
Jake
d3f7ba9f95
Write proper error messages for Get-Command ' ' ( #13564 )
2021-01-10 18:03:05 +05:00
Staffan Gustafsson
7bbe18ea86
Enable nullable: System.Management.Automation.IRSPDriverInvoke ( #14160 )
2021-01-09 20:50:04 +05:00
xtqqczze
3c7f4b573e
Fix IDE0090: Simplify new expression part 7 ( #14341 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2021-01-09 12:46:13 +05: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
bb55515717
Fix SA1119 part 1 ( #14204 )
2021-01-09 12:41:51 +05:00
Staffan Gustafsson
e6492f9169
Enable nullable: System.Management.Automation.Host.IHostUISupportsMultipleChoiceSelection ( #14172 )
2021-01-09 12:40:02 +05:00
xtqqczze
4480ee521e
Enable nullable: System.Management.Automation.Language.ISupportsTypeCaching ( #14088 )
2021-01-09 12:35:42 +05:00
Staffan Gustafsson
4c8df5c1de
Enable nullable: System.Management.Automation.Tracing.IEtwActivityReverter ( #14154 )
2021-01-09 12:22:37 +05:00
Staffan Gustafsson
33ce47464e
Enable nullable: System.Management.Automation.IContainsErrorRecord ( #14166 )
2021-01-09 12:20:03 +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
89c2ad3e21
Enable IDE0077: LegacyFormatSuppressMessageAttribute ( #14495 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0077
2021-01-07 14:48:49 +05:00
Ilya
65456893bd
Avoid string.ToLowerInvariant()
from GetEnvironmentVariableAsBool()
to avoid loading ICU at startup ( #14323 )
2021-01-06 10:24:40 -08:00
romero126
8e4b0c69fe
Fixed typo with ProxyURINotSupplied ( #14526 )
...
Co-authored-by: juromer@microsoft.com <juromer@microsoft.com>
2021-01-01 12:22:39 +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
fd934e08a1
Enable SA1314: Type parameter names should begin with T ( #14470 )
...
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1314.md
2020-12-23 08:02:22 +05:00
xtqqczze
0991ecf2d4
Fix RCS1139: Add summary element to documentation comment ( #14442 )
...
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1139.md
2020-12-22 08:44:30 +05:00
xtqqczze
ae06ef1e06
Use String.Split(char) instead of String.Split(String) ( #14465 )
2020-12-20 11:51:57 +05:00
xtqqczze
5f3dd938b7
Use string.Contains(char) overload ( #14368 )
2020-12-19 20:00:51 +05:00
xtqqczze
1ab2c0c2bd
Fix IDE0032: UseAutoProperty part 3 ( #14443 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032
2020-12-19 12:01:11 +05:00
Steve Lee
bc080921bf
Add support to $PSStyle
for strikethrough and hyperlinks ( #14461 )
2020-12-19 11:54:51 +05:00
Ilya
10ef7f5161
Fix PSStyle blink codes ( #14447 )
2020-12-19 11:51:29 +05:00
dependabot-preview[bot]
7f3364f5dd
Bump NJsonSchema from 10.3.1 to 10.3.2 ( #14451 )
2020-12-17 12:07:07 -08:00
xtqqczze
669bcd7278
Refactor complex if statement ( #14398 )
2020-12-16 17:26:47 -08:00
Travis Plunk
7c03ad61c1
Use one feed in each nuget.config in official builds ( #14363 )
...
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2020-12-14 14:16:55 -08:00
Francesco Saltori
ea2da20a23
Get PowerShell version in PSVersionInfo
using assembly attribute instead of FileVersionInfo
( #14332 )
2020-12-11 17:12:10 -08:00
Staffan Gustafsson
d487537453
Enable nullable: System.Management.Automation.Provider.IContentCmdletProvider ( #14184 )
2020-12-12 00:10:28 +05:00
Staffan Gustafsson
e364225d99
Enable nullable: System.Management.Automation.IScriptCommandInfo ( #14178 )
2020-12-12 00:08:34 +05:00
Steve Lee
a99ea2acd2
Enable ANSI formatting via $PSStyle
and support suppressing ANSI output ( #13758 )
2020-12-11 10:33:57 -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
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
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
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
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
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
Ilya
548e939894
Use StringComparison.Ordinal
insted of StringComparison.CurrentCulture
( #14298 )
2020-12-02 13:35:29 -08:00
dependabot-preview[bot]
3b49c139e9
Bump Markdig.Signed from 0.22.0 to 0.22.1 ( #14305 )
...
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig ) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/lunet-io/markdig/releases )
- [Changelog](https://github.com/lunet-io/markdig/blob/master/changelog.md )
- [Commits](https://github.com/lunet-io/markdig/compare/0.22.0...0.22.1 )
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-02 21:03:49 +05:00
xtqqczze
e0cda04d86
Fix IDE0090: Simplify new expression part 5 ( #14301 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-12-02 09:52:05 +05: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
02ae54726e
Remove unnecessary usings part 9 ( #14288 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-12-01 08:20:11 +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
0fd914fee1
Fix RCS1188: Remove redundant auto-property initialization part 1 ( #14261 )
...
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1188.md
2020-11-27 13:17:38 +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
908cf899e1
Fix SA1642 for Microsoft.Management.Infrastructure.CimCmdlets ( #14239 )
...
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1642.md
2020-11-27 13:07:58 +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
1de0b64bc9
Fix IDE0090: Simplify new expression part 4.6 ( #14260 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-27 08:20:36 +05:00
xtqqczze
edb70b1992
Fix IDE0090: Simplify new expression part 4.5 ( #14259 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-27 08:17:15 +05:00
xtqqczze
9b3684186e
Fix IDE0090: Simplify new expression part 4.3 ( #14257 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-27 08:15:37 +05:00
xtqqczze
9272c5b51c
Fix IDE0090: Simplify new expression part 4.2 ( #14256 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-27 08:13:30 +05:00
xtqqczze
9f1f676207
Fix IDE0090: Simplify new expression part 2 ( #14200 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-26 10:43:29 +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
2f6d0ac610
Fix IDE0090: Simplify new expression part 4.4 ( #14258 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-26 10:38:27 +05:00
xtqqczze
b5fc2f34e4
Use xml documentation child blocks correctly ( #14249 )
2020-11-26 10:36:23 +05:00
xtqqczze
17b3375eea
Fix IDE0090: Simplify new expression part 4.1 ( #14255 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-26 10:35:16 +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
xtqqczze
0e0cd0b6df
Fix IDE0032: UseAutoProperty part 2 ( #14244 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032
2020-11-24 15:44:09 +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
0418e1ce8f
Fix IDE0032: UseAutoProperty part 1 ( #14243 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032
2020-11-24 15:14:20 +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
8c8487cc78
Fix CA1822: Mark members as static part 6 ( #14229 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:28:19 +05:00
xtqqczze
8611c86673
Fix CA1822: Mark members as static part 5 ( #14228 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:26:04 +05:00
xtqqczze
c146ff7e3e
Fix CA1822: Mark members as static part 4 ( #14227 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:24:04 +05:00
xtqqczze
09ae5d729b
Fix CA1822: Mark members as static part 3 ( #14226 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:12:00 +05:00
xtqqczze
4ab1b90d08
Fix CA1822: Mark members as static part 2 ( #14225 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:05:34 +05:00
xtqqczze
bbe46f2772
Fix CA1822: Mark members as static part 1 ( #14224 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-24 12:01:01 +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
358db74479
Enable CA1816: Dispose methods should call SuppressFinalize ( #14074 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816
2020-11-24 09:29:15 +05:00
xtqqczze
cb6ef9bdee
Remove incorrectly implemented finalizer ( #14246 )
2020-11-24 08:16:23 +05:00
xtqqczze
4f3d0a650f
Fix CA1822: Mark members as static part 7 ( #14230 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
2020-11-23 22:48:54 +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
eafeab554b
Remove unnecessary usings part 8 ( #14072 )
...
* Sorting usings
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-21 20:03:33 +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
7dee446324
Enable SA1006: Preprocessor keywords should not be preceded by space ( #14052 )
...
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1006.md
2020-11-21 20:00:23 +05:00
xtqqczze
ca21c7cdbc
Fix SA1642 for Microsoft.PowerShell.Commands.Utility ( #14142 )
...
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1642.md
2020-11-21 19:58:37 +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
98117cd403
Fix IDE0090: Simplify new expression part 3 ( #14201 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-21 19:29:44 +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
xtqqczze
ed1f5294be
Remove useless comments ( #14199 )
2020-11-20 20:31:22 +05:00
xtqqczze
7e26eca03e
Fix IDE0090: Simplify new expression part 1 ( #14027 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090
2020-11-20 17:36:53 +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
xtqqczze
d92984106a
Enable SA1507: Code should not contain multiple blank lines in a row ( #14136 )
...
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md
2020-11-20 16:17:45 +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
9e285298c0
Enable IDE0031: Null check can be simplified ( #13548 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031
2020-11-20 11:42:51 +05:00
xtqqczze
b5902a6e9f
Enable CA1065: Do not raise exceptions in unexpected locations ( #14117 )
2020-11-19 12:12:12 -08:00
xtqqczze
c9df1c1810
Fix whitespace issues ( #14092 )
2020-11-19 10:06:02 +05:00
Dongbo Wang
9b57c6e429
Revert "Fix nullable usage on authenticode ( #13791 ) ( #13804 )" ( #14134 )
...
This reverts commit fbca9141ec
.
2020-11-19 08:16:10 +05:00
Dongbo Wang
40cbee4ffa
Revert "Change Nullable usage ( #13793 )" ( #14135 )
...
This reverts commit 2e0b51d970
.
2020-11-19 08:14:54 +05:00
James Truher [MSFT]
9ca6be1d63
Revert "Update hyperlink for DefaultPromptFunctionText
( #13176 )" ( #14107 )
2020-11-17 09:50:59 -08:00
xtqqczze
a0e9d7b040
Enable IDE0041: UseIsNullCheck ( #14041 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0041
2020-11-16 19:57:48 +05:00
xtqqczze
006fe4d2dd
Enable IDE0082: ConvertTypeOfToNameOf ( #14042 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0082
2020-11-16 19:56:07 +05:00
xtqqczze
fcd9e37341
Remove unnecessary usings part 4 ( #14023 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-16 19:54:05 +05:00
Ilya
d9090b4a49
Write better error message if config file is broken ( #13496 )
2020-11-13 17:22:26 -08:00
Christopher Yeleighton
f13d27ba3e
Update hyperlink for DefaultPromptFunctionText
( #13176 )
2020-11-13 17:20:15 -08:00
dependabot-preview[bot]
2efa1634e5
Bump NJsonSchema
from 10.2.2
to 10.3.1
( #14040 )
2020-11-13 14:19:30 -08:00
xtqqczze
b521b858ad
Fix RCS1049: Simplify boolean comparison ( #13994 )
...
* Fix RCS1049: Simplify boolean comparison
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1049.md
Related https://github.com/dotnet/runtime/pull/44564
2020-11-13 09:39:25 +05:00
xtqqczze
f6caf2d5c6
Enable nullable: System.Management.Automation.Internal.IValidateSetValuesGenerator ( #14018 )
2020-11-13 09:36:43 +05:00
xtqqczze
1dc0ba4a69
Enable IDE0062: MakeLocalFunctionStatic ( #14044 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0062
2020-11-13 09:12:38 +05:00
xtqqczze
5c874207ec
Enable CA1837: Use 'Environment.ProcessId' ( #14063 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1837
2020-11-13 08:47:23 +05:00
xtqqczze
8148968546
Remove unnecessary usings part 5 ( #14050 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-13 08:37:41 +05:00
xtqqczze
70dea4188e
Remove unnecessary usings part 6 ( #14065 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-13 08:35:40 +05:00
dependabot-preview[bot]
112d3a88b6
Bump Microsoft.CodeAnalysis.CSharp from 3.7.0 to 3.8.0 ( #14075 )
...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/commits )
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-13 08:33:53 +05:00
xtqqczze
cfcc8dc0ed
Remove unnecessary usings part7 ( #14066 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-13 08:14:29 +05:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
xtqqczze
1386d0054a
Remove LINQ Count method uses ( #13545 )
2020-11-11 09:39:59 -08: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
39205ca4de
Enable CA1827: Do not use Count() or LongCount() when Any() can be used ( #13923 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1827
2020-11-11 11:53:30 +05:00
Marcos Ramos
11d7587f9b
Fix nullable usage on displayDescriptionData_Wide ( #13805 )
2020-11-10 12:19:17 -08:00
Marcos Ramos
60a8fa3ec8
Fix nullable usage on displayDescriptionData_Table.cs ( #13808 )
2020-11-10 12:18:47 -08:00
xtqqczze
8cdc421051
Remove unnecessary usings part 3 ( #14021 )
...
* Fix IDE0005: Remove unnecessary import
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
* Sort usings
2020-11-10 08:18:03 +05:00
xtqqczze
6b009c11e3
Remove unnecessary usings part 2 ( #14017 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
2020-11-10 08:15:04 +05:00
xtqqczze
8f0c63156e
Remove unnecessary usings part 1 ( #14014 )
...
* Fix IDE0005: Remove unnecessary import
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
* Sort usings
2020-11-10 08:13:11 +05:00
xtqqczze
23deb41f49
Enable IDE0040: AddAccessibilityModifiers ( #13962 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0040
2020-11-09 09:37:25 +05:00
xtqqczze
ed595c0406
Revert changes to ComInterop ( #14012 )
...
* Revert changes to ComInterop
src/System.Management.Automation/engine/ComInterop/
* Disable code analysis in ComInterop
2020-11-09 09:09:13 +05:00
xtqqczze
093edbb9a9
Make applicable private Guid fields readonly ( #14000 )
...
* Make applicable private Guid fields readonly
* Use in-modifier for passing a readonly Guid
2020-11-08 10:43:59 +05:00
xtqqczze
d128fbc1a8
Fix IDE0044: MakeFieldReadonly part 11 ( #13966 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-07 16:36:04 +05:00
xtqqczze
2e24380b8c
Fix CA1003: Use generic event handler instances ( #13937 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1003
2020-11-07 16:30:19 +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
03a58c4186
Use is not
syntax part 2 ( #13338 )
2020-11-05 10:23:50 +05:00
xtqqczze
45ffc2c6e5
Replace magic number with constant in PDH ( #13536 )
...
* Replace magic number with constant
* Remove useless assignment (codacy)
2020-11-05 10:09:38 +05:00
xtqqczze
eaad6c2235
Fix accessor order ( #13538 )
...
* Fix Microsoft.PowerShell.Commands.Utility
* Fix System.Management.Automation
* Fix Microsoft.Management.Infrastructure.CimCmdlets
* Fix Microsoft.PowerShell.Commands.Management
* Fix Microsoft.WSMan.Management
2020-11-05 10:05:50 +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
03a0ef26e6
Fix RCS1098: Constant values should be on right side of comparisons ( #13833 )
...
* Fix RCS1098: Constant values should be on right side of comparisons
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md
2020-11-05 09:13:12 +05:00
xtqqczze
47c92090db
Enable CA1068: CancellationToken parameters must come last ( #13867 )
...
* Enable CA1068: CancellationToken parameters must come last
2020-11-05 09:08:28 +05:00
xtqqczze
4ed88dedbc
Fix IDE0044: MakeFieldReadonly part 12 ( #13967 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-05 08:36:23 +05:00
xtqqczze
4653e9e335
Fix IDE0044: MakeFieldReadonly part 13 ( #13968 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-05 08:29:50 +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
4595a22c64
Fix IDE0044: MakeFieldReadonly part 16 ( #13971 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-05 08:26:39 +05:00
xtqqczze
52ecb6d18e
Run dotnet-format
to improve formatting of source code ( #13503 )
2020-11-04 11:13:56 -08:00
Sean Wheeler
beb074d4a2
Update pwsh -? output to match docs ( #13748 )
2020-11-04 10:39:07 -08:00
xtqqczze
1d7a93c2e0
Enable CA1825: Avoid zero-length array allocations ( #13961 )
2020-11-04 08:56:26 +05:00
xtqqczze
3444595e78
Mark PowerShellAssemblyLoadContextInitializer with static modifier ( #13874 )
2020-11-03 17:16:36 -08:00
xtqqczze
cc6ce4f66d
Fix IDE0044: MakeFieldReadonly part 14 ( #13969 )
2020-11-03 08:47:07 -08:00
Ilya
53e8199856
Fix a logic bug in MapSecurityZone
( #13921 )
2020-11-02 19:39:31 -08:00
Aditya Patwardhan
d50a983367
Bump Microsoft.PowerShell.Native
version from 7.1.0-rc.2
to 7.1.0
( #13976 )
2020-11-02 16:56:22 -08:00
Dongbo Wang
8d88737fcc
Update PSReadLine
version to 2.1.0
( #13975 )
2020-11-02 16:53:05 -08:00
Aditya Patwardhan
e99f055c69
Bump .NET to version 5.0.100-rtm.20526.5
( #13920 )
2020-11-02 16:51:35 -08:00
Thomas Nieto
f03952fc3c
Remove unnecessary using in utils folder ( #13863 )
2020-11-02 12:47:29 +05:00
xtqqczze
739b55d459
Fix IDE0044: MakeFieldReadonly part 1 ( #13884 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-02 12:43:04 +05:00
xtqqczze
25a769d75d
Fix IDE0044: MakeFieldReadonly part 8 ( #13891 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-02 12:24:43 +05:00
xtqqczze
d9187e07e1
Fix IDE0044: MakeFieldReadonly part 4 ( #13887 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-02 12:22:18 +05:00
xtqqczze
4b9f9dc457
Enable CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder ( #13926 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830
2020-11-02 08:46:40 +05:00
xtqqczze
fc15daaccb
Enable IDE0036: OrderModifiers ( #13958 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0036
2020-11-02 08:27:23 +05:00
Marcos Ramos
fbca9141ec
Fix nullable usage on authenticode ( #13791 ) ( #13804 )
2020-10-30 14:46:16 -07:00
Pat Leong
72608fb829
Use Environment.CurrentManagedThreadId ( #13803 )
2020-10-30 12:42:17 +05:00
xtqqczze
2c1546cd47
Enable CA1836: Prefer IsEmpty over Count when available ( #13877 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836
2020-10-30 12:15:29 +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
xtqqczze
ac9846bf40
Fix IDE0044: MakeFieldReadonly part 2 ( #13885 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 11:58:48 +05:00
xtqqczze
f40a002497
Fix IDE0044: MakeFieldReadonly part 5 ( #13888 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 11:49:23 +05:00
xtqqczze
c4f6bfe771
Fix IDE0044: MakeFieldReadonly part 9 ( #13892 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-29 20:56:03 +05:00
xtqqczze
604ce991fe
Fix IDE0044: MakeFieldReadonly part 6 ( #13889 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-29 16:10:26 +05:00
xtqqczze
bcca5f4adb
Fix IDE0044: MakeFieldReadonly part 3 ( #13886 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-29 16:03:50 +05:00
xtqqczze
e1d72101ae
Fix IDE0044: MakeFieldReadonly part 7 ( #13890 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-29 15:59:00 +05:00
xtqqczze
20401c9583
Enable IDE1005: InvokeDelegateWithConditionalAccess ( #13911 )
...
* Enable IDE1005: InvokeDelegateWithConditionalAccess
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide1005
2020-10-28 22:35:51 +05:00
xtqqczze
69ded7777a
Use span-based string.Concat inatead of string.Substring ( #13500 )
...
Before:
```csharp
str1 + str2.Substring(...) + str3
```
After:
```csharp
string.Concat(str1, str2.AsSpan(...), str3)
```
2020-10-28 13:01:05 +05:00
Ilya
dfc591c218
Fix NRE in Test-Json ( #12942 )
2020-10-27 13:54:52 -07:00
xtqqczze
ab378f6236
Add global AnalyzerConfig with default configuration ( #13835 )
...
* Add default global AnalyzerConfig
Add `microsoft.codeanalysis.netanalyzers\5.0.0-rtm.20502.2\editorconfig\AllRulesDefault\.editorconfig`
* Disable diagnostics for Microsoft.Management.UI.Internal
* Add IDE diagnostics to AnalyzerConfig
Copied from:
<3b6600cbef/eng/CodeAnalysis.ruleset
> and converted using `RulesetToEditorconfigConverter.exe`
2020-10-26 21:11:09 +05:00
Thomas Nieto
9b39f05557
Remove unnecessary using in namespaces folder ( #13860 )
2020-10-25 09:08:05 -07:00
Thomas Nieto
9bbba286c0
Remove unnecessary using in security folder ( #13861 )
2020-10-25 19:39:10 +05:00
krishnayalavarthi
c8feddb214
Make dispose
in TranscriptionOption
idempotent ( #13839 )
...
Co-authored-by: Krishna Yalavarthi <kryalava@microsoft.com>
2020-10-23 11:36:53 -07:00
Thomas Nieto
34251ed12b
Remove unnessary using ( #13814 )
2020-10-21 17:48:32 +05:00
Sydney Smith
1a3721a574
Add PowerShell Modules to the tracked modules list ( #12183 )
2020-10-19 13:21:43 -07:00
Ron Green
2e0b51d970
Change Nullable usage ( #13793 )
2020-10-19 10:38:48 +05:00
Aditya Patwardhan
67bdf7292d
Bump Microsoft.PowerShell.Native
to 7.1.0-rc.2
( #13794 )
2020-10-16 16:25:47 -07:00
Jordan Borean
5fe17baa3b
Relax further SSL verification checks for WSMan on non-Windows hosts with verification available ( #13786 )
2020-10-16 09:57:42 -07:00
Aditya Patwardhan
49b7faa817
Move PowerShell build to .NET 5 RC.2 ( #13780 )
2020-10-14 11:04:39 -07:00