Mansheng Yang
ff4b265de7
[CodeIssue] Added MethodNeverReturnsIssue
13 years ago
Daniel Grunwald
087aee7fe8
Simplify parser API.
13 years ago
Mansheng Yang
83776a15f9
[CodeIssue] Added RedundantAttributeParenthesesIssue
13 years ago
Mike Krüger
34932efc78
[Parser] Hacked work around for parser error.
13 years ago
Mansheng Yang
29c686ab0a
[CodeIssue] Added DoubleNegationIssue
13 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
13 years ago
Simon Lindgren
73b80fc36b
[CodeIssues] CallToObjectViaBaseIssue: Ignore calls which do not target members of 'base'.
13 years ago
Daniel Grunwald
eaba9798d3
Rename 'cu' to 'syntaxTree'.
13 years ago
Daniel Grunwald
979fa91a2e
Fix icsharpcode/NRefactory#88 : implicit conversion between type parameters.
...
Convert from T to U where T : class, U. Only T is known to be a reference type; U is not.
C# still classifies the conversion as a reference conversion.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago
Simon Lindgren
93940f89f6
[CodeIssue] RedundantToStringIssue: Don't crash on parameter with declaration-less types.
13 years ago
Erik Källén
0af0137bdb
Use NamedArgumentResolveResult for dynamic invocations.
13 years ago
Erik Källén
7ece3ce722
Statements ending in select (i) now acts as if the statement was not parenthesized.
13 years ago
Simon Lindgren
17cdd1fabd
[CodeAction] Add ConvertInitializerToExplicitInitializationsAction.
13 years ago
Simon Lindgren
35475a2414
[Refactoring] Make NamingHelper less horrible and remove the helper from RefactoringContext.
13 years ago
Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
13 years ago
Daniel Grunwald
d6b4420940
Introduced NamedArgumentResolveResult.
13 years ago
Daniel Grunwald
6bd0bfc5a8
Add failing unit test for CompilationUnit.ConditionalSymbols.
13 years ago
Daniel Grunwald
0f82920267
GenerateProperty: do not propose to generate a setter if the field is readonly.
13 years ago
Mansheng Yang
574b3d2cd3
[CodeIssue] CompareFloatWithEqualityOperator: handle a failed test case
13 years ago
Mansheng Yang
0ee9c33716
[CodeIssue] Added ReferenceEqualsCalledWithValueTypeIssue
13 years ago
Mansheng Yang
10fc7380d9
[CodeIssue] Added ExpressionIsNeverOfProvidedTypeIssue
13 years ago
Mansheng Yang
0ba24d9ffc
[CodeIssue] Added ExpressionIsAlwaysOfProvidedTypeIssue
13 years ago
Daniel Grunwald
60607bcc65
Fix icsharpcode/NRefactory#86 : method declaration with attributes fails to resolve since 2926e24
.
13 years ago
Simon Lindgren
522d6c6cbd
[CodeActions] Fix bugs in ConvertToInitializer.
13 years ago
Simon Lindgren
88d89e7f98
[CodeActions] ConvertToInitializer: Handle collections with Add() calls taking multiple arguments.
13 years ago
Erik Källén
2426d1eca6
Rename method ExpandQueryExpression to ExpandQueryExpressions.
13 years ago
Simon Lindgren
e384bfba0f
[CodeActons] Handle more edge cases in ConvertToInitializer.
13 years ago
Erik Källén
0deb852e6d
Report parameter instead of its name token in the result map, unpack parenthesized expressions.
13 years ago
Simon Lindgren
4dbac01d20
[CodeActions] Fix bugs in ConvertToInitializerAction.
13 years ago
Mike Krüger
0eaf61ea30
[Completion] Fixed wrong delegate signature.
13 years ago
Mansheng Yang
384e0b608f
[CodeIssue] CompareFloatWithEqualityOperatorIssue: fixed 'NaN' issue
13 years ago
Mansheng Yang
f5d0318106
[CodeAction] JoinStringAction: handle the case when left operand is a BinaryOperatorExpression
13 years ago
Erik Källén
b0f16b2c6f
Test to ensure that range variables are not in scope for join equals expression, renamed method.
13 years ago
Erik Källén
cb034bd41d
Implemented QueryExpressionExpander.
13 years ago
Mansheng Yang
b8b2c61f09
[CodeIssue] Added CompareBooleanWithTrueOrFalseIssue
13 years ago
Mansheng Yang
93fae44c4b
[CodeAction] Added JoinDeclarationAndAssignmentAction
13 years ago
Simon Lindgren
f47fd7619e
[CodeIssues] RedundantToStringIssue: Also check formatting calls.
13 years ago
Mike Krüger
23d282d884
[Completion] Only check browsable attribute inside the same assembly.
13 years ago
Mike Krüger
a08bde615a
Fixed tests.
13 years ago
Mike Krüger
bea810b157
[Completion] Recognized browsable attributes / streamlined completion
...
API a bit.
13 years ago
Mansheng Yang
b14db35ce2
[CodeIssue] CompareFloatWithEqualityOperatorIssue: handle double.NaN case
13 years ago
Mansheng Yang
3be1ef1bda
[CodeIssue] NegativeRelationalExpressionIssue: no longer report issues for floating-point operations
13 years ago
Simon Lindgren
dbdb7c74dc
[CodeIssues] Handle non-object base classes in IncorrentCallTogetHashCodeIssue and CallToObjectEqualsViaBaseIssue.
13 years ago
Simon Lindgren
ecf167d3a1
[CodeIssues] Add IncorrectCalltoGetHashCodeIssue.
13 years ago
Mansheng Yang
0cf2d3940a
[CodeIssue] Renamed DoubleNegationExpressionIssue to NegativeRelationalExpressionIssue
13 years ago
Mansheng Yang
5307b168eb
[CodeAction] Added JoinStringAction
13 years ago
Simon Lindgren
783a79c42a
[CodeIssues] Add CallToObjectEqualsViaBaseIssue.
13 years ago
Simon Lindgren
444ecf747b
[CodeIssues] Add RedundantToStringIssue.
13 years ago
Mansheng Yang
144ddcd987
[CodeIssue] Added DoubleNegationExpressionIssue
13 years ago