232 Commits (ef23a05edf4419cc5d2ba61af1e448d976e2dde4)

Author SHA1 Message Date
Daniel Grunwald 536b9b0b1c Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls. 14 years ago
Daniel Grunwald 99bbb11ded Add 'ResultOfAsyncCallShouldNotBeIgnored' issue. 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 14 years ago
Mike Krüger 28c635f11d [CodeIssues] Removed LocalVariableOnlyAssignedIssue - it's redundant 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 1a2689edcb CompareFloatWithEqualityOperatorIssue: use short name for System.Math if possible. 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 4d75ecc36c Fix InvalidCastException in AccessToClosureIssue. 14 years ago
Daniel Grunwald c3f46aadfb Move some code actions from 'CodeActions' namespace to refactoring namespace, to be consistent with all other code actions. 14 years ago
Daniel Grunwald b500f468ac Fix #120: RedundantNamespaceUsageIssue bad handling of using aliases 14 years ago
Mike Krüger 9648890f61 [CodeIssues] Fixed concurrency issue in variable reference graph. 14 years ago
Mike Krüger e8795d338a Fixed possible null reference exception. 14 years ago
Mike Krüger 13944c2a6b [CodeIssues] Removed some debug spew. 14 years ago
Mike Krüger ba05b603fd Removed other static cfg builder. 14 years ago
Mike Krüger e4f071e19d Removed static control flow graph builder. 14 years ago
Simon Lindgren cdf2e04c81 Replace FindReferences with context.FindReferences in MultipleEnumerationIssue. 14 years ago
Simon Lindgren 1726ac4fcd Replace FindReferences with context.FindReferences in ValueParameterUnusedIssue. 14 years ago
Simon Lindgren 6c2336b582 [CodeIssues] Add helper FindReferences(AstNode, IVariable) to BaseRefactoringContext. 14 years ago
Simon Lindgren 6458118ceb Replace FindReferences with LocalReferenceFinder in ForControlVariableNotModifiedIssue. 14 years ago
Simon Lindgren 2e21c6e2f0 Add fast check to discard most invocations early in ReferenceEqualsCalledWithValueTypeIssue. 14 years ago
Simon Lindgren db31f5f80d Add fast check to discard most invocations early in FormatStringIssue. 14 years ago
Simon Lindgren ea1c7410f0 Speed up RedundantToStringIssue a bit. 14 years ago
Simon Lindgren 7b86a384df [CodeIssues] Optimize IncorrectExceptionParameterOrderingIssue. 14 years ago
Simon Lindgren 8be6f487e9 Replace FindReferences with LocalReferenceFinder in VariableNotUsedIssue. 14 years ago
Simon Lindgren b6cbd38edd Add check to disqualify most invocations early in OptionalParameterCouldBeSkippedIssue. 14 years ago
Simon Lindgren 1d129a6a74 Replace FindReferences with LocalReferenceFinder in RedundantAssignmentIssue. 14 years ago
Simon Lindgren b1860b1f07 Replace FindReferences with LocalReferenceFinder in AccessToClosureIssue. 14 years ago
Simon Lindgren 6ec44d10d5 Replace FindReferences with LocalReferenceFinder in {Variable,Parameter}OnlyAssignedIssue. 14 years ago
mkrueger bb8df03211 [CodeIssue] Fixed bug in redundant type cast issue. 14 years ago
Simon Lindgren ac21fc0b32 [CodeIssues] Fix compilation errors in AssignmentMadeToSameVariable. 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 d787bbb263 [CodeIssues] Don't suggest moving variables into lock statements. 14 years ago
Simon Lindgren 827cf5d25b [CodeIssues] Fix typo in MultipleEnumerationIssue. 14 years ago
Mansheng Yang bf33c03cc2 [CodeIssues] RedundantArrayInitializerCommaIssue: show appropriate description for different types of initializers 14 years ago
Mansheng Yang d9f68d3e67 [CodeIssues] ExpressionIsAlwaysOfProvidedTypeIssue: use Conversions instead of TypeCompatibilityHelper 14 years ago