Skip to content

Commit

Permalink
Change version to 1.6.30
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Jan 19, 2018
1 parent 34a4f8a commit 83aa59b
Show file tree
Hide file tree
Showing 20 changed files with 104 additions and 22 deletions.
19 changes: 19 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### 1.6.30 (2018-01-19)

* Add support for 'private protected' accessibility.

#### Analyzers

* Do not report unused parameter (RCS1163) when parameter name consists of underscore(s).

#### Refactorings

* Add refactoring [InlineProperty](http://github.com/JosefPihrt/Roslynator/blob/master/docs/refactorings/RR0198.md) (RR0198).
* Add refactoring [RemoveEnumMemberValue](http://github.com/JosefPihrt/Roslynator/blob/master/docs/refactorings/RR0199.md) (RR0199).
* Remove, duplicate or comment out local function.
* Change accessibility for selected members.

#### Code Fixes

* Add code fix for CS0029, CS0133, CS0201, CS0501, CS0527.

### 1.6.20 (2018-01-03)

#### Analyzers
Expand Down
12 changes: 6 additions & 6 deletions docs/refactorings/RR0062.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Inline method

| Property | Value |
| ------------------ | ---------------------------------- |
| Id | RR0062 |
| Title | Inline method |
| Syntax | static/extension method invocation |
| Enabled by Default | ✓ |
| Property | Value |
| ------------------ | ----------------- |
| Id | RR0062 |
| Title | Inline method |
| Syntax | method invocation |
| Enabled by Default | ✓ |

### Usage

Expand Down
14 changes: 14 additions & 0 deletions docs/refactorings/RR0198.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Inline property

| Property | Value |
| ------------------ | --------------- |
| Id | RR0198 |
| Title | Inline property |
| Syntax | property access |
| Enabled by Default | ✓ |

### Usage

![Inline property](../../images/refactorings/InlineProperty.png)

[full list of refactorings](Refactorings.md)
34 changes: 34 additions & 0 deletions docs/refactorings/RR0199.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Remove enum member value\(s\)

| Property | Value |
| ------------------ | ----------------------------- |
| Id | RR0199 |
| Title | Remove enum member value\(s\) |
| Syntax | selected enum member\(s\) |
| Enabled by Default | ✓ |

### Usage

#### Before

```csharp
public enum Foo
{
One = 1,
Two = 2,
Three = 3
}
```

#### After

```csharp
public enum Foo
{
One,
Two,
Three
}
```

[full list of refactorings](Refactorings.md)
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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 1 addition & 1 deletion source/Analyzers/Roslynator.Analyzers.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Roslynator.Analyzers</id>
<version>1.6.0</version>
<version>1.7.0-rc</version>
<authors>Josef Pihrt</authors>
<owners>Josef Pihrt</owners>
<licenseUrl>http://github.com/JosefPihrt/Roslynator/blob/master/LICENSE.txt</licenseUrl>
Expand Down
9 changes: 5 additions & 4 deletions source/CodeFixes/CodeFixesByDiagnosticId.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| [CS0019](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0019) | RCF0023 |
| [CS0021](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0021) | RCF0077 |
| [CS0023](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0023) | RCF0039, RCF0089 |
| [CS0029](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0029) | RCF0021, RCF0022, RCF0080, RCF0090, RCF0092 |
| [CS0029](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0029) | RCF0021, RCF0022, RCF0080, RCF0090, RCF0092, RCF0096 |
| [CS0030](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0030) | RCF0091, RCF0092 |
| [CS0037](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0037) | RCF0058 |
| [CS0069](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0069) | RCF0032 |
Expand All @@ -25,7 +25,7 @@
| [CS0127](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0127) | RCF0052, RCF0057, RCF0080 |
| [CS0128](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0128) | RCF0059 |
| [CS0132](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0132) | RCF0053 |
| [CS0133](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0133) | RCF0045 |
| [CS0133](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0133) | RCF0045, RCF0094 |
| [CS0136](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0136) | RCF0059 |
| [CS0139](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0139) | RCF0072, RCF0079 |
| [CS0161](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0161) | RCF0020 |
Expand All @@ -37,7 +37,7 @@
| [CS0173](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0173) | RCF0063 |
| [CS0177](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0177) | RCF0067 |
| [CS0192](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0192) | RCF0027, RCF0070 |
| [CS0201](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0201) | RCF0039, RCF0047, RCF0076, RCF0080, RCF0087 |
| [CS0201](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0201) | RCF0039, RCF0047, RCF0076, RCF0080, RCF0087, RCF0097 |
| [CS0214](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0214) | RCF0050, RCF0051 |
| [CS0216](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0216) | RCF0082 |
| [CS0219](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0219) | RCF0001 |
Expand All @@ -64,11 +64,12 @@
| [CS0451](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0451) | RCF0065 |
| [CS0472](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0472) | RCF0075 |
| [CS0500](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0500) | RCF0032 |
| [CS0501](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0501) | RCF0026 |
| [CS0501](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0501) | RCF0026, RCF0098 |
| [CS0507](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0507) | RCF0029 |
| [CS0508](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0508) | RCF0018 |
| [CS0513](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0513) | RCF0034 |
| [CS0515](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0515) | RCF0055 |
| [CS0527](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0527) | RCF0095 |
| [CS0531](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0531) | RCF0032 |
| [CS0541](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0541) | RCF0056 |
| [CS0558](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0558) | RCF0010 |
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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
5 changes: 5 additions & 0 deletions source/CodeFixes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| RCF0023 | Add comparison with boolean literal | [CS0019](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0019), [CS0266](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0266) | &#x2713; |
| RCF0016 | Add documentation comment | [CS1591](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1591) | &#x2713; |
| RCF0086 | Add missing type | [CS1031](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1031) | &#x2713; |
| RCF0098 | Add modifier 'abstract' | [CS0501](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0501) | &#x2713; |
| RCF0007 | Add 'new' modifier | [CS0114](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0114) | &#x2713; |
| RCF0004 | Add 'out' modifier to argument | [CS1620](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1620) | &#x2713; |
| RCF0006 | Add 'override' modifier | [CS0114](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0114) | &#x2713; |
Expand Down Expand Up @@ -80,11 +81,15 @@
| RCF0054 | Reorder modifiers | [CS0267](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0267) | &#x2713; |
| RCF0074 | Replace as expression with cast expression | [CS0077](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0077) | &#x2713; |
| RCF0079 | Replace 'break' with 'continue' | [CS0139](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0139) | &#x2713; |
| RCF0097 | Replace comparison with assignment | [CS0201](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0201) | &#x2713; |
| RCF0087 | Replace conditional expression with if\-else | [CS0201](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0201) | &#x2713; |
| RCF0094 | Replace constant with field | [CS0133](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0133) | &#x2713; |
| RCF0077 | Replace element access with invocation | [CS0021](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0021) | &#x2713; |
| RCF0058 | Replace 'null' with default value | [CS0037](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0037), [CS0403](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0403), [CS1503](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1503), CS1750 | &#x2713; |
| RCF0022 | Replace string literal with character literal | [CS0029](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0029) | &#x2713; |
| RCF0095 | Replace struct with class | [CS0527](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0527) | &#x2713; |
| RCF0059 | Replace variable declaration with assignment | [CS0128](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0128), [CS0136](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0136) | &#x2713; |
| RCF0096 | Replace yield return with foreach | [CS0029](http://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0029) | &#x2713; |
| RCF0081 | Return default value | [CS0126](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0126) | &#x2713; |
| RCF0036 | SynchronizeAccessibility | [CS0262](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0262) | &#x2713; |
| RCF0017 | Unreachable code detected | [CS0162](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0162) | &#x2713; |
Expand Down
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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[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 @@ -83,6 +83,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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
7 changes: 7 additions & 0 deletions source/DefaultConfigFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@
<Refactoring Id="RR0195" IsEnabled="true" /> <!-- AddMemberToInterface -->
<Refactoring Id="RR0196" IsEnabled="true" /> <!-- MergeIfWithParentIf -->
<Refactoring Id="RR0197" IsEnabled="true" /> <!-- InitializeFieldFromConstructor -->
<Refactoring Id="RR0198" IsEnabled="true" /> <!-- InlineProperty -->
<Refactoring Id="RR0199" IsEnabled="true" /> <!-- RemoveEnumMemberValue -->
</Refactorings>
<CodeFixes>
<CodeFix Id="RCF0001" IsEnabled="true" /> <!-- RemoveUnusedVariable (fixes CS0168, CS0219) -->
Expand Down Expand Up @@ -289,6 +291,11 @@
<CodeFix Id="RCF0091" IsEnabled="true" /> <!-- ChangeForEachType (fixes CS0030) -->
<CodeFix Id="RCF0092" IsEnabled="true" /> <!-- ChangeTypeToVar (fixes CS0029, CS0030) -->
<CodeFix Id="RCF0093" IsEnabled="true" /> <!-- RemoveDefaultValueFromParameter (fixes CS1751) -->
<CodeFix Id="RCF0094" IsEnabled="true" /> <!-- ReplaceConstantWithField (fixes CS0133) -->
<CodeFix Id="RCF0095" IsEnabled="true" /> <!-- ReplaceStructWithClass (fixes CS0527) -->
<CodeFix Id="RCF0096" IsEnabled="true" /> <!-- ReplaceYieldReturnWithForEach (fixes CS0029) -->
<CodeFix Id="RCF0097" IsEnabled="true" /> <!-- ReplaceComparisonWithAssignment (fixes CS0201) -->
<CodeFix Id="RCF0098" IsEnabled="true" /> <!-- AddModifierAbstract (fixes CS0501) -->
</CodeFixes>
</Settings>
</Roslynator>
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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 2 additions & 0 deletions source/Refactorings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
| RR0061 | [Inline alias expression](../../docs/refactorings/RR0061.md) | &#x2713; |
| RR0181 | [Inline constant](../../docs/refactorings/RR0181.md) | &#x2713; |
| RR0062 | [Inline method](../../docs/refactorings/RR0062.md) | &#x2713; |
| RR0198 | [Inline property](../../docs/refactorings/RR0198.md) | &#x2713; |
| RR0180 | [Inline using static](../../docs/refactorings/RR0180.md) | &#x2713; |
| RR0063 | [Insert string interpolation](../../docs/refactorings/RR0063.md) | &#x2713; |
| RR0064 | [Introduce and initialize field](../../docs/refactorings/RR0064.md) | &#x2713; |
Expand Down Expand Up @@ -106,6 +107,7 @@
| RR0099 | [Remove condition from last else clause](../../docs/refactorings/RR0099.md) | &#x2713; |
| RR0100 | [Remove directive and related directives](../../docs/refactorings/RR0100.md) | &#x2713; |
| RR0101 | [Remove empty lines](../../docs/refactorings/RR0101.md) | &#x2713; |
| RR0199 | [Remove enum member value(s)](../../docs/refactorings/RR0199.md) | &#x2713; |
| RR0102 | [Remove interpolation](../../docs/refactorings/RR0102.md) | &#x2713; |
| RR0103 | [Remove member](../../docs/refactorings/RR0103.md) | &#x2713; |
| RR0104 | [Remove member declarations above/below](../../docs/refactorings/RR0104.md) | &#x2713; |
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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[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.6.20" Language="en-US" Publisher="Josef Pihrt" />
<Identity Id="0117e993-633f-47ea-be07-c0620e5a6788" Version="1.6.30" Language="en-US" Publisher="Josef Pihrt" />
<DisplayName>Roslynator Refactorings 2017</DisplayName>
<Description xml:space="preserve">A collection of 190+ 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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[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.6.20" Language="en-US" Publisher="Josef Pihrt"/>
<Identity Id="9289a8ab-1bb6-496b-9992-9f7ea27f66a8" Version="1.6.30" Language="en-US" Publisher="Josef Pihrt"/>
<DisplayName>Roslynator 2017</DisplayName>
<Description xml:space="preserve">A collection of 190+ analyzers and 190+ refactorings for C#, powered by Roslyn.</Description>
<MoreInfo>http://github.com/JosefPihrt/Roslynator</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/Workspaces/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.6.20")]
[assembly: AssemblyVersion("1.6.30")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]

0 comments on commit 83aa59b

Please sign in to comment.