Skip to content

Commit

Permalink
Release 4.11.0 (#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Feb 19, 2024
1 parent ce1aacd commit c3a919d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.11.0] - 2024-02-19

### Added

- Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://github.com/dotnet/roslynator/pull/1375))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static class RefactoringDescriptors
public static RefactoringDescriptor ExpandPositionalConstructor = new RefactoringDescriptor("RR0215", "roslynator_refactoring.expand_positional_constructor.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor ExtractEventHandlerMethod = new RefactoringDescriptor("RR0203", "roslynator_refactoring.extract_event_handler_method.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor ExtractExpressionFromCondition = new RefactoringDescriptor("RR0043", "roslynator_refactoring.extract_expression_from_condition.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor ExtractTypeDeclarationToNewFile = new RefactoringDescriptor("RR0046", "roslynator_refactoring.extract_type_declaration_to_new_file.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor ExtractTypeDeclarationToNewFile = new RefactoringDescriptor("RR0046", "roslynator_refactoring.extract_type_declaration_to_new_file.enabled", isEnabledByDefault: false);
public static RefactoringDescriptor GenerateBaseConstructors = new RefactoringDescriptor("RR0054", "roslynator_refactoring.generate_base_constructors.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor GenerateCombinedEnumMember = new RefactoringDescriptor("RR0055", "roslynator_refactoring.generate_combined_enum_member.enabled", isEnabledByDefault: true);
public static RefactoringDescriptor GenerateEnumMember = new RefactoringDescriptor("RR0056", "roslynator_refactoring.generate_enum_member.enabled", isEnabledByDefault: true);
Expand Down
19 changes: 19 additions & 0 deletions src/VisualStudioCode/package/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.11.0] - 2024-02-19

### Added

- Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://github.com/dotnet/roslynator/pull/1375))
- 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))
- Simplify LINQ query [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/1077) ([PR](https://github.com/dotnet/roslynator/pull/1384))
- `items.Select(selector).Average()` => `items.Average(selector)`
- `items.Select(selector).Sum()` => `items.Sum(selector)`

### Fixed

- Fix analyzer [RCS0049](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049) ([PR](https://github.com/dotnet/roslynator/pull/1386))
- Fix analyzer [RCS1159](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159) ([PR](https://github.com/dotnet/roslynator/pull/1390))
- Fix analyzer [RCS1019](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019) ([PR](https://github.com/dotnet/roslynator/pull/1402))
- 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))
- 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)
- Fix Roslyn multi-targeting ([PR](https://github.com/dotnet/roslynator/pull/1407))

## [4.10.0] - 2024-01-24

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ roslynator_analyzers.enabled_by_default = true|false
#roslynator_refactoring.expand_positional_constructor.enabled = true
#roslynator_refactoring.extract_event_handler_method.enabled = true
#roslynator_refactoring.extract_expression_from_condition.enabled = true
#roslynator_refactoring.extract_type_declaration_to_new_file.enabled = true
#roslynator_refactoring.extract_type_declaration_to_new_file.enabled = false
#roslynator_refactoring.generate_base_constructors.enabled = true
#roslynator_refactoring.generate_combined_enum_member.enabled = true
#roslynator_refactoring.generate_enum_member.enabled = true
Expand Down

0 comments on commit c3a919d

Please sign in to comment.