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
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
Erik Källén
32d43b2534
Fixed query orderings when ordering by more than one expression.
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
Daniel Grunwald
62a8b20208
Fix icsharpcode/NRefactory#89 : explicit conversion of array to generic IList fails when array covariance is used.
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
Daniel Grunwald
087aee7fe8
Simplify parser API.
13 years ago
Mansheng Yang
83776a15f9
[CodeIssue] Added RedundantAttributeParenthesesIssue
13 years ago
Mike Krüger
34932efc78
[Parser] Hacked work around for parser error.
13 years ago
Mansheng Yang
29c686ab0a
[CodeIssue] Added DoubleNegationIssue
13 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
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
979fa91a2e
Fix icsharpcode/NRefactory#88 : implicit conversion between type parameters.
...
Convert from T to U where T : class, U. Only T is known to be a reference type; U is not.
C# still classifies the conversion as a reference conversion.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago