Commit graph

8433 commits

Author SHA1 Message Date
Dongbo Wang
1b096de792
Update README and metadata.json for 7.2.0-preview.1 release (#14104) 2020-11-18 15:48:19 -08:00
xtqqczze
44a701fb51
Add StyleCop.Analyzers package (#13963)
* Add StyleCop.Analyzers with all rules disabled

* Downgrade to 1.2.0-beta.205

* Enable SA1518: Use line endings correctly at end of file

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md
2020-11-18 23:13:09 +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
xtqqczze
e7232b89c9
Fix PriorityAttribute name (#14094)
Fix regression after #13496
2020-11-15 16:31:50 +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
Robert Holt
c7781d157e
Reinstate Test-Connection tests (#13324) 2020-11-13 17:05:09 -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
Travis Plunk
d7ecf45e8d
Move windows package signing to use ESRP (#14060) 2020-11-13 14:16:06 -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
774d7d7891
Enable CA2207: Initialize value type static fields inline (#14068)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2207
2020-11-13 08:53:39 +05:00
dependabot-preview[bot]
f2139dfa3b
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0 (#14020)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.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-13 08:50:33 +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
Steve Lee
e771ea20ec
Fix links to LTS versions for Windows (#14070) 2020-11-12 14:19:39 -08:00
Aditya Patwardhan
f4ac0935c5
Remove workarounds for .NET 5 RTM builds (#14038) 2020-11-11 14:53:33 -08:00
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