Mansheng Yang
|
e23568fc51
|
[CodeActions] ConvertCastToAsAction: insert parentheses when necessary
|
13 years ago |
Mike Krüger
|
aad32a0e66
|
[CodeAction] Fixed some 'cast expression of incompatible type' issue
bugs.
|
13 years ago |
Mike Krüger
|
1b41ee02ca
|
[CodeAction] Convert lambda to delegate action no longer puts a
redundant () in the anonymous delegate.
|
13 years ago |
Mike Krüger
|
24c0222e20
|
[CodeAction] Fixed bug in splet declaration and assignment action.
|
13 years ago |
Mike Krüger
|
1a80006cac
|
[CodeIssues] Fixed an issue with try/catch statement in redundant
assignment issue.
|
13 years ago |
Konrad M. Kruczynski
|
be34221618
|
[CodeIssues] Do not report unused parameter if it is out or ref.
|
13 years ago |
Simon Lindgren
|
f664df98bc
|
[CodeIssues] Check method names before concluding there is a problem.
|
13 years ago |
Simon Lindgren
|
23fdd83224
|
[CodeActions] Adjust the behaviour of AddCatchTypeAction.
|
13 years ago |
Simon Lindgren
|
d01a360f32
|
[CodeIssues] Don't suggest demoting parameters of program entry points.
|
13 years ago |
Simon Lindgren
|
93fce4f8a6
|
[CodeIssues] Don't suggest demotion to a non-array type for params parameters.
|
13 years ago |
Simon Lindgren
|
a46f5e9874
|
[CodeIssues] Don't warn about static fields in generic types if the field declaration uses all type parameters.
|
13 years ago |
Simon Lindgren
|
9c634c73fc
|
[CodeIssues] VariableDeclaredInWideScope: Handle moves into SwitchSections.
|
13 years ago |
Simon Lindgren
|
9c8556c61f
|
[CodeIssues] Don't warn about missing usage of 'value' in accessors that throws immediately.
|
13 years ago |
Simon Lindgren
|
06ebfd247d
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Better dependency checking.
|
13 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
13 years ago |
Daniel Grunwald
|
e2eef883e1
|
Add 'HasBody' property to IMethod. Closes #100.
|
13 years ago |
Mansheng Yang
|
aedf4e20cc
|
[CodeActions] ConvertImplicitToExplicitImplementationAction: removed a redundant test
|
13 years ago |
Mansheng Yang
|
dc7fa56956
|
[CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding
|
13 years ago |
Simon Lindgren
|
b7f65011fa
|
[CodeIssues] Improve ParameterCanBeDemotedIssue.
|
13 years ago |
Simon Lindgren
|
79b4c25ccc
|
[CodeIssues] ParameterCanBeDemotedIssue: Add Criterions for suitable indexer members and for array types. Also start resolving the method with the new type to check for errors.
|
13 years ago |
Simon Lindgren
|
458bd90f11
|
[CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue.
|
13 years ago |
Mansheng Yang
|
a27b0518ce
|
[CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings
|
13 years ago |
Mansheng Yang
|
352dcce314
|
[CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type
|
13 years ago |
Mansheng Yang
|
588b127a42
|
[CodeIssues] MethodNeverReturnsIssue: handle 'throw' case
|
13 years ago |
Mansheng Yang
|
6f063c60a6
|
[CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases
|
13 years ago |
Daniel Grunwald
|
c403f389b7
|
Move the fix for #94 into CSharpConversions.IsConstraintConvertible.
Also added a couple of additional unit tests for constraint validation.
|
13 years ago |
Daniel Grunwald
|
40bbafda16
|
Set NET_4_0 preprocessor symbol for mcs.
Rename "NET45" to "NET_4_5" to be consistent with mcs and Mono.Cecil.
|
13 years ago |
mkrueger
|
740a30c929
|
[Completion] CreateNamespace completion data now takes a INamespace
instead of a string.
|
13 years ago |
Mansheng Yang
|
f5c370a6cd
|
[CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace
|
13 years ago |
Mansheng Yang
|
c461c7b382
|
[CodeActions] ConvertConditionalToIfAction: check context location
|
13 years ago |
Mansheng Yang
|
0140f2df18
|
[CodeActions] ConvertCastToAsAction: fixed tests
|
13 years ago |
erikkallen
|
a00495c22b
|
Test that demonstrates that a generic method cannot be invoked with a nullable type argument.
|
13 years ago |
Simon Lindgren
|
a9e0bd901d
|
[CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'.
|
13 years ago |
erikkallen
|
d857a8ba8d
|
Test demonstrating issue with duplicate using directive.
|
13 years ago |
Simon Lindgren
|
821e157bf6
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Handle nested scopes that are not BlockStatements and don't suggest moving declarations into closures
|
13 years ago |
Simon Lindgren
|
713b88f963
|
[CodeIssues] Don't consider empty catches redundant.
|
13 years ago |
Mansheng Yang
|
c63f65a570
|
[CodeIssue] Added MethodOverloadHidesOptionalParameterIssue
|
13 years ago |
Simon Lindgren
|
76670db70c
|
[CodeActions] Add ConvertLambdaToAnonymousDelegateAction.
|
13 years ago |
Simon Lindgren
|
1797fa2c04
|
[CodeActions] Add convertAnonymousDelegateToLambdaAction.
|
13 years ago |
Mike Krüger
|
eeb5c3fb8f
|
Added unit test to check completion in #if regions.
|
13 years ago |
Mike Krüger
|
ddd341b42b
|
[CodeActions] Fixed bug in create backing store.
|
13 years ago |
Mansheng Yang
|
352b20cac6
|
[CodeIssue] Added RedundantObjectCreationArgumentListIssue
|
13 years ago |
Mansheng Yang
|
9a8d671d07
|
[CodeIssue] RedundantObjectOrCollectionInitializerIssue: added some tests
|
13 years ago |
Mansheng Yang
|
c0870dbb79
|
[CodeIssue] Added RedundantObjectOrCollectionInitializerIssue
|
13 years ago |
Mansheng Yang
|
4af137970c
|
[CodeIssue] Added RedundantCaseLabelIssue
|
13 years ago |
Daniel Grunwald
|
c3a31c9c81
|
Fix #92: The resolver does not check type constraints on calls to generic methods
|
13 years ago |
Mansheng Yang
|
86e4d9a18e
|
[CodeIssue] Added CastExpressionOfIncompatibleTypeIssue
|
13 years ago |
Daniel Grunwald
|
16aa0c6c28
|
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
|
13 years ago |
Daniel Grunwald
|
4a6a43d0d1
|
Change output path - build everything into \bin\Debug in NRefactory directory (not into ICSharpCode.NRefactory subdirectory).
|
13 years ago |
Daniel Grunwald
|
9a9485a49d
|
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
|
13 years ago |