mkrueger
|
bb8df03211
|
[CodeIssue] Fixed bug in redundant type cast issue.
|
14 years ago |
Daniel Grunwald
|
5670248de8
|
Add 'FullTypeName' struct, and use it to represent type names.
Contains some breaking API changes:
- Renamed 'FullNameAndTypeParameterCount' to 'TopLevelTypeName'.
- IAssembly.GetTypeDefinition(string, string, int) -> IAssembly.GetTypeDefinition(TopLevelTypeName)
- IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) -> IAssembly.GetTypeDefinition(FullTypeName)
- GetClassTypeReference now supports nested types
|
14 years ago |
Mike Krüger
|
12f2f2793e
|
Removed debug messages.
|
14 years ago |
Simon Lindgren
|
ac21fc0b32
|
[CodeIssues] Fix compilation errors in AssignmentMadeToSameVariable.
|
14 years ago |
Simon Lindgren
|
b71617d816
|
[CodeIssues] Fix handling of member references in AssignmentMadeToSameVariableIssue.
|
14 years ago |
Simon Lindgren
|
3cf3032f50
|
[CodeActions] Clean up StatementsToInitializerConverter and InitializerPath.
Also, rename InitializerPath to AccessPath.
|
14 years ago |
Simon Lindgren
|
704b5304d8
|
[CodeIssues] Also warn for null or empty checks using 'str.Length == 0'
|
14 years ago |
Simon Lindgren
|
b0e1fac6b6
|
[CodeIssues] Don't suggest moving declarations into invalid or weird places.
|
14 years ago |
Daniel Grunwald
|
79db6fe54c
|
Change ISupportsInterning so that objects are interned immediately after they are created.
This lets us get rid of the hidden mutation due to interning; ISupportsInterning objects can now be truly immutable.
|
14 years ago |
Simon Lindgren
|
3b5e5731ea
|
[CodeIssues] Don't warn for unused parameters on overrides and interface implementations.
|
14 years ago |
Simon Lindgren
|
f829d5833c
|
[CodeIssues] Don't mark calls to IFormattable.ToString() as redundant.
|
14 years ago |
Mike Krüger
|
d37a7ba16d
|
[CodeActions] Added check for resolve error.
|
14 years ago |
Mike Krüger
|
59982767c1
|
[Refactoring] Added option to the ast builder to control the behavior
of unbound type arguments.
|
14 years ago |
Simon Lindgren
|
13f67510b6
|
[CodeIssues] Don't crash in StatementToInitializerConverter on assignments to members.
(Probably) fixes Xamarin bug #6810.
|
14 years ago |
Daniel Grunwald
|
4a337b8ed1
|
[CodeActions] fixed bug implemented 'protected internal abstract' members.
The 'internal' modifier is necessary in overrides if they are inside the same assembly as the abstract member.
|
14 years ago |
Mike Krüger
|
a2e370fe2d
|
[CodeActions] Fixed implement abstract members bug.
|
14 years ago |
Simon Lindgren
|
d787bbb263
|
[CodeIssues] Don't suggest moving variables into lock statements.
|
14 years ago |
Simon Lindgren
|
827cf5d25b
|
[CodeIssues] Fix typo in MultipleEnumerationIssue.
|
14 years ago |
Mike Krüger
|
d4f373d995
|
[Refactoring] Fixed potential issue in variable refrence graph
builder.
|
14 years ago |
Mike Krüger
|
3001fae71f
|
[CodeAction] Fixed bug in create class declaration action.
|
14 years ago |
Mansheng Yang
|
862e3d3156
|
[CodeActions] PutInsideUsingAction: remove trailing Dispose() invocation
|
14 years ago |
Mansheng Yang
|
bf33c03cc2
|
[CodeIssues] RedundantArrayInitializerCommaIssue: show appropriate description for different types of initializers
|
14 years ago |
Mansheng Yang
|
0270ce48b0
|
[CodeActions] CreateOverloadWithoutParameterAction: fixed missing ref/out in generated call
|
14 years ago |
Mansheng Yang
|
84126bbddc
|
[CodeActions] ConvertAsToCastAction: fixed some parentheses issues
|
14 years ago |
Mansheng Yang
|
e23568fc51
|
[CodeActions] ConvertCastToAsAction: insert parentheses when necessary
|
14 years ago |
Mansheng Yang
|
d9f68d3e67
|
[CodeIssues] ExpressionIsAlwaysOfProvidedTypeIssue: use Conversions instead of TypeCompatibilityHelper
|
14 years ago |
Mike Krüger
|
aad32a0e66
|
[CodeAction] Fixed some 'cast expression of incompatible type' issue
bugs.
|
14 years ago |
Mike Krüger
|
1b41ee02ca
|
[CodeAction] Convert lambda to delegate action no longer puts a
redundant () in the anonymous delegate.
|
14 years ago |
Mike Krüger
|
24c0222e20
|
[CodeAction] Fixed bug in splet declaration and assignment action.
|
14 years ago |
Mike Krüger
|
1a80006cac
|
[CodeIssues] Fixed an issue with try/catch statement in redundant
assignment issue.
|
14 years ago |
Mike Krüger
|
d69edd3670
|
[CodeIssues] ')edundant field initializer' issue no longer greys out
the field name.
|
14 years ago |
Konrad M. Kruczynski
|
be34221618
|
[CodeIssues] Do not report unused parameter if it is out or ref.
|
14 years ago |
Simon Lindgren
|
f664df98bc
|
[CodeIssues] Check method names before concluding there is a problem.
|
14 years ago |
Simon Lindgren
|
23fdd83224
|
[CodeActions] Adjust the behaviour of AddCatchTypeAction.
|
14 years ago |
Simon Lindgren
|
d01a360f32
|
[CodeIssues] Don't suggest demoting parameters of program entry points.
|
14 years ago |
Simon Lindgren
|
93fce4f8a6
|
[CodeIssues] Don't suggest demotion to a non-array type for params parameters.
|
14 years ago |
Simon Lindgren
|
a46f5e9874
|
[CodeIssues] Don't warn about static fields in generic types if the field declaration uses all type parameters.
|
14 years ago |
Simon Lindgren
|
9c634c73fc
|
[CodeIssues] VariableDeclaredInWideScope: Handle moves into SwitchSections.
|
14 years ago |
Simon Lindgren
|
9c8556c61f
|
[CodeIssues] Don't warn about missing usage of 'value' in accessors that throws immediately.
|
14 years ago |
Simon Lindgren
|
06ebfd247d
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Better dependency checking.
|
14 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
14 years ago |
Simon Lindgren
|
764280a957
|
[CodeActions] IterateViaForeach: Avoid infinite recursion in cyclic inheritance structures.
|
14 years ago |
Mansheng Yang
|
4945fa5e4f
|
[CodeIssues] MultipleEnumerationIssue: added documentation
|
14 years ago |
Mansheng Yang
|
dc7fa56956
|
[CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding
|
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
|
458bd90f11
|
[CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue.
|
14 years ago |
Mansheng Yang
|
a27b0518ce
|
[CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings
|
14 years ago |
Mansheng Yang
|
352dcce314
|
[CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type
|
14 years ago |
Mansheng Yang
|
588b127a42
|
[CodeIssues] MethodNeverReturnsIssue: handle 'throw' case
|
14 years ago |