Mike Krüger
91ee675380
Added some null checks.
13 years ago
Mike Krüger
9ad0a08e78
Fixed potential ArgumentOutOfRangeException.
13 years ago
Daniel Grunwald
7c7a2ad588
Fix ArgumentException in StatementsToInitializerConverter.
13 years ago
Mike Krüger
16c7ed1863
Made GuessType methods public.
...
TODO: Improve this concept/move it to own class.
13 years ago
Daniel Grunwald
6c62a05f10
Fix crash in ConvertToInitializer context action.
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
60fc3694b7
Use StringComparison.Ordinal
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
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Daniel Grunwald
7d9c4596d1
Fix InvalidCastException in InconsistentNamingIssue.
13 years ago
Daniel Grunwald
72ee6eb22f
Copy over some fixes from SD5.
13 years ago
Mike Krüger
191c33d7b1
[CodeAction] Fixed bug in implement interface action.
13 years ago
Mike Krüger
140fb308f0
[CodeActions] Extract method now works with comments.
13 years ago
Daniel Grunwald
f24192d7b6
Both semicolon and comma are valid separators.
13 years ago
mkrueger
2bf58fd7b1
[CodeIssues] Did some performance optimizations of the
...
RedundantToStringIssue.
13 years ago
Mike Krüger
8cee8f532c
Fixed some compiler warnings.
13 years ago
Mike Krüger
ce08faa068
[CodeIssues] Disabled AccessToXXXClosureIssue for now because of
...
performance reasons.
13 years ago
Mike Krüger
3eb4106ea2
[CodeIssues] CallToVirtualFunctionFromConstructorIssue doesn't need to
...
traverse the whole tree.
13 years ago
Mike Krüger
38947e35f0
[CodeIssues] Speed up inconsistent naming issue.
13 years ago
Mike Krüger
f699f59432
[CodeActions] Added new property to improve the user experience by
...
connecting code actions to issues.
13 years ago
Mike Krüger
b35db0cf21
[CodeAction] Improved create event invocator action.
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
afb4b595e4
[CodeActions] Gave extract field action a better name.
13 years ago
Mike Krüger
9243fad286
[CodeAction] Fixed bug in create overload without parameter action.
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
Mansheng Yang
9622218439
[CodeIssues]RedundantAssignmentIssue: ignore assignments in try blocks
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
Daniel Grunwald
536b9b0b1c
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
13 years ago
Daniel Grunwald
99bbb11ded
Add 'ResultOfAsyncCallShouldNotBeIgnored' issue.
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
810a1e8911
[Refactoring] Corrected formatting region.
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
Mike Krüger
be94aebdcc
[Refactoring] FormatText now specifies a formatting region. (speed
...
purposes)
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