Mansheng Yang
c71b3fa25f
[CodeAction] NegateRelationalExpressionAction: improved tests
13 years ago
Mansheng Yang
fa9d5acfac
[CodeAction] Added NegateRelationalExpressionAction
13 years ago
Daniel Grunwald
dfbca8567d
Add (failing) unit test for icsharpcode/NRefactory#56 .
13 years ago
Daniel Grunwald
d7ebf92885
Add (failing) unit tests for icsharpcode/NRefactory#45
13 years ago
Erik Källén
ecd3de7ece
Implementation of feature
13 years ago
Erik Källén
ce5a42c4ee
Tests for the improved dynamic handling.
13 years ago
Daniel Grunwald
ea5e36c836
Fix icsharpcode/NRefactory#60 : Implicit type parameter conversion
13 years ago
Daniel Grunwald
9640abde31
Add (failing) unit test for icsharpcode/NRefactory#73 .
13 years ago
Daniel Grunwald
93e2def893
Fix #75 : conversion between delegate types
13 years ago
Daniel Grunwald
32ee4d4548
Fix icsharpcode/NRefactory#76 : definite assignment analysis ignores false part of conditional expressions.
13 years ago
Mansheng Yang
209d3f0e42
[CodeIssue] Added RedundantTypeCastIssue
13 years ago
Daniel Grunwald
ed0e4c5197
Fixed conversions from "dynamic" - these only exist from expressions, not from the type (this was causing subtle issues with type inference).
13 years ago
Daniel Grunwald
5592e889ab
Fixed bug when passing an extension method as a method group to a generic function.
13 years ago
Daniel Grunwald
cc35fcc606
Revert f01a4b2
and 58c4ec8
.
...
Fixed small issue in CSharpResolver.GetExtensionMethods: when type parameters are provided explicitly, use the specialized method for the eligibility check.
13 years ago
Mike Krüger
0a7fdcd833
[CodeCompletion] No longer show static enum members on enum types
...
(even if the call is theoretical valid).
13 years ago
Simon Lindgren
247d58818f
[CodeIssues] Fix some false suggestions in VariableDeclaredInWideScopeIssue.
13 years ago
Mansheng Yang
54fbfc8070
[CodeIssue] Added ConstantConditionIssue
13 years ago
Simon Lindgren
092a18f26e
[CodeIssues] Check redundant optional arguments of constructors.
13 years ago
Simon Lindgren
1e561dd9b0
[CodeIssues] Be more allowing when picking format string arguments in FormatStringIssue.
13 years ago
Mike Krüger
58c4ec8010
[Resolver] Fixed type inference use case.
...
Daniel: The fix may not be correct - it's hard to tell which side
effects that change will cause.
13 years ago
Mike Krüger
4f70f16149
[CodeActions] Implemented abstract members action/Improved implement
...
interface action & fixed unit tests.
13 years ago
Simon Lindgren
4acb9b8ff6
[Resolver] Don't check the location of value parameters in accessors.
...
(Revert remaining parts of revision e60567ab86
)
13 years ago
Simon Lindgren
b375e1fdea
[CodeIssues] Add RedundantCatchIssue.
13 years ago
Mansheng Yang
77fd14e522
[CodeIssue] Added IdenticalConditionalBranchIssue
13 years ago
Mansheng Yang
fea0060d05
[CodeIssue] Added AssignmentMadeToSameVariableIssue
13 years ago
Mike Krüger
286091be90
[CodeActions] Finished first implement interface implementation.
13 years ago
Mike Krüger
461d5dabd0
[Completion] Fixed completion bug.
13 years ago
Mike Krüger
d4209d09dd
[CodeAction] Fixed extract method unit test.
13 years ago
Mike Krüger
4a5d1e851b
[CodeAction] Fixed most extract method tests.
13 years ago
Mansheng Yang
63a8ca1f1d
[CodeIssue] Added RedundantAssignmentIssue
13 years ago
Mansheng Yang
e6abbcb949
[CodeIssue] Added MultipleEnumerationIssue
13 years ago
Mansheng Yang
c37d18a082
[CodeIssue] ParameterNotUsedIssue: only check parameters of methods
13 years ago
Mansheng Yang
21a87ec385
[CodeIssue] VariableOnlyAssignedIssue: out argument should be considered as assignment
13 years ago
Mike Krüger
f01a4b2c8d
[Resolver] Interfere extension method type arguments from the target
...
type if no parameter is given.
13 years ago
Simon Lindgren
53d9b6e7ee
[CodeIssues] Fix some false positives in ParameterCanBeDemotedIssue.
13 years ago
Mansheng Yang
dc1e33da56
[CodeIssue] ParameterHidesMemberIssue and LocalVariableHidesMemberIssue now distinguish static and non-static members
13 years ago
Simon Lindgren
3ae6b9f450
[CodeIssues] FormatStringIssue: Handle extra arguments that do not have a matching formal parameter.
13 years ago
Simon Lindgren
e5f346bd92
[CodeIssues] Add OptionalParameterCouldBeSkippedIssue.
13 years ago
Simon Lindgren
3757871511
[CodeIssues] FormatStringIssue: Show errors in TextSegments too.
13 years ago
Mansheng Yang
927c388c8a
[CodeIssue] Added UnreachableCodeIssue
13 years ago
Simon Lindgren
900aec2f54
[CodeIssues] Add FormatStringIssue.
13 years ago
Mansheng Yang
23c7dc08d4
[Tests] Added helper methods for checking a specific fix to InspectionActionTestBase
13 years ago
Simon Lindgren
1133382741
[CodeIssues] Add missing class IsTypeCriterion.
13 years ago
Simon Lindgren
2307bcb184
[CodeIssues] ParameterCanBeDemotedTests: Add checks for what types variables are used as.
13 years ago
Simon Lindgren
03ea217574
[CodeIssues] Rename CallToStaticMemberViaDerivedTypeIssue to ReferenceToStaticMemberViaDerivedTypeIssue.
13 years ago
Simon Lindgren
a3e6c147b6
[CodeIssues] Handle members in CallToStaticMemberViaDerivedTypeIssue.
13 years ago
Simon Lindgren
7a9fdf4c08
[CodeIssues] Make CallToVirtualFunctionFromConstructorIssue less whiny.
13 years ago
Simon Lindgren
1a7d2e1379
[CodeIssues] CallToStaticMemberViaDerivedTypeIssue: Ignore member methods of the current class.
13 years ago
Simon Lindgren
6f2aed19b4
[CodeIssues] ParamaterCanBeDemotedIssue: Don't crash on parameters that aren't used.
13 years ago
Simon Lindgren
ce1e2ee157
[CodeIssues] Fix crashes in VariableDeclaredInWideScopeIssue.
13 years ago