Simon Lindgren
53d9b6e7ee
[CodeIssues] Fix some false positives in ParameterCanBeDemotedIssue.
13 years ago
Simon Lindgren
3ae6b9f450
[CodeIssues] FormatStringIssue: Handle extra arguments that do not have a matching formal parameter.
13 years ago
Simon Lindgren
e5f346bd92
[CodeIssues] Add OptionalParameterCouldBeSkippedIssue.
13 years ago
Simon Lindgren
3757871511
[CodeIssues] FormatStringIssue: Show errors in TextSegments too.
13 years ago
Simon Lindgren
101294e394
[Utils] CompositeFormatStringParser: More error handling + refactoring of the code.
13 years ago
Simon Lindgren
ef6302d99c
[Utils] CompositeFormatStringParser: Handle unclosed format items better
13 years ago
Simon Lindgren
900aec2f54
[CodeIssues] Add FormatStringIssue.
13 years ago
Simon Lindgren
d2474e5305
[Utils] Make CompositeFormatStringParser.Parse() wrap the segments in a class instead of just returning an IEnumerable.
13 years ago
Simon Lindgren
185779b2b5
[Utils] Add more error checks to CompositeFormatStringParser.
13 years ago
Simon Lindgren
7edf902fea
[Utils] More error handling in CompositeFormatStringParser.
13 years ago
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