Mike Krüger
4d49d61ab5
[CodeIssues] Added type checking to string is null or empty issue.
13 years ago
Mike Krüger
810a1e8911
[Refactoring] Corrected formatting region.
13 years ago
Mike Krüger
8e1ed7e962
[Refactoring] Format text can now take a node list to format / fixed a
...
formatting issue.
13 years ago
Mike Krüger
be94aebdcc
[Refactoring] FormatText now specifies a formatting region. (speed
...
purposes)
13 years ago
Daniel Grunwald
e62e9469a7
Simplified ExpressionIsNeverOfProvidedTypeIssue and fixed false positive when converting from System.Object to value types.
13 years ago
Daniel Grunwald
e272d518b6
AssignmentMadeToSameVariableIssue: don't warn on "a += a;"
13 years ago
Daniel Grunwald
81c09524d6
Reference to static member via derived type: ignore curiously recurring template pattern
13 years ago
Daniel Grunwald
912017d123
RedundantWhereWithPredicateIssue: in addition to Any(), handle Count(),First(),FirstOrDefault(),Last(),LastOrDefault(),LongCount(),Single() and SingleOrDefault().
13 years ago
Daniel Grunwald
3e42bc1e6a
Don't show 'Method with optional parameter is hidden by overload' issue if the overloads have different type parameters.
13 years ago
Daniel Grunwald
9cdf7e71f9
Don't show 'method never returns' for iterators containing 'yield break;'
13 years ago
Daniel Grunwald
75925d5aaf
Fix #119 : LocalVariableOnlyAssignedIssue does not recognize usage through unary operator expression
13 years ago
Daniel Grunwald
ad431543a3
Fix NullReferenceException in IncorrectExceptionParameterOrderingIssue.
13 years ago
Daniel Grunwald
3eb4ea84f8
Fix NullReferenceException in IterateViaForeachAction.
13 years ago
Daniel Grunwald
1a2689edcb
CompareFloatWithEqualityOperatorIssue: use short name for System.Math if possible.
13 years ago
Daniel Grunwald
03f66e700f
CastExpressionOfIncompatibleTypeIssue: don't produce an issue when the source or target type is unknown.
13 years ago
Daniel Grunwald
eabc6dbfae
Don't warn on empty custom events.
13 years ago
Daniel Grunwald
4d75ecc36c
Fix InvalidCastException in AccessToClosureIssue.
13 years ago
Daniel Grunwald
0cdb73aad6
Add setter for the refactoring context's service container.
13 years ago
Daniel Grunwald
c3f46aadfb
Move some code actions from 'CodeActions' namespace to refactoring namespace, to be consistent with all other code actions.
13 years ago
Daniel Grunwald
b500f468ac
Fix #120 : RedundantNamespaceUsageIssue bad handling of using aliases
13 years ago
Daniel Grunwald
f7bf0bae56
Fix compiler warnings due to malformed XmlDoc.
13 years ago
Mike Krüger
9648890f61
[CodeIssues] Fixed concurrency issue in variable reference graph.
13 years ago
Lopatkin Ilja
4b3f83be72
Implemented code action to sort usings
13 years ago
Mike Krüger
5f3721c95e
Fixed failing unit test.
13 years ago
Mike Krüger
e8795d338a
Fixed possible null reference exception.
13 years ago
Mike Krüger
0f2e42a337
Added an option to turn off the aliases in the type system ast
...
builder.
13 years ago
Mike Krüger
8caca2441e
Fixed possible null reference exception.
13 years ago
Mike Krüger
13944c2a6b
[CodeIssues] Removed some debug spew.
13 years ago
Mike Krüger
fe88a0e25e
[CodeAction] Fixed possible null reference exception.
13 years ago
Mike Krüger
ba05b603fd
Removed other static cfg builder.
13 years ago
Mike Krüger
e4f071e19d
Removed static control flow graph builder.
13 years ago
Daniel Grunwald
3f2abc2591
Fixed TypeSystemAstBuilder not using short type name when there is a property with the same name.
13 years ago
Simon Lindgren
cdf2e04c81
Replace FindReferences with context.FindReferences in MultipleEnumerationIssue.
13 years ago
Simon Lindgren
1726ac4fcd
Replace FindReferences with context.FindReferences in ValueParameterUnusedIssue.
13 years ago
Simon Lindgren
6c2336b582
[CodeIssues] Add helper FindReferences(AstNode, IVariable) to BaseRefactoringContext.
13 years ago
Simon Lindgren
6458118ceb
Replace FindReferences with LocalReferenceFinder in ForControlVariableNotModifiedIssue.
13 years ago
Simon Lindgren
2e21c6e2f0
Add fast check to discard most invocations early in ReferenceEqualsCalledWithValueTypeIssue.
13 years ago
Simon Lindgren
db31f5f80d
Add fast check to discard most invocations early in FormatStringIssue.
13 years ago
Simon Lindgren
ea1c7410f0
Speed up RedundantToStringIssue a bit.
13 years ago
Simon Lindgren
7b86a384df
[CodeIssues] Optimize IncorrectExceptionParameterOrderingIssue.
13 years ago
Simon Lindgren
8be6f487e9
Replace FindReferences with LocalReferenceFinder in VariableNotUsedIssue.
13 years ago
Simon Lindgren
b6cbd38edd
Add check to disqualify most invocations early in OptionalParameterCouldBeSkippedIssue.
13 years ago
Simon Lindgren
1d129a6a74
Replace FindReferences with LocalReferenceFinder in RedundantAssignmentIssue.
13 years ago
Simon Lindgren
b1860b1f07
Replace FindReferences with LocalReferenceFinder in AccessToClosureIssue.
13 years ago
Simon Lindgren
6ec44d10d5
Replace FindReferences with LocalReferenceFinder in {Variable,Parameter}OnlyAssignedIssue.
13 years ago
Simon Lindgren
c518c640f1
[Refactoring] Add LocalReferenceFinder.
13 years ago
Daniel Grunwald
f558b300e7
Revert "[AST] Handled protected and/or internal on AST level."
...
"protected internal" and "internal protected" are the same thing in C#.
Both map to ProtectedOrInternal; the ProtectedAndInternal accessibility is
not usable from C#.
This reverts commit b5ad2882ca
.
13 years ago
Mike Krüger
b5ad2882ca
[AST] Handled protected and/or internal on AST level.
13 years ago
Mike Krüger
fc72147b88
[Refactoring] Script now corrects the formatting of inserted &
...
replaced nodes.
13 years ago
mkrueger
bb8df03211
[CodeIssue] Fixed bug in redundant type cast issue.
13 years ago