Daniel Grunwald
e22be6ea28
Fix crash in ConvertIfToSwitchAction when there are nested if statements.
12 years ago
Daniel Grunwald
fb493193e3
AddAnotherAccessorAction: don't try to assign to readonly fields
12 years ago
Daniel Grunwald
1cec2e62f8
Ensure we pass the correct type argument to GatherVisitorBase<>.
12 years ago
Mike Krüger
5b30dbb1e2
ExpressionOfCompatibleTypeCastIssue no longer warns on implicit
...
conversions.
12 years ago
Daniel Grunwald
4a8a61ee2e
Fix false positives in SimplifyAnonymousMethodToDelegateIssue: the simplification is not possible when the lambda involves non-reference conversions.
12 years ago
Daniel Grunwald
f53526218d
Fix false positives in FormatStringIssue when params-parameter is used in unexpanded form.
12 years ago
Daniel Grunwald
658752eace
string.IsNullOrEmpty issue: detect 'str != null && str.Length > 0' pattern
12 years ago
Daniel Grunwald
b9e4d4841b
Fix false positive in ExpressionOfCompatibleTypeCastIssue
12 years ago
Mike Krüger
6c4d206dcd
Added failing completion test case.
12 years ago
Mike Krüger
5dec9ee365
Added DescendantNodes API.
12 years ago
Mike Krüger
fca6a67c0e
Fixed failing test.
12 years ago
Mike Krüger
87440682be
Fixed some issues in redundant catch issue.
12 years ago
Mike Krüger
4984985673
Added line preprocessor directive support.
12 years ago
Daniel Grunwald
5f67bc0933
Remove constructors from CSharpUnresolvedFile - they could be mistaken to load the specified file name.
12 years ago
Daniel Grunwald
552e132a7f
Add failing unit tests for #pragma checksum and #line preprocessor directives.
12 years ago
Daniel Grunwald
0783129bb7
Fix icsharpcode/NRefactory#183 : Implicit conversion detected as explicit conversion
12 years ago
Mike Krüger
a1bdce98ef
Added work around for issue #73 .
...
But needs to be fixed on parser level.
12 years ago
Mike Krüger
ae6b9e27cb
Fixed some preprocessor directive tests.
12 years ago
Mike Krüger
0ca084bb07
Updated mcs.
12 years ago
Mike Krüger
b7e8eea99d
Improved type guessing logic.
12 years ago
Mike Krüger
423b10b824
Fixed bug in simplify anonymous method issue.
12 years ago
Mike Krüger
c0e9973af1
Fixed abstract override in implement abstract members action.
12 years ago
Mike Krüger
eb89d55446
Disabled 'ParameterCanBeIEnumerableIssue'.
12 years ago
Daniel Grunwald
474920cdf7
Fix icsharpcode/NRefactory#181 : default keyword doesn't resolve properly on enum types
12 years ago
Daniel Grunwald
17c4315974
Rename IsExtensionMethodGroupConversion -> DelegateCapturesFirstArgument.
12 years ago
Daniel Grunwald
a2580063dd
Fix ExpressionOfCompatibleTypeCastIssue.
12 years ago
Daniel Grunwald
d09dc0e10a
Fix compiler warnings
12 years ago
Daniel Grunwald
e85128df57
Fix unit test failure due to mix of tabs and spaces.
12 years ago
Ciprian Khlud
82c272545a
Fixed spacing
12 years ago
Ciprian Khlud
8666d6ffae
Fix of bug #11855
...
https://bugzilla.xamarin.com/show_bug.cgi?id=11855
This will notify user to use after ifs, whiles and fors not colons, but blocks.
12 years ago
Mike Krüger
ba13e28750
Fixed bug in redundant assignment issue.
12 years ago
Mike Krüger
1ad8c17390
Fixed completion bug.
12 years ago
Mike Krüger
05c5931a05
Disabled convert to static method issue.
...
It's not clear to me how the body analyzation is working - it seems to
be missing at all. Therefore I disable this issue until it's
implemented.
12 years ago
Mike Krüger
f40346db06
Fixed some issues in convert to static method issue.
12 years ago
Mike Krüger
fa671aacff
Fixed duplicate if chain issue tests.
12 years ago
Mike Krüger
5f867c5321
Ignore duplicate body method issue.
...
I take that one out for now - tests are failing and that's a very
unlikely issue to happen.
12 years ago
Mike Krüger
78442bb33a
Fixed static constructor access modifier issue tests.
12 years ago
Ciprian Khlud
c43a3ee9c3
Remove duplicate ifs, in if/else chains in case that the expression is duplicated. It can happen in copy/paste cases.
...
Fixes formatting of the previous commit to match K&R style.
12 years ago
Ciprian Khlud
6e4f648b48
Added code issue to address bug #11856
...
https://bugzilla.xamarin.com/show_bug.cgi?id=11856
This works for expressions by doing the following:
- it looks if the expression is the first in a sequence of conditional expressions
- if is first, it extracts all expressions in the chained expressions
- after that it compares all expressions and if two are found as duplicates, the first duplicate is shown
The code fix will remove the duplicate expression.
This bug will also look to bit operations ( & and | ) as they have similar semantics
12 years ago
Luís Reis
e287bdb020
Fixed bug in TestRefactoringContext that attempted to put fields inside properties
12 years ago
Luís Reis
94cfe777b4
Improved ExtractFieldAction for static getters and setters.
12 years ago
Luís Reis
8602033a04
Improved ExtractField. Tests currently fail for variables in getters.
12 years ago
Luís Reis
3ea78f887a
Added (currently failing) tests for static fields. Minor formatting fixes.
12 years ago
Luís Reis
2710510610
Fixed ExtractFieldAction to handle type inference better and added unit tests that failed with the previous version.
12 years ago
Luís Reis
d57537f061
Added additional tests. One of new ones is failing.
12 years ago
Ciprian Khlud
3dcad69810
Remove "Remove Field Refactory" as it is dangerous.
12 years ago
Ciprian Khlud
bd486b50b0
Code updates
12 years ago
Ciprian Khlud
9db3f46cbc
Support non void arguments
12 years ago
Ciprian Khlud
ad0c12d1da
Sample implementation for bug #11866
...
https://bugzilla.xamarin.com/show_bug.cgi?id=11866
The test fails because EOLN issues for now, and it works just for methods that return void for now. But it does look for methods inside the classes that have same: arguments, return type and modifiers (so are duplicates)
12 years ago
Mike Krüger
1c86d72523
Revert "Simplified the scrip API a bit (insert cursor/links are no longer task"
...
I do it different.
This reverts commit 4fa3c33d6b
.
12 years ago