Mike Krüger
|
0802ed7564
|
Fixed completion bug.
|
13 years ago |
Mike Krüger
|
74296dbfd6
|
Activated ignored test.
|
13 years ago |
Mike Krüger
|
057818f135
|
[Completion] Fixed bug in indexer context.
|
13 years ago |
Mike Krüger
|
0df05c304f
|
Updated mcs.
|
13 years ago |
Mike Krüger
|
74e7a2180c
|
Removed obsolete hack.
|
13 years ago |
Daniel Grunwald
|
3f2abc2591
|
Fixed TypeSystemAstBuilder not using short type name when there is a property with the same name.
|
13 years ago |
Mike Krüger
|
4805ac3b65
|
Added unit test for a reported bug.
|
13 years ago |
Mike Krüger
|
c829bd6c27
|
[Completion] Refactored the completion data factory (shortType no
longer required - should be done lazy in the GUI).
|
13 years ago |
Daniel Grunwald
|
80ba1b3dba
|
Always set ArrayCreateResolveResult.SizeArguments. Closes #111.
|
13 years ago |
Adam Connelly
|
20cb63aa08
|
[CodeIssues] Removed the baseType field from the NoDefaultConstructorIssue since it can be overwritten if there is a nested type that has an issue. The code now resolves the base type when visiting the constructor to make sure it is correct.
|
13 years ago |
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
|
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
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
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 |
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
|
9a9485a49d
|
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
|
13 years ago |
Simon Lindgren
|
ea49b1a6cf
|
[CodeIssues] Add StaticFieldInGenericTypeIssue.
|
13 years ago |
Simon Lindgren
|
4424f0efd9
|
[Parser] Add failing unit tests for AttributeSections with multiple attributes.
|
13 years ago |
Simon Lindgren
|
e5f5d6c9e2
|
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
|
13 years ago |
Erik Källén
|
7794385a47
|
Enabled query expander tests now that multiple orderings are supported.
|
13 years ago |