Adam Connelly
|
fccd433299
|
[CodeIssues] Updating the NoDefaultConstructorIssue to ignore inaccessible constructors and to only look at the direct base type. I also updated the issue text to contain the compiler error number, and altered the way that the string was formatted so that the format string is passed into TranslateString.
|
13 years ago |
Adam Connelly
|
15d8b1bfc1
|
[CodeIssues] Updated the NoDefaultConstructorIssue so that the description and message match the compiler error.
|
13 years ago |
Adam Connelly
|
aba167fa4c
|
[CodeIssues] Updating the NoDefaultConstructorIssue to take into account multiple constructors in the child class. If no constructors are defined in the child, the issue is put against the class identifier, whereas if constructors are defined, the issue is put against each constructor that has an issue.
|
13 years ago |
Adam Connelly
|
4f3695ca03
|
[CodeIssues] Adding an issue that highlights when a base class does not have a parameterless constructor, and the child class does not invoke any of the base class constructors.
|
13 years ago |
Mike Krüger
|
d69edd3670
|
[CodeIssues] ')edundant field initializer' issue no longer greys out
the field name.
|
13 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
13 years ago |
Mansheng Yang
|
4945fa5e4f
|
[CodeIssues] MultipleEnumerationIssue: added documentation
|
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
|
71e42df2f9
|
[CodeActions] Moved GetDefaultValueExpression back to CreateOverloadWithoutParameterAction class
|
13 years ago |
Mansheng Yang
|
6f063c60a6
|
[CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases
|
13 years ago |
Mansheng Yang
|
f5c370a6cd
|
[CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace
|
13 years ago |
Mansheng Yang
|
8d77f4bd9c
|
[CodeIssues] Removed some unused usings
|
13 years ago |
Mansheng Yang
|
f1dad51f27
|
[CodeActions] CreateCustomEventImplementationAction: removed TODO which is already done.
|
13 years ago |
Mansheng Yang
|
11b9fd1cbc
|
[CodeActions]ConvertLambdaBodyExpressionToStatementAction: removed unused usings
|
13 years ago |
Mansheng Yang
|
c461c7b382
|
[CodeActions] ConvertConditionalToIfAction: check context location
|
13 years ago |
Mansheng Yang
|
90356adce8
|
[CodeActions] ConvertCastToAsAction: check context location. Reorganized code.
|
13 years ago |
Mansheng Yang
|
f2b8be7a85
|
[CodeAction] ConvertAsToCastAction: check context location
|
13 years ago |
Simon Lindgren
|
a9e0bd901d
|
[CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'.
|
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
|
ddd341b42b
|
[CodeActions] Fixed bug in create backing store.
|
13 years ago |
Mansheng Yang
|
352b20cac6
|
[CodeIssue] Added RedundantObjectCreationArgumentListIssue
|
13 years ago |
Mansheng Yang
|
c0870dbb79
|
[CodeIssue] Added RedundantObjectOrCollectionInitializerIssue
|
13 years ago |
Mansheng Yang
|
4af137970c
|
[CodeIssue] Added RedundantCaseLabelIssue
|
13 years ago |
Mansheng Yang
|
b5bd89b003
|
[Refactoring] track renaming of ParsedFile to UnresolvedFile
|
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 |
Simon Lindgren
|
ea49b1a6cf
|
[CodeIssues] Add StaticFieldInGenericTypeIssue.
|
13 years ago |
Simon Lindgren
|
e5f5d6c9e2
|
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
|
13 years ago |
Simon Lindgren
|
cdfde8bcef
|
[CodeActions] Greatly improved OptionalParameterCouldBeSkippedIssue.
It now handles named parameters much better, has more actions, and less code duplication.
|
13 years ago |
Mansheng Yang
|
d9dbd25be7
|
[CodeIssue] Added RedundantArrayInitializerCommaIssue
|
13 years ago |
Simon Lindgren
|
82ab94fa1f
|
[CodeIssues] OptionalParameterCouldBeSkippedIssue: Check for unmappable arguments.
|
13 years ago |
Simon Lindgren
|
d69abeae95
|
[CodeActions] Handle resolution errors in IterateViaForeachAction.
|
13 years ago |
Simon Lindgren
|
1371e6db61
|
[CodeIssues] Fix bugs in RedundantCatchIssue.
|
13 years ago |
Simon Lindgren
|
d6054d1035
|
[CodeIssues] Add ExceptionRethrowIssue
|
13 years ago |
Mansheng Yang
|
ff4b265de7
|
[CodeIssue] Added MethodNeverReturnsIssue
|
13 years ago |
Mansheng Yang
|
83776a15f9
|
[CodeIssue] Added RedundantAttributeParenthesesIssue
|
13 years ago |
Mansheng Yang
|
29c686ab0a
|
[CodeIssue] Added DoubleNegationIssue
|
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
|
273178a141
|
Rename CompilationUnit to SyntaxTree.
|
13 years ago |