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
db8e971297
[CodeAction] Add ContextAction attribute to MoveToOuterScopeAction.
13 years ago
Simon Lindgren
ce1e2ee157
[CodeIssues] Fix crashes in VariableDeclaredInWideScopeIssue.
13 years ago
Simon Lindgren
008aaa1d37
[CodeIssues] Factor out some type restriction finding infrastructure.
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
a7816c2f51
Fixed handling of user-defined conversions between primitive types.
...
Closes icsharpcode/NRefactory#68 .
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
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
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
Daniel Grunwald
77283dc2f1
Merge minor changes from SharpDevelop repository (mostly additional documentation for ResolveResults).
13 years ago
Daniel Grunwald
5d2fee1b90
Add CompilerSettings class instead of using the one from Mono.CSharp.
...
Added ResolveResult-treeview to NR.Demo.
13 years ago
Mike Krüger
6ba62c6740
[Formatting] Fixed override.
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
Mike Krüger
6e5b973924
[ContextAction] Added null check to create method.
13 years ago
Mike Krüger
fadffd3939
[Completion] Improved the closing tag insertion (xml documentation).
13 years ago
Mike Krüger
3dc44639dd
[Resolver] Array initalizers no longer show up in ResolveAtLocation.
13 years ago
Erik Källén
951d9a6bb0
Fix for the issue that user-defined explicit conversions don't work.
13 years ago
Mike Krüger
e058d6103b
[Completion] Improved xml document completion.
13 years ago
Mike Krüger
95bc695e51
[Completion] Be more general when providing type level keywords in
...
members.
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
3ded985188
[Formatting] Fixed overlapping changes issue.
13 years ago
Mike Krüger
d355b0f84b
[CodeIssues] Added indexer case.
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
9476183889
Fix for the parameter identity in accessors issue.
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
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
a2a0975eaa
Fixes IsOverridable flag for 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