Mike Krüger
1994d5b21e
Reformatted some files.
13 years ago
Mike Krüger
93285cc053
Public constructor issue now marks the name token.
13 years ago
leoowen19
73f679e6c3
[CodeIssue] Modified PublicConstructorInAbstractClass issue to support Resharper disable comment
13 years ago
ciplogic
d1196a8ffb
Fixes bug #10728 (Auto-Fix regarding control flow: "Convert to correct type")
13 years ago
ciplogic
4fe454fd59
Fixes bug 11710 based on review of Daniel Grunwald
13 years ago
Daniel Grunwald
d1be453e2a
Fix return value conversion within async lambda.
13 years ago
leoowen19
579d2aca48
[CodeIssue]PublicConstructorInAbstractClass
...
Convert modifiers of constructors in Abstract class from "public" to
"protected".
13 years ago
leoowen19
511439be30
[CodeIssue] Reformatted three code issue files
13 years ago
Mike Krüger
db4a4ee299
Corrected some settings in the allman formatting style.
13 years ago
Mike Krüger
827a7f38d4
Use OfType to find constructor declarations.
13 years ago
leoowen19
42921dca18
[CodeIssue] Redundant Constructor issue
...
Do not need an empty constructor
13 years ago
ciplogic
afe570f1fb
Give the same names for code issues to their R# equivalents to make possible disabling them
13 years ago
ciplogic
ce7ba9ad64
Fasten the search visitor by ignoring some top level constructs
13 years ago
Daniel Grunwald
d9076125a3
Add ConstructorInitializerType.Any for more flexible pattern matching on constructor initializers.
13 years ago
Mike Krüger
da89feb228
Added missing formatting option.
13 years ago
leoowen19
0d99a1c634
Two new code issues
...
1. Static contructor cannot take parameters.
2. Static constructor cannot take access modifier.
13 years ago
ciplogic
619cffddae
Added Resharper disable keyword
13 years ago
ciplogic
4990bc3155
Fixed issues based on great feedback of dgrunwald .
13 years ago
ciplogic
e5f2c0bfd6
Add the capability to remove base call if is not needed. It exposes some classes so maybe I'm not using the proper APIs. But it works good for practical the test case I wrote.
13 years ago
Mike Krüger
4a9475457b
Fixed delegate maching constructors/operators etc.
13 years ago
Mike Krüger
d22b96f12c
Fixed formatting bug.
13 years ago
Mike Krüger
b342171a1e
Operations can now be named.
13 years ago
Mike Krüger
5a5e54bf41
ConvertToStaticMethodAction now converts member reference expressions
...
as well.
13 years ago
Mike Krüger
07da20180e
Added method for solution wide code actions.
13 years ago
ciplogic
ac9732776c
Makes not static methods
...
A better than nothing implementation of Bug #10730 .
https://bugzilla.xamarin.com/show_bug.cgi?id=10730
When multi-file tracking of methods is implemented, the change should change the usages of variables.Call(...) to ClassName.Call(...)
13 years ago
ciplogic
f806f635be
Auto-Fix for remove redundant assignment have issues in some cases (Part II) fixes
13 years ago
Mike Krüger
74ea8505b8
Added fix from Ciprian Khlud<ciprian.mustiata@yahoo.com>: Fix in
...
hoping to address the issues regarding some edge cases of remove
redundant variables in relation with functions.
13 years ago
Mike Krüger
01d4361350
Reformatted redundant null check.
13 years ago
leoowen19
ee3c6e89ed
[CodeIssue] Redundant Null Check
...
No need to check null where is keyword exits.
13 years ago
Mike Krüger
1f1793e907
Changed resolver logging in mcs.
13 years ago
Mike Krüger
e573cff18a
Only check attributes, when check id is set.
13 years ago
Mike Krüger
d8314d7e49
Implemented array initializer formatting.
13 years ago
Mike Krüger
d9317cbc6e
Removed debug code.
13 years ago
Daniel Grunwald
94f4e15e11
Revert "DepthFirstAstVisitor no longer tries to visit the children of non C#"
...
This reverts commit 158b5176a2
.
The optimization was invalid; the VisitChildren() method is not
necessarily an unnecessary call on leaf nodes because it is virtual.
13 years ago
Mike Krüger
1d5c85f3f1
Implemented resharper disableing for redundant using directive.
13 years ago
Mike Krüger
020128ba58
CanBeDemotedIssue now respects the
...
CA1011:ConsiderPassingBaseTypesAsParameters suppression.
13 years ago
Mike Krüger
158b5176a2
DepthFirstAstVisitor no longer tries to visit the children of non C#
...
ast leaf nodes.
(Speeds up visitors a bit)
13 years ago
Mike Krüger
63daebebd6
Language version can now be set.
13 years ago
Mike Krüger
e0df113833
Fixed async lambda/delegate completion.
13 years ago
Mike Krüger
b2c93ac979
CodeDom visitor now skips new lines & white spaces.
13 years ago
Mike Krüger
538f016c46
Implemented code issue message suppression.
13 years ago
Mike Krüger
6ca65346ea
Removed debug message.
13 years ago
Mike Krüger
9b2bd8059e
Fixed completion bug.
13 years ago
Mike Krüger
a6e4150637
Added distinct color for the 'var' context sensitive keyword.
13 years ago
Mike Krüger
7224bedbc6
CSharpParser now seeds the AST with new line nodes when not in type
...
system mode.
13 years ago
Mike Krüger
610f0bfe2a
Refactored formatter (it needs now an ast seeded with new line
...
tokens).
13 years ago
Mike Krüger
fdab2395f0
Removed brace forcement formatting options.
...
They didn't work very well and shouldn't be part of the formatting
visitor (could be added with a FixBracementVisitor).
13 years ago
Mike Krüger
8704de6646
Implemented composed type formatting.
13 years ago
Mike Krüger
a96c0b75cf
Fixed issue with InvertIfAndSimplify.
13 years ago
Mike Krüger
772b66e109
Added code action from Ciprian Khlud <ciprian.mustiata@yahoo.com>:
...
InvertIfAndSimplify
13 years ago