Mike Krüger
1d32c620f3
Added support for explicit optional parameters.
13 years ago
Daniel Grunwald
64b8217fb0
Don't produce NegativeRelationalExpressionIssue inside operator declarations
13 years ago
Daniel Grunwald
e1471c0a8d
ParameterNotUsedIssue: add heuristic that prevents false positives for event handler methods when the event is registered in designer-generated code.
13 years ago
Daniel Grunwald
8e03cfeeb4
CallToVirtualFunctionFromConstructorIssue: avoid false positive when the call appears in an anonymous method
13 years ago
Daniel Grunwald
ca103100c6
Merge some bugfixes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
dac867d9ed
Fix pattern matching for ComposedType.BaseType.
13 years ago
Daniel Grunwald
911d47cb02
Indexer declaration: make "this" a token instead of an identifier
13 years ago
Daniel Grunwald
1b5b02e0a7
Use SyntaxTree.MemberRole for assembly attributes.
13 years ago
Daniel Grunwald
46881e6ea2
Un-ignore some tests that were fixed
13 years ago
Daniel Grunwald
964c2afbfe
Insert after last using instead of inserting before namespace declaration.
...
This affects the placement of whitespace.
13 years ago
Daniel Grunwald
a3949addb5
C# parser: preserve order of constraints
13 years ago
Daniel Grunwald
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Daniel Grunwald
7710a534de
DefaultSolutionSnapshot.AddCompilation now registers the project content for GetProjectContent(string projectFileName)
13 years ago
Mike Krüger
23fb23ca46
[CodeCompletion] Fixed variable hiding bug.
13 years ago
Mike Krüger
92ad81deaa
[CodeCompletion] Completion engine now can generate import completion
...
data.
13 years ago
Mike Krüger
43a8362c20
Fixed completion bug.
13 years ago
Mike Krüger
191c33d7b1
[CodeAction] Fixed bug in implement interface action.
13 years ago
Mike Krüger
340fd5e1d4
Fixed completion bug.
13 years ago
Mike Krüger
140fb308f0
[CodeActions] Extract method now works with comments.
13 years ago
Erik Källén
9875662562
Test demonstrating that a const field of type decimal is not considered constant by the cecil loader.
13 years ago
Mike Krüger
c520eaf996
[Formatting] Worked on C# indent engine.
13 years ago
Mike Krüger
b609c8d6f7
[Formatter] Worked on a indent engine.
13 years ago
mkrueger
a524d045ff
[CodeCompletion] Fixed code completion bug.
13 years ago
mkrueger
a2787c89c4
[Completion] Fixed completion bug.
13 years ago
Mike Krüger
a19009e322
[CodeCompletion] Fix bug with pre processor directives.
13 years ago
Erik Källén
06703663f0
Fixed await with generic awaiter types.
13 years ago
Mike Krüger
fab565a92d
[Resolver] Local resolve result no longer returns a constant value for
...
parameters.
Even if the parameters have a default value it's wrong to assume that
this is always the default value. See the unreachable code issue test.
13 years ago
Mike Krüger
b7b73a0907
Fixed orderby keyword.
13 years ago
Mike Krüger
a11077332f
Ignored failing test.
13 years ago
Mike Krüger
b35db0cf21
[CodeAction] Improved create event invocator action.
13 years ago
Mike Krüger
2f91ba1df8
[CodeIssues] Added failing test case for variable declared in wide
...
scope issue.
13 years ago
Mike Krüger
ae24ec4713
[CodeIssues] Fixed case in redundant else issue.
13 years ago
Mike Krüger
35428a6466
* RedundantAssignmentIssue.cs: [CodeIssues] Redundant assignment
...
issue no longer warns for using statement resource acquisitions.
* ParameterCompletionTests.cs:
* RedundantAssignmentIssueTests.cs: [CodeIssues] Redundant assignment
issue no longer warns for using statements.
13 years ago
Mike Krüger
24e26d337c
[Completion] Improved enum context handling.
13 years ago
Mike Krüger
c15e30de17
[NRefactory] Fixed completion bug.
13 years ago
Mike Krüger
584eb443b7
[Completion] Fixed completion bug.
13 years ago
Mike Krüger
5188f6968f
Added test for enumeration type hinting in completion.
13 years ago
Mike Krüger
08ee807d18
[CodeAction] Fixed bug in create field/property action.
13 years ago
Mike Krüger
e1760a55d0
[CodeAction] Fixed bug in create property code action.
13 years ago
Mike Krüger
b1a5ccffb1
[CodeAction] Fixed bug in create field/property action.
13 years ago
erikkallen
c615c9f730
Make 'await' resolve as in the C# 5.0 language specification.
...
This means that the awaiter type must implement INotifyCompletion and can optionally implement ICriticalNotifyCompletion.
13 years ago
Mansheng Yang
9622218439
[CodeIssues]RedundantAssignmentIssue: ignore assignments in try blocks
13 years ago
Erik Källén
1b45b0eeaa
Bug with comment just before try/catch/finally statement.
13 years ago
Mike Krüger
c48fe90874
[Completion] Fixed bug.
13 years ago
Simon Lindgren
f4fdb0c5a0
[CodeIssues] Don't move variable declarations into the list of initializer statements of for statements.
13 years ago
Simon Lindgren
7ad55831ac
[CodeIssues] Add accessibility checking to VariableHidesMemberIssue.
13 years ago
Simon Lindgren
a64d00953d
[Utils] Improve error handling in CompositeFormatStringParser.
13 years ago
Daniel Grunwald
536b9b0b1c
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
13 years ago
Daniel Grunwald
e6bc300e1e
Don't show "expression is never of the provided type" warning if the type could not be resolved.
13 years ago
Daniel Grunwald
fe815dc2a0
Fixed false positive that caused a 'is operator always returns true' warning even though it returns false. (e.g. 'intVar is double')
13 years ago