Skip to content

Commit

Permalink
Change version to 1.4.58
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Sep 16, 2017
1 parent d87def0 commit 5815fcc
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 22 deletions.
12 changes: 12 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### 1.4.58 (2017-09-16)

#### Analyzers

* Remove analyzer UseCSharp6DictionaryInitializer (RCS1095)

#### Refactorings

##### New Refactorings

* UseCSharp6DictionaryInitializer (RR0191)

### 1.4.57 (2017-09-06)

#### Refactorings
Expand Down
2 changes: 1 addition & 1 deletion docs/analyzers/RCS1095.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RCS1095: Use C\# 6\.0 dictionary initializer
# [deprecated] RCS1095: Use C\# 6\.0 dictionary initializer

Property | Value
--- | ---
Expand Down
2 changes: 1 addition & 1 deletion docs/refactorings/RR0123.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Enabled by Default | yes

### Usage

![Replace do statement with while statement](../../images/refactorings/ReplaceDoStatementWithWhileStatement.png)
![Replace do statement with while statement](../../images/refactorings/ReplaceDoWithWhile.png)

[full list of refactorings](Refactorings.md)
1 change: 1 addition & 0 deletions docs/refactorings/RR0131.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Property | Value
Id | RR0131
Title | Replace for statement with while statement
Syntax | for statement
Scope | for keyword or selected for statement
Enabled by Default | yes

### Usage
Expand Down
6 changes: 3 additions & 3 deletions docs/refactorings/RR0133.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
## Replace if-else with switch statement
## Replace if statement with switch statement

Property | Value
--- | ---
Id | RR0133
Title | Replace if\-else with switch statement
Title | Replace if statement with switch statement
Syntax | if statement
Scope | top if keyword or selected if statement
Enabled by Default | yes

### Usage

![Replace if\-else with switch statement](../../images/refactorings/ReplaceIfElseWithSwitch.png)
![Replace if statement with switch statement](../../images/refactorings/ReplaceIfWithSwitch.png)

[full list of refactorings](Refactorings.md)
2 changes: 1 addition & 1 deletion docs/refactorings/RR0150.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Enabled by Default | yes

### Usage

![Replace while statement with do statement](../../images/refactorings/ReplaceWhileStatementWithDoStatement.png)
![Replace while statement with do statement](../../images/refactorings/ReplaceWhileWithDo.png)

[full list of refactorings](Refactorings.md)
1 change: 1 addition & 0 deletions docs/refactorings/RR0151.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Property | Value
Id | RR0151
Title | Replace while statement with for statement
Syntax | while statement
Scope | while keyword or selected statement\(s\)
Enabled by Default | yes

### Usage
Expand Down
14 changes: 14 additions & 0 deletions docs/refactorings/RR0191.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Use C# 6.0 dictionary initializer

Property | Value
--- | ---
Id | RR0191
Title | Use C\# 6\.0 dictionary initializer
Syntax | collection initializer
Enabled by Default | yes

### Usage

