Analyzers

Id Title Severity Applies to Issues Commits Source Files
RCS1001 Add braces (when expression spans over multiple lines). Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1002 Remove braces. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1003 Add braces to if-else (when expression spans over multiple lines). Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1004 Remove braces from if-else. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1005 Simplify nested using statement. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1006 Merge 'else' with nested 'if'. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1007 Add braces. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1008 Use explicit type instead of 'var' (when the type is not obvious). None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1009 Use explicit type instead of 'var' (foreach variable). None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1010 Use 'var' instead of explicit type (when the type is obvious). None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1012 Use explicit type instead of 'var' (when the type is obvious). None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1013 Use predefined type. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1014 Avoid implicitly-typed array. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1015 Use nameof operator. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1016 Use expression-bodied member. None Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1017 Avoid multiline expression body. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1018 Add accessibility modifiers. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1019 Order modifiers. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1020 Simplify Nullable<T> to T?. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1021 Simplify lambda expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1031 Remove unnecessary braces. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1032 Remove redundant parentheses. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1033 Remove redundant boolean literal. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1034 Remove redundant 'sealed' modifier. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1035 Remove redundant comma in initializer. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1036 Remove redundant empty line. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1037 Remove trailing white-space. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1038 Remove empty statement. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1039 Remove argument list from attribute. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1040 Remove empty 'else' clause. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1041 Remove empty initializer. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1042 Remove enum default underlying type. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1043 Remove 'partial' modifier from type with a single part. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1044 Remove original exception from throw statement. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1045 Rename private field to camel case with underscore. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1046 Asynchronous method name should end with 'Async'. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1047 Non-asynchronous method name should not end with 'Async'. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1048 Use lambda expression instead of anonymous method. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1049 Simplify boolean comparison. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1050 Add argument list to object creation expression (or vice versa). None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1051 Parenthesize condition of conditional expression. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1052 Declare each attribute separately. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1055 Avoid semicolon at the end of declaration. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1056 Avoid usage of using alias directive. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1058 Use compound assignment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1059 Avoid locking on publicly accessible instance. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1060 Declare each type in separate file. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1061 Merge 'if' with nested 'if'. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1063 Avoid usage of do statement to create an infinite loop. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1064 Avoid usage of for statement to create an infinite loop. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1065 Avoid usage of while statement to create an inifinite loop. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1066 Remove empty 'finally' clause. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1068 Simplify logical negation. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1069 Remove unnecessary case label. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1070 Remove redundant default switch section. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1071 Remove redundant base constructor call. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1072 Remove empty namespace declaration. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1073 Convert 'if' to 'return' statement. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1074 Remove redundant constructor. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1075 Avoid empty catch clause that catches System.Exception. Warning Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1077 Optimize LINQ method call. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1078 Use "" instead of string.Empty. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1079 Throwing of new NotImplementedException. Info Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1080 Use 'Count/Length' property instead of 'Any' method. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1081 Split variable declaration. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1084 Use coalesce expression instead of conditional expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1085 Use auto-implemented property. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1089 Use --/++ operator instead of assignment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1090 Call 'ConfigureAwait(false)'. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1091 Remove empty region. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1093 Remove file with no code. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1094 Declare using directive on top level. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1096 Convert 'HasFlag' call to bitwise operation (or vice versa). Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1097 Remove redundant 'ToString' call. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1098 Avoid 'null' on the left side of a binary expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1099 Default label should be the last label in a switch section. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1100 Format documentation summary on a single line. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1101 Format documentation summary on multiple lines. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1102 Make class static. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1103 Convert 'if' to assignment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1104 Simplify conditional expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1105 Unncessary interpolation. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1106 Remove empty destructor. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1107 Remove redundant 'ToCharArray' call. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1108 Add 'static' modifier to all partial class declarations. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1110 Declare type inside namespace. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1111 Add braces to switch section with multiple statements. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1112 Combine 'Enumerable.Where' method chain. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1113 Use 'string.IsNullOrEmpty' method. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1114 Remove redundant delegate creation. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1118 Mark local variable as const. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1123 Add parentheses when necessary. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1124 Inline local variable. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1126 Add braces to if-else. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1128 Use coalesce expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1129 Remove redundant field initalization. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1130 Bitwise operation on enum without Flags attribute. Info Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1132 Remove redundant overriding member. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1133 Remove redundant Dispose/Close call. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1134 Remove redundant statement. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1135 Declare enum member with zero value (when enum has FlagsAttribute). Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1136 Merge switch sections with equivalent content. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1138 Add summary to documentation comment. Warning Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1139 Add summary element to documentation comment. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1140 Add exception to documentation comment. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1141 Add 'param' element to documentation comment. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1142 Add 'typeparam' element to documentation comment. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1143 Simplify coalesce expression. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1145 Remove redundant 'as' operator. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1146 Use conditional access. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1151 Remove redundant cast. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1154 Sort enum members. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1155 Use StringComparison when comparing strings. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1156 Use string.Length instead of comparison with empty string. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1157 Composite enum value contains undefined flag. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1158 Static member in generic type should use a type parameter. Info Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1159 Use EventHandler<T>. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1160 Abstract type should not have public constructors. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1161 Enum should declare explicit values. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1162 Avoid chain of assignments. None Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1163 Unused parameter. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1164 Unused type parameter. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1165 Unconstrained type parameter checked for null. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1166 Value type object is never equal to null. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1168 Parameter name differs from base name. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1169 Make field read-only. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1170 Use read-only auto-implemented property. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1171 Simplify lazy initialization. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1172 Use 'is' operator instead of 'as' operator. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1173 Use coalesce expression instead of 'if'. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1174 Remove redundant async/await. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1175 Unused this parameter. Info Roslynator.Analyzers Roslynator 2019 issues commits file
RCS1176 Use 'var' instead of explicit type (when the type is not obvious). None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1177 Use 'var' instead of explicit type (in foreach). None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1179 Use 'return' instead of assignment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1180 Inline lazy initialization. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1181 Convert comment to documentation comment. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1182 Remove redundant base interface. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1186 Use Regex instance instead of static method. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1187 Use constant instead of field. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1188 Remove redundant auto-property initialization. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1189 Add or remove region name. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1190 Join string expressions. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1191 Declare enum value as combination of names. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1192 Unnecessary usage of verbatim string literal. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1193 Overriding member should not change 'params' modifier. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1194 Implement exception constructors. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1195 Use ^ operator. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1196 Call extension method as instance method. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1197 Optimize StringBuilder.Append/AppendLine call. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1198 Avoid unnecessary boxing of value type. None Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1199 Simplify boolean expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1200 Call 'Enumerable.ThenBy' instead of 'Enumerable.OrderBy'. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1201 Use method chaining. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1202 Avoid NullReferenceException. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file file
RCS1203 Use AttributeUsageAttribute. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1204 Use EventArgs.Empty. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1205 Order named arguments according to the order of parameters. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1206 Use conditional access instead of conditional expression. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1207 Convert anonymous function to method group. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1208 Reduce 'if' nesting. None Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1209 Order type parameter constraints. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1210 Return Task.FromResult instead of returning null. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1211 Remove unnecessary 'else'. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1212 Remove redundant assignment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1213 Remove unused member declaration. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1214 Unnecessary interpolated string. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1215 Expression is always equal to true/false. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1216 Unnecessary unsafe context. Info Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1217 Convert interpolated string to concatenation. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file
RCS1218 Simplify code branching. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1219 Call 'Enumerable.Skip' and 'Enumerable.Any' instead of 'Enumerable.Count'. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1220 Use pattern matching instead of combination of 'is' operator and cast operator. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1221 Use pattern matching instead of combination of 'as' operator and null check. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1222 Merge preprocessor directives. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1223 Mark publicly visible type with DebuggerDisplay attribute. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1224 Make method an extension method. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1225 Make class sealed. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1226 Add paragraph to documentation comment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1227 Validate arguments correctly. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1228 Unused element in documentation comment. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1229 Use async/await when necessary. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1230 Unnecessary explicit use of enumerator. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1231 Make parameter ref read-only. None Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1232 Order elements in documentation comment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1233 Use short-circuiting operator. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1234 Duplicate enum value. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1235 Optimize method call. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file file
RCS1236 Use exception filter. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1237 Use bit shift operator. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1238 Avoid nested ?: operators. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1239 Use 'for' statement instead of 'while' statement. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1240 Operator is unnecessary. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1241 Implement non-generic counterpart. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1242 Do not pass non-read-only struct by read-only reference. Warning Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1243 Duplicate word in a comment. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1244 Simplify 'default' expression. Hidden Roslynator.Analyzers Roslynator 2019 issues commits file file file
RCS1246 Use element access. Info Roslynator.Analyzers Roslynator 2019 issues commits file file file