Skip to content

Commit 3eab64e

Browse files
authored
Release 4.6.0 (#1220)
1 parent 7eb8e16 commit 3eab64e

5 files changed

+36
-4
lines changed

ChangeLog.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.6.0] - 2023-10-18
11+
1012
### Added
1113

1214
- Add social card ([#1212](https://github.com/dotnet/roslynator/pull/1212)).

src/Analyzers/CSharp/Analysis/OptimizeLinqMethodCallAnalysis.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -908,13 +908,13 @@ public static ImmutableDictionary<string, string> GetSumCountOrLength(string pro
908908
public static ImmutableDictionary<string, string> Sum_Count { get; } = ImmutableDictionary.CreateRange(new[]
909909
{
910910
new KeyValuePair<string, string>("PropertyName", "Count"),
911-
new KeyValuePair<string, string>("MethodName", "Sum")
911+
new KeyValuePair<string, string>("MethodName", "Sum"),
912912
});
913913

914914
public static ImmutableDictionary<string, string> Sum_Length { get; } = ImmutableDictionary.CreateRange(new[]
915915
{
916916
new KeyValuePair<string, string>("PropertyName", "Length"),
917-
new KeyValuePair<string, string>("MethodName", "Sum")
917+
new KeyValuePair<string, string>("MethodName", "Sum"),
918918
});
919919
}
920920
}

src/Analyzers/CSharp/Analysis/RemovePartialModifierFromTypeWithSinglePartAnalyzer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public sealed class RemovePartialModifierFromTypeWithSinglePartAnalyzer : BaseDi
1818
// ASP.NET Core
1919
MetadataName.Parse("Microsoft.AspNetCore.Components.ComponentBase"),
2020
// WPF
21-
MetadataName.Parse("System.Windows.FrameworkElement")
21+
MetadataName.Parse("System.Windows.FrameworkElement"),
2222
};
2323

2424
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics

src/Analyzers/CSharp/Analysis/RequiredConfigOptionNotSetAnalyzer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal sealed class RequiredConfigOptionNotSetAnalyzer : AbstractRequiredConfi
1717
{
1818
ConfigOptions.BodyStyle,
1919
ConfigOptions.UseBlockBodyWhenDeclarationSpansOverMultipleLines,
20-
ConfigOptions.UseBlockBodyWhenExpressionSpansOverMultipleLines
20+
ConfigOptions.UseBlockBodyWhenExpressionSpansOverMultipleLines,
2121
};
2222

2323
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics

src/VisualStudioCode/package/CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.6.0] - 2023-10-18
11+
12+
### Added
13+
14+
- Add social card ([#1212](https://github.com/dotnet/roslynator/pull/1212)).
15+
- Add nullable annotation to public API ([#1198](https://github.com/JosefPihrt/Roslynator/pull/1198)).
16+
- Add refactoring "Remove directive (including content)" ([#1224](https://github.com/dotnet/roslynator/pull/1224)).
17+
18+
### Changed
19+
20+
- Update logo ([#1208](https://github.com/dotnet/roslynator/pull/1208), [#1210](https://github.com/dotnet/roslynator/pull/1210)).
21+
- Migrate to .NET Foundation ([#1206](https://github.com/dotnet/roslynator/pull/1206), [#1207](https://github.com/dotnet/roslynator/pull/1207), [#1219](https://github.com/dotnet/roslynator/pull/1219)).
22+
- Bump Roslyn to 4.7.0 ([#1218](https://github.com/dotnet/roslynator/pull/1218)).
23+
- Applies to CLI and testing library.
24+
- Bump Microsoft.Build.Locator to 1.6.1 ([#1194](https://github.com/josefpihrt/roslynator/pull/1194))
25+
- Improve testing framework ([#1214](https://github.com/dotnet/roslynator/pull/1214))
26+
- Add methods to `DiagnosticVerifier`, `RefactoringVerifier` and `CompilerDiagnosticFixVerifier`.
27+
- Add property `DiagnosticVerifier.Descriptor` (BREAKING CHANGE).
28+
- Add property `CompilerDiagnosticFixVerifier.DiagnosticId` (BREAKING CHANGE).
29+
- Make property `DiagnosticTestData.Descriptor` obsolete.
30+
- Make property `CompilerDiagnosticFixTestData.DiagnosticId` obsolete.
31+
32+
### Fixed
33+
34+
- Fix [RCS1164](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1164) ([#1196](https://github.com/JosefPihrt/Roslynator/pull/1196)).
35+
- Fix [RCS1241](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1241) ([#1197](https://github.com/JosefPihrt/Roslynator/pull/1197)).
36+
- Fix [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) ([#1205](https://github.com/JosefPihrt/Roslynator/pull/1205)).
37+
- [CLI] Fix globbing ([#1215](https://github.com/JosefPihrt/Roslynator/pull/1215)).
38+
- [CLI] Fix generation of root file ([#1221](https://github.com/JosefPihrt/Roslynator/pull/1221)).
39+
1040
## [4.5.0] - 2023-08-27
1141

1242
### Added

0 commit comments

Comments
 (0)