Simon Lindgren
ce1e2ee157
[CodeIssues] Fix crashes in VariableDeclaredInWideScopeIssue.
14 years ago
Daniel Grunwald
e62a04692b
Fixed resolving compile-time operations on enum types with an underlying type smaller than int. (always use unchecked context for the cast back to enum)
14 years ago
Daniel Grunwald
459a2ef9f5
Fixed bug resolving indexer parameter declarations (was introduced with #66 [ 9476183]).
14 years ago
Simon Lindgren
be0d89c486
[CodeIssues] Improve ParameterCouldBeDemotedIssue.
14 years ago
Simon Lindgren
61044a86f4
[CodeIssues] Add initial version of ParameterCanBeDemotedIssue.
14 years ago
Mike Krüger
8a80ae0375
[Completion] Added pointer reference completion.
14 years ago
Simon Lindgren
77c9ccbb30
[CodeIssues] Rename VariableDeclaredInWideScopeIssue => VariableDeclaredInWideScopeTests in the test project.
14 years ago
Simon Lindgren
5720dc725d
[CodeActions] MoveToOuterScopeAction: Handle lambdas.
14 years ago
Simon Lindgren
4bae4ed209
[CodeIssues] Add VariableDeclaredInWideScopeIssue.
14 years ago
Simon Lindgren
774c7072ad
[CodeIssues] Change the namespace on IncorrectExceptionParameterOrderingIssue.
14 years ago
Simon Lindgren
ac2e8ef636
[CodeActions] Don't crash on null accessors in ValueParameterUnusedIssue.
14 years ago
Simon Lindgren
3ec073f293
[CodeActions] Add MoveToOuterScopeAction.
14 years ago
Mike Krüger
2de50218e7
Fixed failing unit test.
14 years ago
Simon Lindgren
4a3192df58
[CodeIssues] Add CallToStaticMemberViaDerivedTypeIssue.
14 years ago
Simon Lindgren
9d5a384286
[CodeActions] Add ConvertToInitializerAction.
14 years ago
Erik Källén
0bf9891a8e
ResolveResults for dynamic expressions
14 years ago
Mike Krüger
3e2fe59188
[CodeActions] Added Task async excecution for insertion & link modes.
14 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 .
14 years ago
Mike Krüger
08636dbabc
[Completion] Fixed named argument completion bug.
14 years ago
Mike Krüger
fbc1cfd0c9
Fixed some failing unit tests.
14 years ago
Erik Källén
0fec8d3474
Failing test that demonstrates that explicit user-defined conversions don't work.
14 years ago
Mike Krüger
e058d6103b
[Completion] Improved xml document completion.
14 years ago
Simon Lindgren
4ac7fecf0a
[Refactoring] Don't suggest names that are used in a parent scope when falling back to numbered names.
14 years ago
Mike Krüger
da2eea8353
[CodeIssues] Improved naming check (skipp overriden members).
14 years ago
Mike Krüger
4c875208f4
[CodeAction] Create field now works on member reference expressions
...
with 'this.' target.
14 years ago
Erik Källén
1363faf788
Tests demonstrating issues with parameter identity in accessors.
14 years ago
Simon Lindgren
13ca3511df
[CodeActions] Make IterateViaForeachAction use names based on their type and add handling of using and for statements.
14 years ago
Simon Lindgren
da5bbf381e
[Refactoring, Competion] Add NamingHelper, use it from CSharpCompletionEngine and add convenience functions to RefactoringContext.
14 years ago
erikkallen
74adaba0e5
Test demonstrating problem with nesting anonymous objects.
14 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
14 years ago
Simon Lindgren
4d602909ea
[CodeAction] IterateViaForeachAction: Add tests for slightly invalid expression statements and use Script.InsertAfter() to avoid problematic formatting.
14 years ago
Simon Lindgren
97185cf062
[Refactoring] Add optional parameter expectErrors = false to ContextActonTestBase.Test().
14 years ago
Simon Lindgren
0c9704d216
[Parser] Give ExpressionStatements with an invalid expression a semicolon if there was one in the file.
14 years ago
Simon Lindgren
b5b1bd1975
[CodeActions] Ignore whitespace tests for now.
14 years ago
Simon Lindgren
c45b646f31
[CodeActions] Handle AssignmentExpressions differently in IterateViaForeachAction.
14 years ago
Simon Lindgren
a546a8f7c1
[CodeActions] Rename SetterDoesNotUseValueParameterAction to ValueParameterUnusedAction and generalize it to include event accessors as well.
14 years ago
Simon Lindgren
c8f36ae31b
[CodeActions] Handle auto-setters and missing setters in SetterDoesNotUseValueParameterIssue.
14 years ago
Simon Lindgren
f99663b90e
[CodeActions] Add IterateViaForeachAction.
14 years ago
Simon Lindgren
1e6366359d
[CodeActions] Add failing unit tests for whitespace preservation in in AddCatchTypeAction and RemoveRedundantCatchTypeAction.
14 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.
14 years ago
Daniel Grunwald
bf6217d038
Improved CodeDomConvertVisitor.
14 years ago
Mike Krüger
81c7daa563
[Completion] Renamed IMemberProvider -> ICompletionContextProvider.
14 years ago
Mike Krüger
6cbda46563
[Completion] It's no longer needed to specify a parsed file for the
...
completion engine.
14 years ago
Simon Lindgren
4ca0f1d375
[CodeAction] Add code actions for converting between static method calls and extension method calls.
14 years ago
Mike Krüger
39ac51cf09
[Completion] Made API a bit simpler.
14 years ago
Mike Krüger
d60aaebc8a
[Completion] Member provider now needs to be given in the constructor.
14 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).
14 years ago
Mike Krüger
b0c73cc6a8
[CodeIssues] Fixed fdg naming rules.
14 years ago
Daniel Grunwald
050035186c
Simplify API for retrieving compiler errors/warnings.
14 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.
14 years ago