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
Mike Krüger
a50b205d6b
[CodeIssues] Fixed unused parameters for methods used as delegates and
...
event handlers.
13 years ago
Mike Krüger
28c635f11d
[CodeIssues] Removed LocalVariableOnlyAssignedIssue - it's redundant
...
and handled by RedundantAssignmentIssue
13 years ago
Mike Krüger
4d49d61ab5
[CodeIssues] Added type checking to string is null or empty issue.
13 years ago
Mike Krüger
8e1ed7e962
[Refactoring] Format text can now take a node list to format / fixed a
...
formatting issue.
13 years ago
Daniel Grunwald
e62e9469a7
Simplified ExpressionIsNeverOfProvidedTypeIssue and fixed false positive when converting from System.Object to value types.
13 years ago
Daniel Grunwald
e272d518b6
AssignmentMadeToSameVariableIssue: don't warn on "a += a;"
13 years ago
Daniel Grunwald
81c09524d6
Reference to static member via derived type: ignore curiously recurring template pattern
13 years ago
Daniel Grunwald
912017d123
RedundantWhereWithPredicateIssue: in addition to Any(), handle Count(),First(),FirstOrDefault(),Last(),LastOrDefault(),LongCount(),Single() and SingleOrDefault().
13 years ago
Daniel Grunwald
3e42bc1e6a
Don't show 'Method with optional parameter is hidden by overload' issue if the overloads have different type parameters.
13 years ago
Daniel Grunwald
9cdf7e71f9
Don't show 'method never returns' for iterators containing 'yield break;'
13 years ago
Daniel Grunwald
75925d5aaf
Fix #119 : LocalVariableOnlyAssignedIssue does not recognize usage through unary operator expression
13 years ago
Daniel Grunwald
ad431543a3
Fix NullReferenceException in IncorrectExceptionParameterOrderingIssue.
13 years ago
Daniel Grunwald
d4df4d9790
Fixed using implicit user-defined conversions as part of explicit conversions.
13 years ago
Daniel Grunwald
03f66e700f
CastExpressionOfIncompatibleTypeIssue: don't produce an issue when the source or target type is unknown.
13 years ago
Daniel Grunwald
eabc6dbfae
Don't warn on empty custom events.
13 years ago
Daniel Grunwald
c3f46aadfb
Move some code actions from 'CodeActions' namespace to refactoring namespace, to be consistent with all other code actions.
13 years ago
Daniel Grunwald
8f459c2460
Ensure IVariable.ConstantValue has the correct type when a local constant declaration involves an implicit conversion
...
E.g. "const int MAXSIZE = ushort.MaxValue;"
13 years ago
Daniel Grunwald
b500f468ac
Fix #120 : RedundantNamespaceUsageIssue bad handling of using aliases
13 years ago
Daniel Grunwald
27978f44c7
Add 'allowOptionalParameters' flag to MGRR.PerformOverloadResolution.
13 years ago
Daniel Grunwald
5e01d285d0
Fix InvalidCastException on invalid compile-time constant casts.
13 years ago
Daniel Grunwald
59cc439a30
Added delegate compatibility check to method-group conversions.
13 years ago
Mike Krüger
24e7b56613
Fixed cyclic constants.
13 years ago
Mike Krüger
8830b3fbac
Add unit test for cyclic constants.
13 years ago
Mike Krüger
5d20faf0c5
[Ast] Getting the end location of token nodes is now faster.
13 years ago
Daniel Grunwald
07fc74aaf4
Add special case for negative zero in CSharpOutputVisitor.
13 years ago
Lopatkin Ilja
4b3f83be72
Implemented code action to sort usings
13 years ago
Mike Krüger
eeec368713
Fixed completion bug.
13 years ago
Mike Krüger
f5cd8851cc
[CodeCompletion] Fixed completion bug.
13 years ago
Mike Krüger
5d8db35d10
Fixed ignored unit test.
13 years ago
Erik Källén
8d5536e2f6
Handle await expressions in find references.
13 years ago
Erik Källén
66f51bff3a
Added a separate AwaitResolveResult
13 years ago
Mike Krüger
be113cf37b
Fixed bug in parameter completion.
13 years ago