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
xtqqczze
25a769d75d
Fix IDE0044: MakeFieldReadonly part 8 ( #13891 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-02 12:24:43 +05:00
xtqqczze
d9187e07e1
Fix IDE0044: MakeFieldReadonly part 4 ( #13887 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-11-02 12:22:18 +05:00
xtqqczze
329d6b43d2
Add IDE analyzer rule IDs to comments ( #13960 )
2020-11-02 11:54:05 +05:00
xtqqczze
4b9f9dc457
Enable CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder ( #13926 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830
2020-11-02 08:46:40 +05:00
xtqqczze
fc15daaccb
Enable IDE0036: OrderModifiers ( #13958 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0036
2020-11-02 08:27:23 +05:00
xtqqczze
ea4cf93749
Enforce code style in build ( #13957 )
...
* Enable EnforceCodeStyleInBuild
* Disable rules breaking build
2020-11-01 12:33:18 +05:00
Marcos Ramos
fbca9141ec
Fix nullable usage on authenticode ( #13791 ) ( #13804 )
2020-10-30 14:46:16 -07:00
Pat Leong
72608fb829
Use Environment.CurrentManagedThreadId ( #13803 )
2020-10-30 12:42:17 +05:00
xtqqczze
a2a938e964
Fix IDE0044: MakeFieldReadonly part 10 ( #13893 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 12:20:06 +05:00
xtqqczze
2c1546cd47
Enable CA1836: Prefer IsEmpty over Count when available ( #13877 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836
2020-10-30 12:15:29 +05:00
xtqqczze
af8558b065
Enable CA1834: Consider using 'StringBuilder.Append(char)' when applicable ( #13878 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834
2020-10-30 12:07:18 +05:00
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
Aditya Patwardhan
7e145ef2da
Update script to use .NET RTM feeds ( #13927 )
2020-10-29 17:35:34 -07: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
83a3f532f1
Enable IDE0048: AddRequiredParentheses ( #13896 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047-ide0048
2020-10-29 15:55:32 +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
432dd56ea8
Enable IDE0036: OrderModifiers ( #13881 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0036
2020-10-28 16:01:45 +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
Travis Plunk
191c00da17
Enable CodeQL Security scanning ( #13894 )
2020-10-27 10:20:15 -07:00
xtqqczze
9932560841
Enable CA1050: Declare types in namespaces ( #13872 )
2020-10-26 22:34:26 +05: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
Travis Plunk
55c2858051
Add checkout step to release build templates ( #13840 )
2020-10-23 11:42:24 -07:00
xtqqczze
ebff40244a
Turn on /features:strict
for all projects ( #13383 )
2020-10-23 11:39:06 -07: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
Dongbo Wang
d20e1217ad
Update README and metadata.json for 7.1.0-rc.2 release ( #13821 )
2020-10-21 13:24:04 -07:00
paul cheung
5b82b76755
Minor fix keyword typo in csharp comment. ( #13811 )
...
Co-authored-by: pz87 <paul.k.zhang@newegg.com>
2020-10-21 17:50:53 +05: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