Mansheng Yang
754adbcf51
AccessToModifiedClosureIssue: always use "var" keyword to avoid some null type issues, fixed "fails for field declaration" issue.
13 years ago
Mansheng Yang
549d6bb08d
ExtractAnonymousMethodAction: Fixed "fails to insert generated method when anonymous method is not in a method" issue
13 years ago
Erik Källén
0bf9891a8e
ResolveResults for dynamic expressions
13 years ago
Mansheng Yang
cf08a17e8a
AccessToClosureIssue: fixed some constructor issues
13 years ago
Mansheng Yang
b37dedfa87
[CodeIssue] Added LocalVariableOnlyAssignedIssue and ParameterOnlyAssignedIssue
13 years ago
Mike Krüger
3e2fe59188
[CodeActions] Added Task async excecution for insertion & link modes.
13 years ago
Daniel Grunwald
585ae50c2f
CSharpAstResolver: don't return the same ResolveResult for two different nodes.
...
(make clones when using caches)
Closes icsharpcode/NRefactory#46 .
13 years ago
Mike Krüger
08636dbabc
[Completion] Fixed named argument completion bug.
13 years ago
Mike Krüger
fbc1cfd0c9
Fixed some failing unit tests.
13 years ago
Mansheng Yang
1c0a7305f5
[CodeIssue] TypeParameterNotUsedIssue: removed the fix because it may introduce errors.
13 years ago
Mansheng Yang
454bfe5e39
[CodeIssue] LocalVariableNotUsedIssue: Find unused foreach variable
13 years ago
Mansheng Yang
ca048e63e8
[CodeIssue] Added VariableNotUsedIssue, ParameterNotUsedIssue and TypeParameterNotUsedIssue
13 years ago
Erik Källén
0fec8d3474
Failing test that demonstrates that explicit user-defined conversions don't work.
13 years ago
Mike Krüger
e058d6103b
[Completion] Improved xml document completion.
13 years ago
Simon Lindgren
4ac7fecf0a
[Refactoring] Don't suggest names that are used in a parent scope when falling back to numbered names.
13 years ago
Mike Krüger
da2eea8353
[CodeIssues] Improved naming check (skipp overriden members).
13 years ago
Mike Krüger
4c875208f4
[CodeAction] Create field now works on member reference expressions
...
with 'this.' target.
13 years ago
Erik Källén
1363faf788
Tests demonstrating issues with parameter identity in accessors.
13 years ago
Simon Lindgren
13ca3511df
[CodeActions] Make IterateViaForeachAction use names based on their type and add handling of using and for statements.
13 years ago
Simon Lindgren
da5bbf381e
[Refactoring, Competion] Add NamingHelper, use it from CSharpCompletionEngine and add convenience functions to RefactoringContext.
13 years ago
Mansheng Yang
728bf05224
[CodeIssue] Added AccessToModifiedClosureIssue and AccessToDisposedClosureIssue
13 years ago
erikkallen
74adaba0e5
Test demonstrating problem with nesting anonymous objects.
13 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
13 years ago
Simon Lindgren
4d602909ea
[CodeAction] IterateViaForeachAction: Add tests for slightly invalid expression statements and use Script.InsertAfter() to avoid problematic formatting.
13 years ago
Simon Lindgren
97185cf062
[Refactoring] Add optional parameter expectErrors = false to ContextActonTestBase.Test().
13 years ago
Simon Lindgren
0c9704d216
[Parser] Give ExpressionStatements with an invalid expression a semicolon if there was one in the file.
13 years ago
Simon Lindgren
b5b1bd1975
[CodeActions] Ignore whitespace tests for now.
13 years ago
Simon Lindgren
c45b646f31
[CodeActions] Handle AssignmentExpressions differently in IterateViaForeachAction.
13 years ago
Simon Lindgren
a546a8f7c1
[CodeActions] Rename SetterDoesNotUseValueParameterAction to ValueParameterUnusedAction and generalize it to include event accessors as well.
13 years ago
Simon Lindgren
c8f36ae31b
[CodeActions] Handle auto-setters and missing setters in SetterDoesNotUseValueParameterIssue.
13 years ago
Simon Lindgren
f99663b90e
[CodeActions] Add IterateViaForeachAction.
13 years ago
Simon Lindgren
1e6366359d
[CodeActions] Add failing unit tests for whitespace preservation in in AddCatchTypeAction and RemoveRedundantCatchTypeAction.
13 years ago
Simon Lindgren
05f8cfeb81
[CodeActions] Don't return a convert to extension method call code action if the call is already using extension method syntax.
13 years ago
Daniel Grunwald
bf6217d038
Improved CodeDomConvertVisitor.
13 years ago
Mansheng Yang
c8f211550e
[CodeAction] Added ExtractAnonymousMethodAction
13 years ago
Mike Krüger
81c7daa563
[Completion] Renamed IMemberProvider -> ICompletionContextProvider.
13 years ago
Mike Krüger
6cbda46563
[Completion] It's no longer needed to specify a parsed file for the
...
completion engine.
13 years ago
Simon Lindgren
4ca0f1d375
[CodeAction] Add code actions for converting between static method calls and extension method calls.
13 years ago
Mansheng Yang
3597535b9e
[CodeAction] Added ConvertConditionalToIfAction and ConvertIfToConditionalAction
13 years ago
Mike Krüger
39ac51cf09
[Completion] Made API a bit simpler.
13 years ago
Mike Krüger
d60aaebc8a
[Completion] Member provider now needs to be given in the constructor.
13 years ago
Mike Krüger
4e44369854
[CodeIssues] Fdg rules now apply only to public & protected entities.
...
(The Fdg rules only apply to that, we were more restrictive).
13 years ago
Mike Krüger
b0c73cc6a8
[CodeIssues] Fixed fdg naming rules.
13 years ago
Daniel Grunwald
050035186c
Simplify API for retrieving compiler errors/warnings.
13 years ago
Simon Lindgren
e60567ab86
[Resolver] Give the value parameter a domregion close to the setter or adder.
...
Previously the value parameters were given the start and end location (0, 0) which was problematic for the
FindReferences class which uses this information to decide if two variables are the same when finding references.
13 years ago
Simon Lindgren
47da624e7e
[CodeIssue] Add CallToVirtualFunctionFromConstructorIssue.
13 years ago
Simon Lindgren
8e94126c11
[CodeIssue] Add IncorrectExceptionParameterOrderingIssue.
13 years ago
Simon Lindgren
2396e99ca4
[CodeIssue] Add SetterDoesNotUseValueParameterIssue.
13 years ago
Simon Lindgren
b6203ac3e8
[CodeAction] Add AddCatchTypeAction.
13 years ago
Mansheng Yang
4da8bc816d
[Code Action] Only show ConvertIfToSwitchAction on 'if' token
13 years ago