![Use C\# 6\.0 dictionary initializer](../../images/refactorings/UseCSharp6DictionaryInitializer.png)

[full list of refactorings](Refactorings.md)
1 change: 0 additions & 1 deletion source/Analyzers/AnalyzersByCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ Usage|[Avoid NullReferenceException](../../docs/analyzers/RCS1202.md)|RCS1202|x
Usage|[Call Debug\.Fail instead of Debug\.Assert](../../docs/analyzers/RCS1178.md)|RCS1178|x
Usage|[Call 'Enumerable\.ThenBy' instead of 'Enumerable\.OrderBy'](../../docs/analyzers/RCS1200.md)|RCS1200|x
Usage|[Unconstrained type parameter checked for null](../../docs/analyzers/RCS1165.md)|RCS1165|x
Usage|[Use C\# 6\.0 dictionary initializer](../../docs/analyzers/RCS1095.md)|RCS1095|x
Usage|[Use conditional access instead of conditional expression](../../docs/analyzers/RCS1206.md)|RCS1206|x
Usage|[Use conditional access](../../docs/analyzers/RCS1146.md)|RCS1146|x
Usage|[Use EventArgs\.Empty](../../docs/analyzers/RCS1204.md)|RCS1204|x
Expand Down
2 changes: 1 addition & 1 deletion source/Analyzers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
1 change: 0 additions & 1 deletion source/Analyzers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ RCS1091|[Remove empty region](../../docs/analyzers/RCS1091.md)|Redundancy|x
RCS1092|[Add empty line after last statement in do statement](../../docs/analyzers/RCS1092.md)|Formatting|
RCS1093|[Remove file with no code](../../docs/analyzers/RCS1093.md)|Redundancy|x
RCS1094|[Declare using directive on top level](../../docs/analyzers/RCS1094.md)|Readability|
RCS1095|[Use C\# 6\.0 dictionary initializer](../../docs/analyzers/RCS1095.md)|Usage|x
RCS1096|[Use bitwise operation instead of calling 'HasFlag'](../../docs/analyzers/RCS1096.md)|Performance|x
RCS1097|[Remove redundant 'ToString' call](../../docs/analyzers/RCS1097.md)|Redundancy|x
RCS1098|[Avoid 'null' on the left side of a binary expression](../../docs/analyzers/RCS1098.md)|Readability|x
Expand Down
2 changes: 1 addition & 1 deletion source/CodeFixes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 1 addition & 1 deletion source/Common/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 1 addition & 1 deletion source/Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
7 changes: 4 additions & 3 deletions source/DefaultConfigFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<Refactoring Id="RR0119" IsEnabled="true" /> <!-- ReplaceConditionalExpressionWithExpression -->
<Refactoring Id="RR0120" IsEnabled="true" /> <!-- UseIfElseInsteadOfConditionalExpression -->
<Refactoring Id="RR0121" IsEnabled="true" /> <!-- ReplaceConstantWithField -->
<Refactoring Id="RR0123" IsEnabled="true" /> <!-- ReplaceDoStatementWithWhileStatement -->
<Refactoring Id="RR0123" IsEnabled="true" /> <!-- ReplaceDoWithWhile -->
<Refactoring Id="RR0124" IsEnabled="true" /> <!-- ReplaceEqualsExpressionWithStringEquals -->
<Refactoring Id="RR0125" IsEnabled="true" /> <!-- ReplaceEqualsExpressionWithStringIsNullOrEmpty -->
<Refactoring Id="RR0126" IsEnabled="true" /> <!-- ReplaceEqualsExpressionWithStringIsNullOrWhiteSpace -->
Expand All @@ -132,7 +132,7 @@
<Refactoring Id="RR0130" IsEnabled="true" /> <!-- ReplaceForWithForEach -->
<Refactoring Id="RR0131" IsEnabled="true" /> <!-- ReplaceForWithWhile -->
<Refactoring Id="RR0132" IsEnabled="true" /> <!-- ReplaceHexadecimalLiteralWithDecimalLiteral -->
<Refactoring Id="RR0133" IsEnabled="true" /> <!-- ReplaceIfElseWithSwitch -->
<Refactoring Id="RR0133" IsEnabled="true" /> <!-- ReplaceIfWithSwitch -->
<Refactoring Id="RR0134" IsEnabled="true" /> <!-- ReplaceIncrementOperatorWithDecrementOperator -->
<Refactoring Id="RR0135" IsEnabled="true" /> <!-- ReplaceInterpolatedStringWithInterpolationExpression -->
<Refactoring Id="RR0136" IsEnabled="true" /> <!-- ReplaceInterpolatedStringWithStringLiteral -->
Expand All @@ -148,7 +148,7 @@
<Refactoring Id="RR0147" IsEnabled="true" /> <!-- ReplaceSwitchWithIfElse -->
<Refactoring Id="RR0148" IsEnabled="true" /> <!-- ReplaceVerbatimStringLiteralWithRegularStringLiteral -->
<Refactoring Id="RR0149" IsEnabled="true" /> <!-- ReplaceVerbatimStringLiteralWithRegularStringLiterals -->
<Refactoring Id="RR0150" IsEnabled="true" /> <!-- ReplaceWhileStatementWithDoStatement -->
<Refactoring Id="RR0150" IsEnabled="true" /> <!-- ReplaceWhileWithDo -->
<Refactoring Id="RR0151" IsEnabled="true" /> <!-- ReplaceWhileWithFor -->
<Refactoring Id="RR0152" IsEnabled="true" /> <!-- ReverseForLoop -->
<Refactoring Id="RR0153" IsEnabled="true" /> <!-- SimplifyIf -->
Expand Down Expand Up @@ -189,6 +189,7 @@
<Refactoring Id="RR0188" IsEnabled="false" /> <!-- ReplaceForEachWithForAndReverseLoop -->
<Refactoring Id="RR0189" IsEnabled="true" /> <!-- ReduceIfNesting -->
<Refactoring Id="RR0190" IsEnabled="true" /> <!-- ReplaceIfElseWithIfReturn -->
<Refactoring Id="RR0191" IsEnabled="true" /> <!-- UseCSharp6DictionaryInitializer -->
</Refactorings>
<CodeFixes>
<CodeFix Id="RCF0001" IsEnabled="true" /> <!-- RemoveUnusedVariable (fixes CS0168, CS0219) -->
Expand Down
2 changes: 1 addition & 1 deletion source/Refactorings/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
3 changes: 2 additions & 1 deletion source/Refactorings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ RR0131|[Replace for statement with while statement](../../docs/refactorings/RR01
RR0129|[Replace foreach statement with for statement](../../docs/refactorings/RR0129.md)|x
RR0188|[Replace foreach with for and reverse loop](../../docs/refactorings/RR0188.md)|
RR0132|[Replace hexadecimal literal with decimal literal](../../docs/refactorings/RR0132.md)|x
RR0133|[Replace if statement with switch statement](../../docs/refactorings/RR0133.md)|x
RR0190|[Replace if\-else with if\-return](../../docs/refactorings/RR0190.md)|x
RR0133|[Replace if\-else with switch statement](../../docs/refactorings/RR0133.md)|x
RR0134|[Replace increment operator with decrement operator](../../docs/refactorings/RR0134.md)|x
RR0135|[Replace interpolated string with interpolation expression](../../docs/refactorings/RR0135.md)|x
RR0136|[Replace interpolated string with string literal](../../docs/refactorings/RR0136.md)|x
Expand Down Expand Up @@ -170,6 +170,7 @@ RR0162|[Swap statements in if\-else](../../docs/refactorings/RR0162.md)|x
RR0163|[Uncomment](../../docs/refactorings/RR0163.md)|x
RR0168|[Use "" instead of string\.Empty](../../docs/refactorings/RR0168.md)|x
RR0164|[Use bitwise operation instead of calling 'HasFlag'](../../docs/refactorings/RR0164.md)|x
RR0191|[Use C\# 6\.0 dictionary initializer](../../docs/refactorings/RR0191.md)|x
RR0165|[Use coalesce expression instead of if](../../docs/refactorings/RR0165.md)|x
RR0166|[Use conditional expression instead of if](../../docs/refactorings/RR0166.md)|x
RR0128|[Use constant instead of field](../../docs/refactorings/RR0128.md)|x
Expand Down
2 changes: 1 addition & 1 deletion source/VisualStudio.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="0117e993-633f-47ea-be07-c0620e5a6788" Version="1.4.57" Language="en-US" Publisher="Josef Pihrt" />
<Identity Id="0117e993-633f-47ea-be07-c0620e5a6788" Version="1.4.58" Language="en-US" Publisher="Josef Pihrt" />
<DisplayName>Roslynator Refactorings 2017</DisplayName>
<Description xml:space="preserve">A collection of 180+ refactorings for C#, powered by Roslyn.</Description>
<MoreInfo>http://github.com/JosefPihrt/Roslynator</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/VisualStudio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.4.57")]
[assembly: AssemblyVersion("1.4.58")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 1 addition & 1 deletion source/VisualStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="9289a8ab-1bb6-496b-9992-9f7ea27f66a8" Version="1.4.57" Language="en-US" Publisher="Josef Pihrt"/>
<Identity Id="9289a8ab-1bb6-496b-9992-9f7ea27f66a8" Version="1.4.58" Language="en-US" Publisher="Josef Pihrt"/>
<DisplayName>Roslynator 2017</DisplayName>
<Description xml:space="preserve">A collection of 190+ analyzers and 180+ refactorings for C#, powered by Roslyn.</Description>
<MoreInfo>http://github.com/JosefPihrt/Roslynator</MoreInfo>
Expand Down

0 comments on commit 5815fcc

Please sign in to comment.