Refactorings

Id Title Enabled by Default
RR0001 Add boolean comparison x
RR0002 Add braces x
RR0003 Add braces to if-else x
RR0004 Add braces to switch section x
RR0005 Add braces to switch sections x
RR0006 Add cast expression x
RR0007 Add default value to parameter x
RR0008 Add default value to return statement x
RR0009 Add exception to documentation comment x
RR0010 Add identifier to variable declaration x
RR0011 Add parameter name to argument x
RR0012 Add parameter name to parameter x
RR0013 Add using directive x
RR0014 Add using static directive x
RR0015 Call 'ConfigureAwait(false)' x
RR0016 Call extension method as instance method x
RR0017 Call 'To...' method (ToString, ToArray, ToList) x
RR0018 Change explicit type to 'var' x
RR0019 Change method/property/indexer type according to return expression x
RR0020 Change method/property/indexer type according to yield return expression x
RR0021 Change method return type to 'void' x
RR0022 Change type according to expression x
RR0023 Change 'var' to explicit type x
RR0024 Check expression for null x
RR0025 Check parameter for null x
RR0026 Collapse to initalizer x
RR0027 Comment out member x
RR0028 Comment out statement x
RR0029 Copy documentation comment from base member x
RR0030 Duplicate argument x
RR0031 Duplicate member x
RR0032 Duplicate parameter x
RR0033 Duplicate statement x
RR0034 Expand assignment expression x
RR0035 Expand coalesce expression x
RR0036 Expand event x
RR0037 Expand expression body x
RR0038 Expand initializer x
RR0039 Expand lambda expression body x
RR0040 Expand property x
RR0041 Expand property and add backing field x
RR0042 Extract declaration from using statement x
RR0043 Extract expression from condition x
RR0044 Extract generic type x
RR0045 Extract statement(s) x
RR0046 Extract type declaration to a new file x
RR0047 Format accessor braces x
RR0048 Format argument list x
RR0049 Format binary expression x
RR0050 Format conditional expression x
RR0051 Format expression chain x
RR0052 Format initializer x
RR0053 Format parameter list x
RR0054 Generate base constructors x
RR0055 Generate combined enum member x
RR0056 Generate enum member x
RR0057 Generate enum values x
RR0058 Generate event invoking method x
RR0059 Generate switch sections x
RR0060 Initialize local with default value x
RR0061 Inline alias expression x
RR0062 Inline method x
RR0063 Insert string interpolation x
RR0064 Introduce and initialize field x
RR0065 Introduce and initialize property x
RR0066 Introduce constructor
RR0067 Introduce field to lock on x
RR0068 Introduce local from statement that returns value x
RR0069 Make member abstract x
RR0070 Make member virtual x
RR0071 Mark containing class as abstract x
RR0072 Mark member as static x
RR0073 Merge assignment expression with return statement x
RR0074 Merge attributes x
RR0075 Merge if statements x
RR0076 Merge interpolation into interpolated string x
RR0077 Merge local declarations x
RR0078 Merge string expressions x
RR0079 Negate binary expression x
RR0080 Negate boolean literal x
RR0081 Negate is expression x
RR0082 Negate operator x
RR0083 Notify property changed x
RR0084 Parenthesize expression x
RR0085 Promote local to parameter x
RR0086 Remove all comments x
RR0087 Remove all comments (except documentation comments) x
RR0088 Remove all documentation comments
RR0089 Remove all member declarations x
RR0090 Remove all preprocessor directives x
RR0091 Remove all region directives x
RR0092 Remove all statements x
RR0093 Remove all switch sections x
RR0094 Remove braces x
RR0095 Remove braces from if-else x
RR0096 Remove braces from switch section x
RR0097 Remove braces from switch sections x
RR0098 Remove comment x
RR0099 Remove condition from last else clause x
RR0100 Remove directive and related directives x
RR0101 Remove empty lines x
RR0102 Remove interpolation x
RR0103 Remove member x
RR0104 Remove member declarations above/below x
RR0105 Remove parameter name from argument x
RR0106 Remove parentheses x
RR0107 Remove property initializer x
RR0108 Remove region x
RR0109 Remove statement x
RR0110 Remove statements from switch sections x
RR0111 Rename backing field according to property name x
RR0112 Rename identifier according to type name x
RR0113 Rename method according to type name x
RR0114 Rename parameter according to its type name x
RR0115 Rename property according to type name x
RR0116 Replace Any with All (or All with Any) x
RR0117 Replace as expression with cast expression x
RR0118 Replace cast expression with as expression x
RR0119 Replace conditional expression with expression x
RR0120 Replace conditional expression with if-else x
RR0121 Replace constant with field x
RR0122 Replace Count property with Length property (or Length with Count) x
RR0123 Replace do statement with while statement x
RR0124 Replace equals expression with string.Equals x
RR0125 Replace equals expression with string.IsNullOrEmpty x
RR0126 Replace equals expression with string.IsNullOrWhiteSpace x
RR0127 Replace expression with constant value x
RR0128 Replace field with constant x
RR0129 Replace foreach statement with for statement x
RR0130 Replace for statement with foreach statement x
RR0131 Replace for statement with while statement x
RR0132 Replace hexadecimal literal with decimal literal x
RR0133 Replace if-else with switch statement x
RR0134 Replace increment operator with decrement operator x
RR0135 Replace interpolated string with interpolation expression x
RR0136 Replace interpolated string with string literal x
RR0137 Replace method group with lambda x
RR0138 Replace method with property
RR0139 Replace null literal expression with default expression x
RR0140 Replace prefix operator to postfix operator x
RR0141 Replace property with method x
RR0142 Replace regular string literal with verbatim string literal x
RR0143 Replace statement with if statement x
RR0144 Replace string.Contains with string.IndexOf x
RR0145 Replace string.Format with interpolated string x
RR0146 Replace string literal with character literal x
RR0147 Replace switch statement with if-else x
RR0148 Replace verbatim string literal with regular string literal x
RR0149 Replace verbatim string literal with regular string literals x
RR0150 Replace while statement with do statement x
RR0151 Replace while statement with for statement x
RR0152 Reverse for loop x
RR0153 Simplify if x
RR0154 Simplify lambda expression x
RR0155 Sort member declarations x
RR0156 Split attributes x
RR0157 Split switch labels x
RR0158 Split variable declaration x
RR0159 Swap expressions in binary expression x
RR0160 Swap expressions in conditional expression x
RR0161 Swap member declarations x
RR0162 Swap statements in if-else x
RR0163 Uncomment x
RR0164 Use bitwise operation instead of calling 'HasFlag' x
RR0165 Use coalesce expression instead of if x
RR0166 Use conditional expression instead of if x
RR0167 Use element access instead of 'First/Last'ElementAt' method x
RR0168 Use "" instead of string.Empty x
RR0169 Use expression-bodied member x
RR0170 Use lambda expression instead of anonymous method x
RR0171 Use string.Empty instead of ""
RR0172 Wrap in condition x
RR0173 Wrap in else clause x
RR0174 Wrap in #if directive x
RR0175 Wrap in region x
RR0176 Wrap in try-catch x
RR0177 Wrap in using statement x
RR0178 Add type parameter x
RR0179 Implement IEquatable<T> x
RR0180 Inline using static x