Travis Plunk
5fd45eaa38
Migrate 3rd party signing to ESRP ( #14010 )
...
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2020-11-11 12:09:55 -08:00
Travis Plunk
52e2b58d7f
Fixes to release pipeline for GA release ( #14034 )
2020-11-11 12:04:54 -08:00
Aditya Patwardhan
a22e7ec2f3
Update README and metadata json for upcoming release ( #14026 )
2020-11-11 12:03:18 -08:00
Travis Plunk
f92ea62d12
Update the Change Log for v7.1.0
release ( #14035 )
2020-11-11 10:48:41 -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
bac51217d6
Enable CA1829: Use Length/Count property instead of Count() ( #13925 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829
2020-11-11 11:55:39 +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
Travis Plunk
654846ece5
Don't do a shallow checkout ( #13992 )
2020-11-06 13:55:39 -08:00
Anam Navied
a16f3eb204
Add validation and dependencies for Ubuntu 20.04
distribution to packaging script ( #13993 )
2020-11-05 18:14:12 -08:00
Aditya Patwardhan
40549c3585
Add .NET install workaround for RTM ( #13991 )
2020-11-05 16:34:51 -08:00
Travis Plunk
05f274898d
Move to ESRP signing for Windows files ( #13988 )
...
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-11-05 13:28:40 -08: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
91e49d42d4
Enable CA10XX rules with suggestion severity ( #13870 )
...
CA1016: Mark assemblies with assembly version
CA1018: Mark attributes with AttributeUsageAttribute
CA1041: Provide ObsoleteAttribute message
CA1047: Do not declare protected member in sealed type
CA1061: Do not hide base class methods
CA1070: Do not declare event fields as virtual
2020-11-05 09:05:41 +05:00
xtqqczze
679a3a6bff
Enable CA20XX rules with suggestion severity ( #13928 )
...
* CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
* CA2011: Avoid infinite recursion
* CA2012: Use ValueTasks correctly
2020-11-05 08:52:14 +05:00
xtqqczze
07887993b8
Enable IDE0064: MakeStructFieldsWritable ( #13945 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0064
2020-11-05 08:46:17 +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
1c99dcb47b
Enable CA18XX rules with suggestion severity ( #13924 )
2020-11-04 18:59:13 -08: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