Mike Krüger
f7e1c35fdf
Fixed bug in IdStringProvider.ParseTypeName.
12 years ago
Mike Krüger
929dc52f3f
Disabled VariableDeclaredInWideScopeIssue.
...
This may destroy code - see
"DoesNotSuggestMovingIntoBodyAfterMethodCall". This issue requires
some extra logic. I doubt that the issue is useful any longer when
that logic is implemented. Safely moved can only be constant
expressions (which should be handled by the compiler anyway). It needs
to check that it doesn't move non constant code beyond any
method/property usage or field assignments - there are no much use
cases left for that action.
12 years ago
Mike Krüger
06ad4c8218
Added unit test for CS0029InvalidConversionIssue.
12 years ago
Mike Krüger
0974a50e89
Cleaned up some code.
12 years ago
Mike Krüger
fce1859c06
Fixed some issues in the IkvmLoader.
...
It's now 98% working.
12 years ago
Daniel Grunwald
e1f13aaedf
Replace ExpressionOfCompatibleTypeCastIssue with CS0029InvalidConversionIssue.
12 years ago
Daniel Grunwald
1e1ed360aa
Fix ExpressionOfCompatibleTypeCastIssue: assigning a literal 0 to an enum-type variable is valid
12 years ago
Daniel Grunwald
c1aa0acd09
Remove unreachable code
12 years ago
Daniel Grunwald
e22be6ea28
Fix crash in ConvertIfToSwitchAction when there are nested if statements.
12 years ago
Mike Krüger
fabbe8bc90
Improved the Ikvm loader.
...
It's still not a 100% replacement - 6 tests are failing.
12 years ago
Mike Krüger
5f98837c3c
Added first implementation of an ikvm assembly loader (no cecil loader
...
replacement yet).
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
Mike Krüger
81c06bd868
Fixed potential bug in 'NoDefaultConstructorIssue'.
12 years ago
Daniel Grunwald
44f40d755f
Fix bug in AstNode.GetDescendantsImpl() that caused several unit tests to fail.
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
90c729419e
Fixed bug in cecil loader.
12 years ago
Mike Krüger
6133647c68
GetPotentiallyNestedClassTypeReference no longer returns null on
...
resolve.
12 years ago
Mike Krüger
e3c40ba7f3
Fixed xml doc formatting bug.
12 years ago
Mike Krüger
774e949bdb
Fixed formatting bug.
12 years ago
Mike Krüger
8826ae7f1c
Added wrapping formatting bug.
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
6eba7eb798
Moved Severity/IssueMarker to NRefactory. This eliminates a
...
NRefactory.C# dependency in IDE code using these two enums to create
the markers & makes it easier to use these enums in other language
refactoring plugins.
12 years ago
Mike Krüger
87440682be
Fixed some issues in redundant catch issue.
12 years ago
Mike Krüger
214d2ea275
Fixed formatting bug.
12 years ago
Mike Krüger
67770bcacc
Added constraint new () parens to the AST / fixed constraint
...
formatting bug.
12 years ago
Mike Krüger
d8f68d6c01
The redundant assignment is now better at choosing the node which it
...
grays out.
12 years ago
Mike Krüger
a256898faa
Fixed formatting bug.
12 years ago
Mike Krüger
7a5afe919f
Fixed some issues in event formatting.
12 years ago
Mike Krüger
9521f329b3
Fixed formatting bug.
12 years ago
Mike Krüger
ae993f0ca4
Fixed some formatting issues.
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
Mike Krüger
d46054aa0f
Added more friendly error message in simple compilation in case of
...
wrong assembly references.
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
8e8aaf1ef6
No longer add empty attribute sections.
12 years ago
Mike Krüger
ae6b9e27cb
Fixed some preprocessor directive tests.
12 years ago
Mike Krüger
2326c36674
Fixed wrong token location.
12 years ago
Mike Krüger
0ca084bb07
Updated mcs.
12 years ago
Daniel Grunwald
51fd6baffd
Simplify code that checks whether an expression is a condition.
12 years ago
Daniel Grunwald
56b4450138
Make comment nodes for XML documentation part of the EntityDeclaration.
...
This removes the need for special cases in refactorings that move entities around.
12 years ago
Mike Krüger
862f3692be
Fixed formatting bug.
12 years ago