Ciprian Khlud
bd486b50b0
Code updates
13 years ago
Ciprian Khlud
0d391896fb
Fixes bug #10731
...
https://bugzilla.xamarin.com/show_bug.cgi?id=10731
It will look as a separate issue checker for basic interfaces and it will give the first implementation that works as base (so it will not give 5 possible conversions, even all are possible). In practice works really well. It is losely based on the ParameterCanbeDemotedIssue so I exposed the code to not duplicate it. Yet the code is much simpler this action.
13 years ago
Mike Krüger
020128ba58
CanBeDemotedIssue now respects the
...
CA1011:ConsiderPassingBaseTypesAsParameters suppression.
13 years ago
Mike Krüger
538f016c46
Implemented code issue message suppression.
13 years ago
Mike Krüger
925de642b5
Code actions can now be bound to an ast node.
13 years ago
Daniel Grunwald
6e6cf735a3
ParameterCanBeDemotedIssue: remove GetInheritanceDepth.
...
It has the potential for a stack overflow when there's cyclic inheritance.
The sorting already done by GetAllBaseTypes() should be good enough.
13 years ago
Mike Krüger
4e104efc65
ParameterCanBeDemotedIssue no longer tries to demote arrays to ILists.
13 years ago
Daniel Grunwald
ca103100c6
Merge some bugfixes from SharpDevelop to NRefactory.
14 years ago
Mike Krüger
8cee8f532c
Fixed some compiler warnings.
14 years ago
Mike Krüger
13944c2a6b
[CodeIssues] Removed some debug spew.
14 years ago
Simon Lindgren
b7f65011fa
[CodeIssues] Improve ParameterCanBeDemotedIssue.
14 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.
14 years ago
Simon Lindgren
53d9b6e7ee
[CodeIssues] Fix some false positives in ParameterCanBeDemotedIssue.
14 years ago
Simon Lindgren
6f2aed19b4
[CodeIssues] ParamaterCanBeDemotedIssue: Don't crash on parameters that aren't used.
14 years ago
Simon Lindgren
008aaa1d37
[CodeIssues] Factor out some type restriction finding infrastructure.
14 years ago
Simon Lindgren
be0d89c486
[CodeIssues] Improve ParameterCouldBeDemotedIssue.
14 years ago
Simon Lindgren
61044a86f4
[CodeIssues] Add initial version of ParameterCanBeDemotedIssue.
14 years ago
Simon Lindgren
d01a360f32
[CodeIssues] Don't suggest demoting parameters of program entry points.
14 years ago