Commit Graph

8470 Commits

Author SHA1 Message Date
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
Travis Plunk
e02fce2d12
Move Linux to Esrp signing (#14210) 2020-11-23 14:50:00 -08: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
8691607143
Enable CA2216: Disposable types should declare finalizer (#14089)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2216
2020-11-21 19:48:21 +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
Travis Plunk
8cbbcb228a
Update markdown test packages with security fixes (#14145) 2020-11-20 12:27:06 -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
fa657ef86d
Enable SA1517: Code should not contain blank lines at start of file (#14131)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1517.md
2020-11-20 17:33:23 +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
567724962e
Enable CA1000: Do not declare static members on generic types (#14097) 2020-11-19 12:10:09 -08:00
Dongbo Wang
6dcc50701d
Merge the v7.2.0-preview.1 release branch to GitHub master 2020-11-19 08:40:51 -08:00
xtqqczze
d358c1c797
Enable SA1007: Operator keyword should be followed by space (#14130)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1007.md
2020-11-19 11:08:52 +05:00
Matthew J. DeGarmo
c59fcf09c3
Expanding where alias to Where-Object in Reset-PWSHSystemPath.ps1 (#14113) 2020-11-19 10:25:52 +05:00
xtqqczze
c9df1c1810
Fix whitespace issues (#14092) 2020-11-19 10:06:02 +05:00
Dongbo Wang
30a30e08be
Fix a typo in the Get-ChangeLog function (#14129) 2020-11-19 09:54:08 +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
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
Dongbo Wang
8549c4d6a2 Merged PR 13516: Update the ChangeLog for the 7.2.0-preview.1 release
Update the ChangeLog for the 7.2.0-preview.1 release
2020-11-17 22:28:05 +00: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