Skip to content

Commit

Permalink
Update metadata files.
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Mar 13, 2017
1 parent 167350f commit bd64f42
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
* RCS1082 - Use 'Count/Length' property instead of 'Count' method
* RCS1083 - Use 'Any' method instead of 'Count' method
* RCS1084 - Use coalesce expression instead of conditional expression
* RCS1085 - Use auto\-implemented property instead of expanded property
* RCS1085 - Use auto\-implemented property
* RCS1086 - Use linefeed as newline
* RCS1087 - Use carriage return \+ linefeed as newline
* RCS1088 - Use space\(s\) instead of tab
Expand Down Expand Up @@ -203,6 +203,7 @@
* RCS1172 - Use is operator instead of as operator
* RCS1173 - Use coalesce expression instead of if
* RCS1174 - Remove redundant async/await
* RCS1175 - Unused this parameter

### List of Refactorings

Expand All @@ -218,6 +219,7 @@
* [Add identifier to variable declaration](source/Refactorings/Refactorings.md#add-identifier-to-variable-declaration)
* [Add parameter name to argument](source/Refactorings/Refactorings.md#add-parameter-name-to-argument)
* [Add parameter name to parameter](source/Refactorings/Refactorings.md#add-parameter-name-to-parameter)
* [Add type parameter](source/Refactorings/Refactorings.md#add-type-parameter)
* [Add using directive](source/Refactorings/Refactorings.md#add-using-directive)
* [Add using static directive](source/Refactorings/Refactorings.md#add-using-static-directive)
* [Call 'ConfigureAwait\(false\)'](source/Refactorings/Refactorings.md#call-configureawaitfalse)
Expand Down Expand Up @@ -265,6 +267,7 @@
* [Generate enum values](source/Refactorings/Refactorings.md#generate-enum-values)
* [Generate event invoking method](source/Refactorings/Refactorings.md#generate-event-invoking-method)
* [Generate switch sections](source/Refactorings/Refactorings.md#generate-switch-sections)
* [Implement IEquatable\<T\>](source/Refactorings/Refactorings.md#implement-iequatablet)
* [Initialize local with default value](source/Refactorings/Refactorings.md#initialize-local-with-default-value)
* [Inline alias expression](source/Refactorings/Refactorings.md#inline-alias-expression)
* [Inline method](source/Refactorings/Refactorings.md#inline-method)
Expand Down
13 changes: 11 additions & 2 deletions source/Analyzers/Analyzers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -729,9 +729,9 @@
<SupportsFadeOut>false</SupportsFadeOut>
<SupportsFadeOutAnalyzer>false</SupportsFadeOutAnalyzer>
</Analyzer>
<Analyzer Identifier="UseAutoImplementedProperty" ExtensionVersion="0.9.50" NuGetVersion="0.9.50">
<Analyzer Identifier="UseAutoProperty" ExtensionVersion="0.9.50" NuGetVersion="0.9.50">
<Id>RCS1085</Id>
<Title>Use auto-implemented property instead of expanded property.</Title>
<Title>Use auto-implemented property.</Title>
<Category>Simplification</Category>
<DefaultSeverity>Info</DefaultSeverity>
<IsEnabledByDefault>true</IsEnabledByDefault>
Expand Down Expand Up @@ -1539,4 +1539,13 @@
<SupportsFadeOut>false</SupportsFadeOut>
<SupportsFadeOutAnalyzer>true</SupportsFadeOutAnalyzer>
</Analyzer>
<Analyzer Identifier="UnusedThisParameter" ExtensionVersion="0.0.0" NuGetVersion="0.0.0">
<Id>RCS1175</Id>
<Title>Unused this parameter.</Title>
<Category>Redundancy</Category>
<DefaultSeverity>Info</DefaultSeverity>
<IsEnabledByDefault>true</IsEnabledByDefault>
<SupportsFadeOut>true</SupportsFadeOut>
<SupportsFadeOutAnalyzer>false</SupportsFadeOutAnalyzer>
</Analyzer>
</Analyzers>
3 changes: 2 additions & 1 deletion source/Analyzers/AnalyzersByCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Redundancy|Remove redundant 'ToString' call|RCS1097|x
Redundancy|Remove trailing white\-space|RCS1037|x
Redundancy|Remove unnecessary case label|RCS1069|x
Redundancy|Unused parameter|RCS1163|x
Redundancy|Unused this parameter|RCS1175|x
Redundancy|Unused type parameter|RCS1164|x
Simplification|Call string\.Concat instead of string\.Join|RCS1150|x
Simplification|Combine 'Enumerable\.Where' method chain|RCS1112|x
Expand All @@ -139,7 +140,7 @@ Simplification|Simplify LINQ method chain|RCS1077|x
Simplification|Simplify logical not expression|RCS1068|x
Simplification|Simplify nested using statement|RCS1005|x
Simplification|Simplify Nullable\<T\> to T?|RCS1020|x
Simplification|Use auto\-implemented property instead of expanded property|RCS1085|x
Simplification|Use auto\-implemented property|RCS1085|x
Simplification|Use 'Cast' method instead of 'Select' method|RCS1109|x
Simplification|Use coalesce expression instead of conditional expression|RCS1084|x
Simplification|Use coalesce expression instead of if|RCS1173|x
Expand Down
3 changes: 2 additions & 1 deletion source/Analyzers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RCS1081|Split variable declaration|Readability|
RCS1082|Use 'Count/Length' property instead of 'Count' method|Performance|x
RCS1083|Use 'Any' method instead of 'Count' method|Performance|x
RCS1084|Use coalesce expression instead of conditional expression|Simplification|x
RCS1085|Use auto\-implemented property instead of expanded property|Simplification|x
RCS1085|Use auto\-implemented property|Simplification|x
RCS1086|Use linefeed as newline|General|
RCS1087|Use carriage return \+ linefeed as newline|General|
RCS1088|Use space\(s\) instead of tab|General|
Expand Down Expand Up @@ -173,3 +173,4 @@ RCS1171|Simplify lazily initialized property|Simplification|x
RCS1172|Use is operator instead of as operator|Simplification|x
RCS1173|Use coalesce expression instead of if|Simplification|x
RCS1174|Remove redundant async/await|Redundancy|x
RCS1175|Unused this parameter|Redundancy|x
2 changes: 2 additions & 0 deletions source/Refactorings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RR0009|[Add exception to documentation comment](Refactorings.md#add-exception-to
RR0010|[Add identifier to variable declaration](Refactorings.md#add-identifier-to-variable-declaration)|x
RR0011|[Add parameter name to argument](Refactorings.md#add-parameter-name-to-argument)|x
RR0012|[Add parameter name to parameter](Refactorings.md#add-parameter-name-to-parameter)|x
RR0178|[Add type parameter](Refactorings.md#add-type-parameter)|x
RR0013|[Add using directive](Refactorings.md#add-using-directive)|x
RR0014|[Add using static directive](Refactorings.md#add-using-static-directive)|x
RR0015|[Call 'ConfigureAwait\(false\)'](Refactorings.md#call-configureawaitfalse)|x
Expand Down Expand Up @@ -61,6 +62,7 @@ RR0056|[Generate enum member](Refactorings.md#generate-enum-member)|x
RR0057|[Generate enum values](Refactorings.md#generate-enum-values)|x
RR0058|[Generate event invoking method](Refactorings.md#generate-event-invoking-method)|x
RR0059|[Generate switch sections](Refactorings.md#generate-switch-sections)|x
RR0179|[Implement IEquatable\<T\>](Refactorings.md#implement-iequatablet)|x
RR0060|[Initialize local with default value](Refactorings.md#initialize-local-with-default-value)|x
RR0061|[Inline alias expression](Refactorings.md#inline-alias-expression)|x
RR0062|[Inline method](Refactorings.md#inline-method)|x
Expand Down
13 changes: 13 additions & 0 deletions source/Refactorings/Refactorings.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@

![Add parameter name to parameter](../../images/refactorings/AddParameterNameToParameter.png)

#### Add type parameter

* **Syntax**: class declaration, struct declaration, interface declaration, delegate declaration, method declaration, local function

![Add type parameter](../../images/refactorings/AddTypeParameter.png)

#### Add using directive

* **Syntax**: qualified name
Expand Down Expand Up @@ -403,6 +409,13 @@

![Generate switch sections](../../images/refactorings/GenerateSwitchSections.png)

#### Implement IEquatable\<T\>

* **Syntax**: class declaration, struct declaration, interface declaration
* **Scope**: base list

![Implement IEquatable\<T\>](../../images/refactorings/ImplementIEquatableOfT.png)

#### Initialize local with default value

* **Syntax**: local declaration without initializer
Expand Down
3 changes: 2 additions & 1 deletion source/VisualStudio/description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<li>RCS1082 - Use 'Count/Length' property instead of 'Count' method.</li>
<li>RCS1083 - Use 'Any' method instead of 'Count' method.</li>
<li>RCS1084 - Use coalesce expression instead of conditional expression.</li>
<li>RCS1085 - Use auto-implemented property instead of expanded property.</li>
<li>RCS1085 - Use auto-implemented property.</li>
<li>RCS1086 - Use linefeed as newline.</li>
<li>RCS1087 - Use carriage return + linefeed as newline.</li>
<li>RCS1088 - Use space(s) instead of tab.</li>
Expand Down Expand Up @@ -229,6 +229,7 @@
<li>RCS1172 - Use is operator instead of as operator.</li>
<li>RCS1173 - Use coalesce expression instead of if.</li>
<li>RCS1174 - Remove redundant async/await.</li>
<li>RCS1175 - Unused this parameter.</li>
</ul>
<h3>List of Refactorings</h3>
<ul>
Expand Down

0 comments on commit bd64f42

Please sign in to comment.