RR0002 |
Add braces |
✓ |
RR0003 |
Add braces to if-else |
✓ |
RR0004 |
Add braces to switch section |
✓ |
RR0005 |
Add braces to switch sections |
✓ |
RR0006 |
Add cast expression |
✓ |
RR0007 |
Add default value to parameter |
✓ |
RR0205 |
Add empty line between declarations |
✓ |
RR0009 |
Add exception to documentation comment |
✓ |
RR0012 |
Add identifier to parameter |
- |
RR0010 |
Add identifier to variable declaration |
- |
RR0195 |
Add member to interface |
✓ |
RR0059 |
Add missing cases to switch statement |
✓ |
RR0011 |
Add parameter name to argument |
✓ |
RR0213 |
Add parameter to interface member |
✓ |
RR0208 |
Add tag to documentation comment |
✓ |
RR0178 |
Add type parameter |
✓ |
RR0013 |
Add using directive |
✓ |
RR0014 |
Add using static directive |
✓ |
RR0016 |
Call extension method as instance method |
✓ |
RR0144 |
Call string.IndexOf instead of string.Contains |
✓ |
RR0017 |
Call 'To...' method (ToString, ToArray, ToList) |
✓ |
RR0186 |
Change accessibility |
✓ |
RR0018 |
Change explicit type to 'var' |
✓ |
RR0021 |
Change method return type to 'void' |
✓ |
RR0022 |
Change type according to expression |
✓ |
RR0023 |
Change 'var' to explicit type |
✓ |
RR0024 |
Check expression for null |
✓ |
RR0025 |
Check parameter for null |
✓ |
RR0026 |
Collapse to initializer |
✓ |
RR0027 |
Comment out member |
✓ |
RR0028 |
Comment out statement |
✓ |
RR0171 |
Convert "" to string.Empty |
- |
RR0143 |
Convert '(yield) return' to 'if' |
✓ |
RR0120 |
Convert ?: to if-else |
✓ |
RR0169 |
Convert block body to expression-body |
✓ |
RR0192 |
Convert comment to documentation comment |
✓ |
RR0123 |
Convert 'do' to 'while' |
✓ |
RR0037 |
Convert expression-body to block body |
✓ |
RR0130 |
Convert 'for' to 'foreach' |
✓ |
RR0131 |
Convert 'for' to 'while' |
✓ |
RR0129 |
Convert 'foreach' to 'for' |
✓ |
RR0188 |
Convert 'foreach' to 'for' and reverse loop |
- |
RR0164 |
Convert 'HasFlag' call to bitwise operation |
✓ |
RR0132 |
Convert hexadecimal literal to decimal literal |
✓ |
RR0166 |
Convert 'if' to ?: |
✓ |
RR0133 |
Convert 'if' to 'switch' |
✓ |
RR0193 |
Convert interpolated string to concatenation |
✓ |
RR0136 |
Convert interpolated string to string literal |
✓ |
RR0201 |
Convert interpolated string to 'string.Format' |
✓ |
RR0039 |
Convert lambda expression body to block body |
✓ |
RR0154 |
Convert lambda expression body to expression-body |
✓ |
RR0137 |
Convert method group to lambda |
✓ |
RR0139 |
Convert null literal to default expression |
✓ |
RR0142 |
Convert regular string literal to verbatim string literal |
✓ |
RR0211 |
Convert statements to if-else |
✓ |
RR0145 |
Convert 'string.Format' to interpolated string |
✓ |
RR0214 |
Convert 'switch' expression to 'switch' statement |
✓ |
RR0147 |
Convert 'switch' to 'if' |
✓ |
RR0148 |
Convert verbatim string literal to regular string literal |
✓ |
RR0149 |
Convert verbatim string literal to regular string literals |
✓ |
RR0150 |
Convert 'while' statement to 'do' statement |
✓ |
RR0151 |
Convert 'while' statement to 'for' statement |
✓ |
RR0029 |
Copy documentation comment from base member |
✓ |
RR0030 |
Duplicate argument |
✓ |
RR0031 |
Duplicate member |
✓ |
RR0032 |
Duplicate parameter |
✓ |
RR0033 |
Duplicate statement |
✓ |
RR0212 |
Duplicate switch section |
✓ |
RR0035 |
Expand coalesce expression |
✓ |
RR0034 |
Expand compound assignment operator |
✓ |
RR0036 |
Expand event |
✓ |
RR0038 |
Expand initializer |
✓ |
RR0040 |
Expand property |
✓ |
RR0041 |
Expand property and add backing field |
✓ |
RR0203 |
Extract event handler method |
✓ |
RR0043 |
Extract expression from condition |
✓ |
RR0044 |
Extract generic type |
✓ |
RR0045 |
Extract statement(s) |
✓ |
RR0046 |
Extract type declaration to a new file |
✓ |
RR0054 |
Generate base constructors |
✓ |
RR0055 |
Generate combined enum member |
✓ |
RR0056 |
Generate enum member |
✓ |
RR0057 |
Generate enum values |
✓ |
RR0058 |
Generate event invoking method |
✓ |
RR0204 |
Generate property for DebuggerDisplay attribute |
✓ |
RR0210 |
Implement custom enumerator |
✓ |
RR0179 |
Implement IEquatable<T> |
✓ |
RR0197 |
Initialize field from constructor |
✓ |
RR0060 |
Initialize local with default value |
✓ |
RR0061 |
Inline alias expression |
✓ |
RR0181 |
Inline constant |
✓ |
RR0127 |
Inline constant value |
✓ |
RR0062 |
Inline method |
✓ |
RR0198 |
Inline property |
✓ |
RR0180 |
Inline using static |
✓ |
RR0063 |
Insert string interpolation |
✓ |
RR0064 |
Introduce and initialize field |
✓ |
RR0065 |
Introduce and initialize property |
✓ |
RR0066 |
Introduce constructor |
- |
RR0067 |
Introduce field to lock on |
✓ |
RR0068 |
Introduce local variable |
✓ |
RR0079 |
Invert binary expression |
✓ |
RR0080 |
Invert boolean literal |
✓ |
RR0160 |
Invert conditional expression |
✓ |
RR0189 |
Invert if |
✓ |
RR0162 |
Invert if-else |
✓ |
RR0081 |
Invert is expression |
✓ |
RR0116 |
Invert LINQ method call |
✓ |
RR0082 |
Invert operator |
✓ |
RR0134 |
Invert prefix/postfix unary operator |
✓ |
RR0078 |
Join string expressions |
✓ |
RR0069 |
Make member abstract |
✓ |
RR0070 |
Make member virtual |
✓ |
RR0073 |
Merge assignment expression with return statement |
✓ |
RR0074 |
Merge attributes |
✓ |
RR0075 |
Merge 'if' statements |
✓ |
RR0196 |
Merge if with parent if |
✓ |
RR0077 |
Merge local declarations |
✓ |
RR0202 |
Move unsafe context to containing declaration |
✓ |
RR0083 |
Notify when property change |
✓ |
RR0084 |
Parenthesize expression |
✓ |
RR0085 |
Promote local to parameter |
✓ |
RR0086 |
Remove all comments |
✓ |
RR0087 |
Remove all comments (except documentation comments) |
✓ |
RR0088 |
Remove all documentation comments |
- |
RR0089 |
Remove all member declarations |
✓ |
RR0090 |
Remove all preprocessor directives |
✓ |
RR0091 |
Remove all region directives |
✓ |
RR0092 |
Remove all statements |
✓ |
RR0093 |
Remove all switch sections |
✓ |
RR0209 |
Remove async/await |
✓ |
RR0094 |
Remove braces |
✓ |
RR0095 |
Remove braces from if-else |
✓ |
RR0096 |
Remove braces from switch section |
✓ |
RR0097 |
Remove braces from switch sections |
✓ |
RR0098 |
Remove comment |
✓ |
RR0099 |
Remove condition from last else clause |
✓ |
RR0100 |
Remove directive and related directives |
✓ |
RR0101 |
Remove empty lines |
✓ |
RR0199 |
Remove enum member value(s) |
✓ |
RR0102 |
Remove interpolation |
✓ |
RR0103 |
Remove member |
✓ |
RR0104 |
Remove member declarations above/below |
✓ |
RR0105 |
Remove parameter name from argument |
✓ |
RR0106 |
Remove parentheses |
✓ |
RR0107 |
Remove property initializer |
✓ |
RR0108 |
Remove region |
✓ |
RR0109 |
Remove statement |
✓ |
RR0110 |
Remove statements from switch sections |
✓ |
RR0111 |
Rename backing field according to property name |
✓ |
RR0112 |
Rename identifier according to type name |
✓ |
RR0113 |
Rename method according to type name |
✓ |
RR0114 |
Rename parameter according to its type name |
✓ |
RR0115 |
Rename property according to type name |
✓ |
RR0117 |
Replace as expression with cast expression |
✓ |
RR0118 |
Replace cast expression with as expression |
✓ |
RR0119 |
Replace conditional expression with expression |
✓ |
RR0121 |
Replace constant with field |
✓ |
RR0124 |
Replace equals expression with string.Equals |
✓ |
RR0125 |
Replace equals expression with string.IsNullOrEmpty |
✓ |
RR0126 |
Replace equals expression with string.IsNullOrWhiteSpace |
✓ |
RR0135 |
Replace interpolated string with interpolation expression |
✓ |
RR0138 |
Replace method with property |
- |
RR0185 |
Replace object creation with default value |
✓ |
RR0140 |
Replace prefix operator to postfix operator |
✓ |
RR0141 |
Replace property with method |
✓ |
RR0152 |
Reverse 'for' statement |
✓ |
RR0153 |
Simplify if |
✓ |
RR0207 |
Sort case labels |
✓ |
RR0155 |
Sort member declarations |
✓ |
RR0156 |
Split attributes |
✓ |
RR0194 |
Split declaration and initialization |
✓ |
RR0184 |
Split if statement |
✓ |
RR0190 |
Split if-else |
✓ |
RR0157 |
Split switch labels |
✓ |
RR0158 |
Split variable declaration |
✓ |
RR0159 |
Swap binary operands |
✓ |
RR0161 |
Swap member declarations |
✓ |
RR0200 |
Uncomment multi-line comment |
✓ |
RR0163 |
Uncomment single-line comment |
✓ |
RR0191 |
Use C# 6.0 dictionary initializer |
✓ |
RR0165 |
Use coalesce expression instead of if |
✓ |
RR0128 |
Use constant instead of field |
✓ |
RR0167 |
Use element access instead of 'First/Last'ElementAt' method |
✓ |
RR0206 |
Use enumerator explicitly |
✓ |
RR0170 |
Use lambda expression instead of anonymous method |
✓ |
RR0183 |
Use List<T> instead of yield |
✓ |
RR0182 |
Use StringBuilder instead of concatenation |
✓ |
RR0048 |
Wrap arguments |
✓ |
RR0049 |
Wrap binary expression |
✓ |
RR0051 |
Wrap call chain |
✓ |
RR0050 |
Wrap conditional expression |
✓ |
RR0187 |
Wrap constraint clauses |
✓ |
RR0174 |
Wrap in #if directive |
✓ |
RR0172 |
Wrap in condition |
✓ |
RR0175 |
Wrap in region |
✓ |
RR0176 |
Wrap in try-catch |
✓ |
RR0177 |
Wrap in using statement |
✓ |
RR0052 |
Wrap initializer expressions |
✓ |
RR0053 |
Wrap parameters |
✓ |