Simon Lindgren
1b96e9b091
[Utils] Add lots of error checks to CompositeFormatStringParser.
13 years ago
Simon Lindgren
11c428e10f
[Utils] Add CompositeFormatStringParser and related classes.
13 years ago
Simon Lindgren
1133382741
[CodeIssues] Add missing class IsTypeCriterion.
13 years ago
Simon Lindgren
2307bcb184
[CodeIssues] ParameterCanBeDemotedTests: Add checks for what types variables are used as.
13 years ago
Simon Lindgren
03ea217574
[CodeIssues] Rename CallToStaticMemberViaDerivedTypeIssue to ReferenceToStaticMemberViaDerivedTypeIssue.
13 years ago
Simon Lindgren
a3e6c147b6
[CodeIssues] Handle members in CallToStaticMemberViaDerivedTypeIssue.
13 years ago
Simon Lindgren
7a9fdf4c08
[CodeIssues] Make CallToVirtualFunctionFromConstructorIssue less whiny.
13 years ago
Simon Lindgren
1a7d2e1379
[CodeIssues] CallToStaticMemberViaDerivedTypeIssue: Ignore member methods of the current class.
13 years ago
Simon Lindgren
6f2aed19b4
[CodeIssues] ParamaterCanBeDemotedIssue: Don't crash on parameters that aren't used.
13 years ago
Simon Lindgren
ce1e2ee157
[CodeIssues] Fix crashes in VariableDeclaredInWideScopeIssue.
13 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)
13 years ago
Daniel Grunwald
459a2ef9f5
Fixed bug resolving indexer parameter declarations (was introduced with #66 [ 9476183
]).
13 years ago
Daniel Grunwald
0aa37bcf44
Add lazy-loading support to CecilLoader.
13 years ago
Simon Lindgren
be0d89c486
[CodeIssues] Improve ParameterCouldBeDemotedIssue.
13 years ago
Simon Lindgren
61044a86f4
[CodeIssues] Add initial version of ParameterCanBeDemotedIssue.
13 years ago
Mike Krüger
8a80ae0375
[Completion] Added pointer reference completion.
13 years ago
Simon Lindgren
77c9ccbb30
[CodeIssues] Rename VariableDeclaredInWideScopeIssue => VariableDeclaredInWideScopeTests in the test project.
13 years ago
Simon Lindgren
5720dc725d
[CodeActions] MoveToOuterScopeAction: Handle lambdas.
13 years ago
Simon Lindgren
4bae4ed209
[CodeIssues] Add VariableDeclaredInWideScopeIssue.
13 years ago
Simon Lindgren
774c7072ad
[CodeIssues] Change the namespace on IncorrectExceptionParameterOrderingIssue.
13 years ago
Simon Lindgren
ac2e8ef636
[CodeActions] Don't crash on null accessors in ValueParameterUnusedIssue.
13 years ago
Simon Lindgren
3ec073f293
[CodeActions] Add MoveToOuterScopeAction.
13 years ago
Mike Krüger
2de50218e7
Fixed failing unit test.
13 years ago
Simon Lindgren
4a3192df58
[CodeIssues] Add CallToStaticMemberViaDerivedTypeIssue.
13 years ago
Simon Lindgren
9d5a384286
[CodeActions] Add ConvertToInitializerAction.
13 years ago
Erik Källén
0bf9891a8e
ResolveResults for dynamic expressions
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
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
Daniel Grunwald
806869e563
Add IType.GetAccessors().
...
Accessors now use EntityType.Accessor instead of EntityType.Method.
Added accessors support to DefaultMemberReference and ExplicitInterfaceImplementationMemberReference.
Removed hacky code from CecilLoader - we now allow IsExplicitInterfaceImplementation=true on 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
erikkallen
74adaba0e5
Test demonstrating problem with nesting anonymous objects.
13 years ago
erikkallen
da0feac286
Another one of those x.IsOverride = y.IsOverridable issues.
13 years ago
erikkallen
8431aa0039
Fixed bugs with events: 1) Assignment of IsOverride to IsOverridable, and 2) AccessorOwner not being set for auto-events.
13 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
13 years ago
erikkallen
4d868ba2b3
Failing test with explicit indexer implementation
13 years ago
erikkallen
7e2a5a32bb
Tests for ImplementedInterfaceMembers for indexer accessors.
13 years ago
erikkallen
baad38a590
Tests demonstrating that the accessors for a property that implements an interface property do not have any ImplementedInterfaceMembers.
13 years ago
erikkallen
840cde91d4
Failing test for IsOverride flag of accessors.
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