Adam Connelly
|
fccd433299
|
[CodeIssues] Updating the NoDefaultConstructorIssue to ignore inaccessible constructors and to only look at the direct base type. I also updated the issue text to contain the compiler error number, and altered the way that the string was formatted so that the format string is passed into TranslateString.
|
13 years ago |
Adam Connelly
|
aba167fa4c
|
[CodeIssues] Updating the NoDefaultConstructorIssue to take into account multiple constructors in the child class. If no constructors are defined in the child, the issue is put against the class identifier, whereas if constructors are defined, the issue is put against each constructor that has an issue.
|
13 years ago |
Adam Connelly
|
4f3695ca03
|
[CodeIssues] Adding an issue that highlights when a base class does not have a parameterless constructor, and the child class does not invoke any of the base class constructors.
|
13 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
13 years ago |
Mansheng Yang
|
dc7fa56956
|
[CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding
|
13 years ago |
Simon Lindgren
|
b7f65011fa
|
[CodeIssues] Improve ParameterCanBeDemotedIssue.
|
13 years ago |
Simon Lindgren
|
79b4c25ccc
|
[CodeIssues] ParameterCanBeDemotedIssue: Add Criterions for suitable indexer members and for array types. Also start resolving the method with the new type to check for errors.
|
13 years ago |
Simon Lindgren
|
458bd90f11
|
[CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue.
|
13 years ago |
Mansheng Yang
|
a27b0518ce
|
[CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings
|
13 years ago |
Mansheng Yang
|
352dcce314
|
[CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type
|
13 years ago |
Mansheng Yang
|
588b127a42
|
[CodeIssues] MethodNeverReturnsIssue: handle 'throw' case
|
13 years ago |
Mansheng Yang
|
6f063c60a6
|
[CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases
|
13 years ago |
Mansheng Yang
|
f5c370a6cd
|
[CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace
|
13 years ago |
Simon Lindgren
|
a9e0bd901d
|
[CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'.
|
13 years ago |
Simon Lindgren
|
821e157bf6
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Handle nested scopes that are not BlockStatements and don't suggest moving declarations into closures
|
13 years ago |
Simon Lindgren
|
713b88f963
|
[CodeIssues] Don't consider empty catches redundant.
|
13 years ago |
Mansheng Yang
|
c63f65a570
|
[CodeIssue] Added MethodOverloadHidesOptionalParameterIssue
|
13 years ago |
Mansheng Yang
|
352b20cac6
|
[CodeIssue] Added RedundantObjectCreationArgumentListIssue
|
13 years ago |
Mansheng Yang
|
9a8d671d07
|
[CodeIssue] RedundantObjectOrCollectionInitializerIssue: added some tests
|
13 years ago |
Mansheng Yang
|
c0870dbb79
|
[CodeIssue] Added RedundantObjectOrCollectionInitializerIssue
|
13 years ago |
Mansheng Yang
|
4af137970c
|
[CodeIssue] Added RedundantCaseLabelIssue
|
13 years ago |
Mansheng Yang
|
86e4d9a18e
|
[CodeIssue] Added CastExpressionOfIncompatibleTypeIssue
|
13 years ago |
Simon Lindgren
|
ea49b1a6cf
|
[CodeIssues] Add StaticFieldInGenericTypeIssue.
|
13 years ago |
Simon Lindgren
|
e5f5d6c9e2
|
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
|
13 years ago |
Simon Lindgren
|
cdfde8bcef
|
[CodeActions] Greatly improved OptionalParameterCouldBeSkippedIssue.
It now handles named parameters much better, has more actions, and less code duplication.
|
13 years ago |
Mansheng Yang
|
d9dbd25be7
|
[CodeIssue] Added RedundantArrayInitializerCommaIssue
|
13 years ago |
Simon Lindgren
|
1371e6db61
|
[CodeIssues] Fix bugs in RedundantCatchIssue.
|
13 years ago |
Simon Lindgren
|
d6054d1035
|
[CodeIssues] Add ExceptionRethrowIssue
|
13 years ago |
Mansheng Yang
|
ff4b265de7
|
[CodeIssue] Added MethodNeverReturnsIssue
|
13 years ago |
Mansheng Yang
|
83776a15f9
|
[CodeIssue] Added RedundantAttributeParenthesesIssue
|
13 years ago |
Mansheng Yang
|
29c686ab0a
|
[CodeIssue] Added DoubleNegationIssue
|
13 years ago |
Simon Lindgren
|
73b80fc36b
|
[CodeIssues] CallToObjectViaBaseIssue: Ignore calls which do not target members of 'base'.
|
13 years ago |
Simon Lindgren
|
93940f89f6
|
[CodeIssue] RedundantToStringIssue: Don't crash on parameter with declaration-less types.
|
13 years ago |
Mansheng Yang
|
574b3d2cd3
|
[CodeIssue] CompareFloatWithEqualityOperator: handle a failed test case
|
13 years ago |
Mansheng Yang
|
0ee9c33716
|
[CodeIssue] Added ReferenceEqualsCalledWithValueTypeIssue
|
13 years ago |
Mansheng Yang
|
10fc7380d9
|
[CodeIssue] Added ExpressionIsNeverOfProvidedTypeIssue
|
13 years ago |
Mansheng Yang
|
0ba24d9ffc
|
[CodeIssue] Added ExpressionIsAlwaysOfProvidedTypeIssue
|
13 years ago |
Mansheng Yang
|
384e0b608f
|
[CodeIssue] CompareFloatWithEqualityOperatorIssue: fixed 'NaN' issue
|
13 years ago |
Mansheng Yang
|
b8b2c61f09
|
[CodeIssue] Added CompareBooleanWithTrueOrFalseIssue
|
13 years ago |
Simon Lindgren
|
f47fd7619e
|
[CodeIssues] RedundantToStringIssue: Also check formatting calls.
|
13 years ago |
Mansheng Yang
|
b14db35ce2
|
[CodeIssue] CompareFloatWithEqualityOperatorIssue: handle double.NaN case
|
13 years ago |
Mansheng Yang
|
3be1ef1bda
|
[CodeIssue] NegativeRelationalExpressionIssue: no longer report issues for floating-point operations
|
13 years ago |
Simon Lindgren
|
dbdb7c74dc
|
[CodeIssues] Handle non-object base classes in IncorrentCallTogetHashCodeIssue and CallToObjectEqualsViaBaseIssue.
|
13 years ago |
Simon Lindgren
|
ecf167d3a1
|
[CodeIssues] Add IncorrectCalltoGetHashCodeIssue.
|
13 years ago |
Mansheng Yang
|
0cf2d3940a
|
[CodeIssue] Renamed DoubleNegationExpressionIssue to NegativeRelationalExpressionIssue
|
13 years ago |
Simon Lindgren
|
783a79c42a
|
[CodeIssues] Add CallToObjectEqualsViaBaseIssue.
|
13 years ago |
Simon Lindgren
|
444ecf747b
|
[CodeIssues] Add RedundantToStringIssue.
|
13 years ago |
Mansheng Yang
|
144ddcd987
|
[CodeIssue] Added DoubleNegationExpressionIssue
|
13 years ago |
Mansheng Yang
|
209d3f0e42
|
[CodeIssue] Added RedundantTypeCastIssue
|
13 years ago |
Simon Lindgren
|
247d58818f
|
[CodeIssues] Fix some false suggestions in VariableDeclaredInWideScopeIssue.
|
13 years ago |