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
Robert Holt
56ad41b143
Add missing PSToken
entries ( #13779 )
2020-10-14 11:02:54 -07:00
Dongbo Wang
5025d468f3
Update PSReadLine
version to 2.1.0-rc1
( #13777 )
...
* Update PSReadLine version to 2.1.0-rc1
* Update the file 'files.wxs'
2020-10-14 09:58:09 -07:00
Dongbo Wang
2728574df7
Rename 'Get-Subsystem' to 'Get-PSSubsystem' and fix two minor issues ( #13765 )
2020-10-14 09:42:37 -07:00
Xavier Hahn
cf251a97d2
Change default fallback encoding for GetEncoding in Start-Transcript ( #13732 )
2020-10-09 10:43:31 -07:00
Thomas Nieto
5aca8637ae
Add Get-ExperimentalFeature
OutputType
attribute ( #13738 )
2020-10-08 13:32:19 -07:00
Steve Lee
16cc9aaaf8
Fix blocking wait when starting file associated with a Windows application ( #13750 )
...
* Fix blocking wait when starting file associated with a Windows application in elevated process
* refactor check if app is WindowsApp
2020-10-07 12:58:24 +05:00
dependabot-preview[bot]
c3b29cf0e7
Bump NJsonSchema from 10.2.1 to 10.2.2 ( #13751 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-06 12:28:04 -07:00
dependabot-preview[bot]
f2a37164bf
Bump Markdig.Signed from 0.21.1 to 0.22.0 ( #13741 )
...
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig ) from 0.21.1 to 0.22.0.
- [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.21.1...0.22.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-10-06 14:43:05 +05:00
Steve Lee
fc8ca61b3d
Revert "Change PSNativePSPathResolution
to not be Experimental" ( #13734 )
...
* Revert "Change `PSNativePSPathResolution` to not be Experimental (#13522 )"
This reverts commit 74c743d279
.
2020-10-03 21:20:24 +05:00
dependabot-preview[bot]
badb4c3fb1
Bump NJsonSchema from 10.1.26 to 10.2.1 ( #13722 )
...
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema ) from 10.1.26 to 10.2.1.
- [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>
2020-10-02 09:52:41 -07:00
Steve Lee
9bf512ff5d
Emit warning if ConvertTo-Json
exceeds -Depth
value ( #13692 )
2020-09-28 21:22:40 +05:00
Steve Lee
36ba1092a8
Fix case where exception message contains "`n" on Windows ( #13684 )
2020-09-24 23:43:33 +05:00
dependabot-preview[bot]
f6dc3dda90
Bump PowerShellGet
from 2.2.4 to 2.2.5 ( #13683 )
2020-09-24 11:38:46 -07:00
dependabot-preview[bot]
13d4dd86b5
Bump Microsoft.ApplicationInsights
from 2.14.0 to 2.15.0 ( #13639 )
2020-09-24 10:21:22 -07:00
Dongbo Wang
10237bdeb3
Update PowerShell to build against dotnet 5.0-RC.1 ( #13643 )
2020-09-23 14:04:01 -07:00
David Reis
3effa20410
Recognize CONOUT$ and CONIN$ as reserved device names ( #13508 )
2020-09-14 11:10:12 -07:00
Steve Lee
d25d964d57
Fix ConciseView for interactive advanced function writing error ( #13623 )
2020-09-14 11:07:37 -07:00
Fredrik Nilsson
f9a1ab1164
Fixed the indentation of the help content for -nologo
( #13557 )
2020-09-08 21:29:01 -07:00
Dongbo Wang
47f3beafcd
Merge branch 'master' into preview.7
2020-09-08 16:27:29 -07:00
Dongbo Wang
ad88bd60fc
Make a couple of fixes to ComInterop
code as suggested by .NET team ( #13533 )
2020-09-08 09:19:13 -07:00
dependabot-preview[bot]
1c56a2839a
Bump NJsonSchema from 10.1.24 to 10.1.26 ( #13586 )
...
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema ) from 10.1.24 to 10.1.26.
- [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>
2020-09-07 08:21:39 +05:00
xtqqczze
88e706f3d7
Autofix RCS1068: Simplify logical negation ( #13555 )
2020-09-04 08:40:05 +05:00
Robert Holt
368c8ff3c3
Merged PR 12555: Update .NET version to 5.0.0-preview.8.20407.11
...
Update .NET version to 5.0.0-preview.8.20407.11
2020-09-03 18:58:21 +00:00
Aditya Patwardhan
3beeea49af
Revert "Add the parameter -Paged
to Get-Help
to support paging ( #13374 )" ( #13519 )
...
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-09-02 15:00:19 -07:00
Ilya
81d5a86747
Add support for Tls 1.3 in Web cmdlets ( #13409 )
2020-09-02 10:18:15 -07:00
xtqqczze
152456d7a0
Add single blank line after copyright header ( #13486 )
2020-09-02 08:15:16 +05:00
xtqqczze
859890374a
Use read-only auto-implemented properties ( #13507 )
...
* Autofix RCS1170: Use read-only auto-implemented property
2020-09-02 08:11:16 +05:00
xtqqczze
4e21101ba5
Use boolean instead of bitwise operators on bools ( #13506 )
...
* Autofix RCS1233: Use short-circuiting operator
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1233.md
2020-09-02 08:07:49 +05:00
Tamás Vajk
0f02fd7f1d
Fix erroneous assert ( #13495 )
2020-09-01 09:47:26 +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