Daniel Grunwald
|
536b9b0b1c
|
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
|
14 years ago |
Daniel Grunwald
|
e6bc300e1e
|
Don't show "expression is never of the provided type" warning if the type could not be resolved.
|
14 years ago |
Daniel Grunwald
|
fe815dc2a0
|
Fixed false positive that caused a 'is operator always returns true' warning even though it returns false. (e.g. 'intVar is double')
|
14 years ago |
Mike Krüger
|
a50b205d6b
|
[CodeIssues] Fixed unused parameters for methods used as delegates and
event handlers.
|
14 years ago |
Mike Krüger
|
28c635f11d
|
[CodeIssues] Removed LocalVariableOnlyAssignedIssue - it's redundant
and handled by RedundantAssignmentIssue
|
14 years ago |
Mike Krüger
|
4d49d61ab5
|
[CodeIssues] Added type checking to string is null or empty issue.
|
14 years ago |
Daniel Grunwald
|
e62e9469a7
|
Simplified ExpressionIsNeverOfProvidedTypeIssue and fixed false positive when converting from System.Object to value types.
|
14 years ago |
Daniel Grunwald
|
e272d518b6
|
AssignmentMadeToSameVariableIssue: don't warn on "a += a;"
|
14 years ago |
Daniel Grunwald
|
81c09524d6
|
Reference to static member via derived type: ignore curiously recurring template pattern
|
14 years ago |
Daniel Grunwald
|
912017d123
|
RedundantWhereWithPredicateIssue: in addition to Any(), handle Count(),First(),FirstOrDefault(),Last(),LastOrDefault(),LongCount(),Single() and SingleOrDefault().
|
14 years ago |
Daniel Grunwald
|
3e42bc1e6a
|
Don't show 'Method with optional parameter is hidden by overload' issue if the overloads have different type parameters.
|
14 years ago |
Daniel Grunwald
|
9cdf7e71f9
|
Don't show 'method never returns' for iterators containing 'yield break;'
|
14 years ago |
Daniel Grunwald
|
75925d5aaf
|
Fix #119: LocalVariableOnlyAssignedIssue does not recognize usage through unary operator expression
|
14 years ago |
Daniel Grunwald
|
ad431543a3
|
Fix NullReferenceException in IncorrectExceptionParameterOrderingIssue.
|
14 years ago |
Daniel Grunwald
|
03f66e700f
|
CastExpressionOfIncompatibleTypeIssue: don't produce an issue when the source or target type is unknown.
|
14 years ago |
Daniel Grunwald
|
eabc6dbfae
|
Don't warn on empty custom events.
|
14 years ago |
Daniel Grunwald
|
b500f468ac
|
Fix #120: RedundantNamespaceUsageIssue bad handling of using aliases
|
14 years ago |
Mike Krüger
|
fc72147b88
|
[Refactoring] Script now corrects the formatting of inserted &
replaced nodes.
|
14 years ago |
mkrueger
|
bb8df03211
|
[CodeIssue] Fixed bug in redundant type cast issue.
|
14 years ago |
Simon Lindgren
|
b71617d816
|
[CodeIssues] Fix handling of member references in AssignmentMadeToSameVariableIssue.
|
14 years ago |
Simon Lindgren
|
704b5304d8
|
[CodeIssues] Also warn for null or empty checks using 'str.Length == 0'
|
14 years ago |
Simon Lindgren
|
b0e1fac6b6
|
[CodeIssues] Don't suggest moving declarations into invalid or weird places.
|
14 years ago |
Simon Lindgren
|
3b5e5731ea
|
[CodeIssues] Don't warn for unused parameters on overrides and interface implementations.
|
14 years ago |
Simon Lindgren
|
f829d5833c
|
[CodeIssues] Don't mark calls to IFormattable.ToString() as redundant.
|
14 years ago |
Simon Lindgren
|
a1baeae6ce
|
[CodeIssues] Clean up VariableDeclareInWideScopeTests.
|
14 years ago |
Simon Lindgren
|
d787bbb263
|
[CodeIssues] Don't suggest moving variables into lock statements.
|
14 years ago |
Mansheng Yang
|
bf33c03cc2
|
[CodeIssues] RedundantArrayInitializerCommaIssue: show appropriate description for different types of initializers
|
14 years ago |
Mike Krüger
|
aad32a0e66
|
[CodeAction] Fixed some 'cast expression of incompatible type' issue
bugs.
|
14 years ago |
Mike Krüger
|
1a80006cac
|
[CodeIssues] Fixed an issue with try/catch statement in redundant
assignment issue.
|
14 years ago |
Konrad M. Kruczynski
|
be34221618
|
[CodeIssues] Do not report unused parameter if it is out or ref.
|
14 years ago |
Simon Lindgren
|
f664df98bc
|
[CodeIssues] Check method names before concluding there is a problem.
|
14 years ago |
Simon Lindgren
|
d01a360f32
|
[CodeIssues] Don't suggest demoting parameters of program entry points.
|
14 years ago |
Simon Lindgren
|
93fce4f8a6
|
[CodeIssues] Don't suggest demotion to a non-array type for params parameters.
|
14 years ago |
Simon Lindgren
|
a46f5e9874
|
[CodeIssues] Don't warn about static fields in generic types if the field declaration uses all type parameters.
|
14 years ago |
Simon Lindgren
|
9c634c73fc
|
[CodeIssues] VariableDeclaredInWideScope: Handle moves into SwitchSections.
|
14 years ago |
Simon Lindgren
|
9c8556c61f
|
[CodeIssues] Don't warn about missing usage of 'value' in accessors that throws immediately.
|
14 years ago |
Simon Lindgren
|
06ebfd247d
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Better dependency checking.
|
14 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
14 years ago |
Mansheng Yang
|
dc7fa56956
|
[CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding
|
14 years ago |
Simon Lindgren
|
b7f65011fa
|
[CodeIssues] Improve ParameterCanBeDemotedIssue.
|
14 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.
|
14 years ago |
Simon Lindgren
|
458bd90f11
|
[CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue.
|
14 years ago |
Mansheng Yang
|
a27b0518ce
|
[CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings
|
14 years ago |
Mansheng Yang
|
352dcce314
|
[CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type
|
14 years ago |
Mansheng Yang
|
588b127a42
|
[CodeIssues] MethodNeverReturnsIssue: handle 'throw' case
|
14 years ago |
Mansheng Yang
|
6f063c60a6
|
[CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases
|
14 years ago |
Mansheng Yang
|
f5c370a6cd
|
[CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace
|
14 years ago |
Simon Lindgren
|
a9e0bd901d
|
[CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'.
|
14 years ago |
Simon Lindgren
|
821e157bf6
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Handle nested scopes that are not BlockStatements and don't suggest moving declarations into closures
|
14 years ago |
Simon Lindgren
|
713b88f963
|
[CodeIssues] Don't consider empty catches redundant.
|
14 years ago |