Commit graph

8476 commits

Author SHA1 Message Date
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
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