Mike Krüger
54bb967d8a
Handled extension methods in type guessing code.
13 years ago
Mike Krüger
cf117bc6d7
Fixed failing unit test.
13 years ago
Mike Krüger
765d917d60
Revert "Revert "Implemented better way to handle extension method invocations.""
...
This reverts commit c26f61e813 .
13 years ago
Mike Krüger
c26f61e813
Revert "Implemented better way to handle extension method invocations."
...
This reverts commit d4afc75413 .
13 years ago
Mike Krüger
d4afc75413
Implemented better way to handle extension method invocations.
13 years ago
Mike Krüger
27913d73f1
AddAnotherAccessor action now works on auto properties.
13 years ago
Mike Krüger
e29ddf05c8
Fixed bug in extract method.
13 years ago
Mike Krüger
a741ec0dd8
Introduce constant action can now replace more than one occurence
...
(like declare local variable action).
13 years ago
Mike Krüger
243b39310e
Fixed some convert foreach to for action bugs.
13 years ago
Mike Krüger
ce739a62bf
Fixed bug in declare local action.
13 years ago
Daniel Grunwald
e781363b78
Include node reformatting in the undo group
13 years ago
Daniel Grunwald
6e6cf735a3
ParameterCanBeDemotedIssue: remove GetInheritanceDepth.
...
It has the potential for a stack overflow when there's cyclic inheritance.
The sorting already done by GetAllBaseTypes() should be good enough.
13 years ago
Daniel Grunwald
3d96f7c7ff
Add fix action to ExplicitConversionInForEachIssue.
13 years ago
Daniel Grunwald
67d80c8834
CompareFloatWithEqualityOperatorIssue: don't show warning when comparing with infinities.
13 years ago
Daniel Grunwald
f31aa291ae
ParameterCanBeDemotedIssue: Remove 'ConstructHasLocalIndependentTyping'
...
This fixes false positives when the parameter is used within lambdas passed to generic methods (e.g. LINQ).
13 years ago
Mike Krüger
4e104efc65
ParameterCanBeDemotedIssue no longer tries to demote arrays to ILists.
13 years ago
Mike Krüger
ecc15dde9a
Fixed bug in type system conversion (interface members can shadow
...
other members) & implement interface action bug.
13 years ago
Mike Krüger
ee0479e2ff
Remove redundant empty argument list is now much less intrusive.
13 years ago
Mike Krüger
25445fcd55
DeclareLocalVariable can now remove redundant parens.
13 years ago
Mike Krüger
5c45761c90
Fixed variable inlining missing parentheses issues.
13 years ago
Mike Krüger
eab84734b2
Fixed bug in create constructor action & implemented create enum value
...
action.
13 years ago
Mike Krüger
91ee675380
Added some null checks.
13 years ago
Mike Krüger
9ad0a08e78
Fixed potential ArgumentOutOfRangeException.
13 years ago
Daniel Grunwald
7c7a2ad588
Fix ArgumentException in StatementsToInitializerConverter.
13 years ago
Mike Krüger
16c7ed1863
Made GuessType methods public.
...
TODO: Improve this concept/move it to own class.
13 years ago
Daniel Grunwald
6c62a05f10
Fix crash in ConvertToInitializer context action.
13 years ago
Daniel Grunwald
64b8217fb0
Don't produce NegativeRelationalExpressionIssue inside operator declarations
13 years ago
Daniel Grunwald
e1471c0a8d
ParameterNotUsedIssue: add heuristic that prevents false positives for event handler methods when the event is registered in designer-generated code.
13 years ago
Daniel Grunwald
8e03cfeeb4
CallToVirtualFunctionFromConstructorIssue: avoid false positive when the call appears in an anonymous method
13 years ago
Daniel Grunwald
ca103100c6
Merge some bugfixes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
60fc3694b7
Use StringComparison.Ordinal
13 years ago
Daniel Grunwald
964c2afbfe
Insert after last using instead of inserting before namespace declaration.
...
This affects the placement of whitespace.
13 years ago
Daniel Grunwald
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Daniel Grunwald
7d9c4596d1
Fix InvalidCastException in InconsistentNamingIssue.
13 years ago
Daniel Grunwald
72ee6eb22f
Copy over some fixes from SD5.
13 years ago
Mike Krüger
191c33d7b1
[CodeAction] Fixed bug in implement interface action.
13 years ago
Mike Krüger
140fb308f0
[CodeActions] Extract method now works with comments.
13 years ago
Daniel Grunwald
f24192d7b6
Both semicolon and comma are valid separators.
13 years ago
mkrueger
2bf58fd7b1
[CodeIssues] Did some performance optimizations of the
...
RedundantToStringIssue.
13 years ago
Mike Krüger
8cee8f532c
Fixed some compiler warnings.
13 years ago
Mike Krüger
ce08faa068
[CodeIssues] Disabled AccessToXXXClosureIssue for now because of
...
performance reasons.
13 years ago
Mike Krüger
3eb4106ea2
[CodeIssues] CallToVirtualFunctionFromConstructorIssue doesn't need to
...
traverse the whole tree.
13 years ago
Mike Krüger
38947e35f0
[CodeIssues] Speed up inconsistent naming issue.
13 years ago
Mike Krüger
f699f59432
[CodeActions] Added new property to improve the user experience by
...
connecting code actions to issues.
13 years ago
Mike Krüger
b35db0cf21
[CodeAction] Improved create event invocator action.
13 years ago
Mike Krüger
ae24ec4713
[CodeIssues] Fixed case in redundant else issue.
13 years ago
Mike Krüger
35428a6466
* RedundantAssignmentIssue.cs: [CodeIssues] Redundant assignment
...
issue no longer warns for using statement resource acquisitions.
* ParameterCompletionTests.cs:
* RedundantAssignmentIssueTests.cs: [CodeIssues] Redundant assignment
issue no longer warns for using statements.
13 years ago
Mike Krüger
afb4b595e4
[CodeActions] Gave extract field action a better name.
13 years ago
Mike Krüger
9243fad286
[CodeAction] Fixed bug in create overload without parameter action.
13 years ago
Mike Krüger
08ee807d18
[CodeAction] Fixed bug in create field/property action.
13 years ago