Skip to content

Commit c3a919d

Browse files
authored
Release 4.11.0 (#1391)
1 parent ce1aacd commit c3a919d

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
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.11.0] - 2024-02-19
11+
1012
### Added
1113

1214
- Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://github.com/dotnet/roslynator/pull/1375))

src/Refactorings/CSharp/RefactoringDescriptors.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static class RefactoringDescriptors
7676
public static RefactoringDescriptor ExpandPositionalConstructor = new RefactoringDescriptor("RR0215", "roslynator_refactoring.expand_positional_constructor.enabled", isEnabledByDefault: true);
7777
public static RefactoringDescriptor ExtractEventHandlerMethod = new RefactoringDescriptor("RR0203", "roslynator_refactoring.extract_event_handler_method.enabled", isEnabledByDefault: true);
7878
public static RefactoringDescriptor ExtractExpressionFromCondition = new RefactoringDescriptor("RR0043", "roslynator_refactoring.extract_expression_from_condition.enabled", isEnabledByDefault: true);
79-
public static RefactoringDescriptor ExtractTypeDeclarationToNewFile = new RefactoringDescriptor("RR0046", "roslynator_refactoring.extract_type_declaration_to_new_file.enabled", isEnabledByDefault: true);
79+
public static RefactoringDescriptor ExtractTypeDeclarationToNewFile = new RefactoringDescriptor("RR0046", "roslynator_refactoring.extract_type_declaration_to_new_file.enabled", isEnabledByDefault: false);
8080
public static RefactoringDescriptor GenerateBaseConstructors = new RefactoringDescriptor("RR0054", "roslynator_refactoring.generate_base_constructors.enabled", isEnabledByDefault: true);
8181
public static RefactoringDescriptor GenerateCombinedEnumMember = new RefactoringDescriptor("RR0055", "roslynator_refactoring.generate_combined_enum_member.enabled", isEnabledByDefault: true);
8282
public static RefactoringDescriptor GenerateEnumMember = new RefactoringDescriptor("RR0056", "roslynator_refactoring.generate_enum_member.enabled", isEnabledByDefault: true);

src/VisualStudioCode/package/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.11.0] - 2024-02-19
11+
12+
### Added
13+
14+
- Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://github.com/dotnet/roslynator/pull/1375))
15+
- Add analyzer "Convert 'string.Concat' to interpolated string" [RCS1267](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267) ([PR](https://github.com/dotnet/roslynator/pull/1379))
16+
- Simplify LINQ query [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/1077) ([PR](https://github.com/dotnet/roslynator/pull/1384))
17+
- `items.Select(selector).Average()` => `items.Average(selector)`
18+
- `items.Select(selector).Sum()` => `items.Sum(selector)`
19+
20+
### Fixed
21+
22+
- Fix analyzer [RCS0049](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049) ([PR](https://github.com/dotnet/roslynator/pull/1386))
23+
- Fix analyzer [RCS1159](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159) ([PR](https://github.com/dotnet/roslynator/pull/1390))
24+
- Fix analyzer [RCS1019](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019) ([PR](https://github.com/dotnet/roslynator/pull/1402))
25+
- Fix analyzer [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) ([PR](https://github.com/dotnet/roslynator/pull/1403), [PR](https://github.com/dotnet/roslynator/pull/1404))
26+
- Fix code fix for [CS8600](https://josefpihrt.github.io/docs/roslynator/fixes/CS8600) changing the wrong type when casts or `var` are involved ([PR](https://github.com/dotnet/roslynator/pull/1393) by @jroessel)
27+
- Fix Roslyn multi-targeting ([PR](https://github.com/dotnet/roslynator/pull/1407))
28+
1029
## [4.10.0] - 2024-01-24
1130

1231
### Added

src/VisualStudioCode/package/src/configurationFiles.generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ roslynator_analyzers.enabled_by_default = true|false
10171017
#roslynator_refactoring.expand_positional_constructor.enabled = true
10181018
#roslynator_refactoring.extract_event_handler_method.enabled = true
10191019
#roslynator_refactoring.extract_expression_from_condition.enabled = true
1020-
#roslynator_refactoring.extract_type_declaration_to_new_file.enabled = true
1020+
#roslynator_refactoring.extract_type_declaration_to_new_file.enabled = false
10211021
#roslynator_refactoring.generate_base_constructors.enabled = true
10221022
#roslynator_refactoring.generate_combined_enum_member.enabled = true
10231023
#roslynator_refactoring.generate_enum_member.enabled = true

0 commit comments

Comments
 (0)