Mike Krüger
650d2fe644
Code actions now have a start/end location instead of an ast node.
...
Not all actions have an ast node - but a start/end location. And the
location is what I need atm in the editor.
13 years ago
Mike Krüger
925de642b5
Code actions can now be bound to an ast node.
13 years ago
Daniel Grunwald
ee5d87a0f8
Add year to license headers.
13 years ago
Mike Krüger
8be2eeef65
Fixed some false positives in parameter not used issue.
13 years ago
Daniel Grunwald
647af8b485
Fix NullReferenceException in SpecializedMethod.AccessorOwner
13 years ago
Daniel Grunwald
a567138c23
ValueParameterUnusedIssue: highlight only the 'get'/'set'/'add'/'remove' keyword, not the whole accessor body
13 years ago
mkrueger
3b46fef92b
Fixed bug in redundant field initializer issue.
13 years ago
Mike Krüger
69d4fd1ff1
RedundantAssignment issue is now more careful when removing
...
invocations.
13 years ago
Mike Krüger
f700607114
SimplifyAnonymousMethodToDelegateIssues now doesn't touch too complex
...
expressions.
13 years ago
Daniel Grunwald
d267602fec
Fix crash when 'return 1;' occurs within a constructor declaration.
13 years ago
Mike Krüger
dc10a67ce7
[CodeIssues] Fixed naming issue.
13 years ago
Mike Krüger
d47e38efe7
[CodeIssues] Fixed bug in CS0127 issue.
13 years ago
Mike Krüger
9247e292c8
Use compiler error message for the issue provider.
13 years ago
Mike Krüger
40a2b81b43
Implemented issue provider for CS0127: A method with a void return
...
type cannot return a value.
This issue provider got requested - and I need to start somewhere to
implement semantic error issue providers.
13 years ago
Mike Krüger
40df125015
fixed argument count check in new code issue.
13 years ago
Mike Krüger
f480c60aec
Added new code issue to simplify anonymous methods to delegate usages.
13 years ago
Mike Krüger
551869bd41
VariableDeclaredInWideScopeIssue no longer suggests moving method call
...
initializers.
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
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
ee0479e2ff
Remove redundant empty argument list is now much less intrusive.
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
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
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
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
Mansheng Yang
9622218439
[CodeIssues]RedundantAssignmentIssue: ignore assignments in try blocks
13 years ago
Simon Lindgren
f4fdb0c5a0
[CodeIssues] Don't move variable declarations into the list of initializer statements of for statements.
13 years ago
Simon Lindgren
7ad55831ac
[CodeIssues] Add accessibility checking to VariableHidesMemberIssue.
13 years ago
Daniel Grunwald
536b9b0b1c
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
13 years ago
Daniel Grunwald
99bbb11ded
Add 'ResultOfAsyncCallShouldNotBeIgnored' issue.
13 years ago
Daniel Grunwald
e6bc300e1e
Don't show "expression is never of the provided type" warning if the type could not be resolved.
13 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')
13 years ago
Mike Krüger
a50b205d6b
[CodeIssues] Fixed unused parameters for methods used as delegates and
...
event handlers.
13 years ago