Simon Lindgren
b7f65011fa
[CodeIssues] Improve ParameterCanBeDemotedIssue.
13 years ago
Simon Lindgren
408b29847d
[TypeSystem] Don't consider non-public members for interface implementors.
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
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
Daniel Grunwald
284a4cc795
Fix InvalidCastException in MemberLookup.RemoveInterfaceMembersHiddenByClassMembers
13 years ago
Daniel Grunwald
8ede23f8cb
Merge pull request #94 from erik-kallen/InvokeGenericMethodWithNullableTypeArgument
...
Invoke generic method with nullable type argument
13 years ago
Daniel Grunwald
eb4de73fc3
Merge pull request #93 from erik-kallen/DuplicateUsingsIssue
...
Duplicate usings issue
13 years ago
mkrueger
740a30c929
[Completion] CreateNamespace completion data now takes a INamespace
...
instead of a string.
13 years ago
Mansheng Yang
f3ae264680
[Demo] Reverted an unnecessary change
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
0140f2df18
[CodeActions] ConvertCastToAsAction: fixed tests
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
erikkallen
9c521f8992
Fixed issue with nullable types not being usable as generic arguments.
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
5b29f2b292
Fixed issue with duplicate using directives.
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
611cc25660
Merge remote-tracking branch 'upstream/master' into mansheng
13 years ago
Mansheng Yang
c63f65a570
[CodeIssue] Added MethodOverloadHidesOptionalParameterIssue
13 years ago
Daniel Grunwald
810c03a582
NRefactory 5.2.0 release
13 years ago
Simon Lindgren
76670db70c
[CodeActions] Add ConvertLambdaToAnonymousDelegateAction.
13 years ago
Simon Lindgren
1797fa2c04
[CodeActions] Add convertAnonymousDelegateToLambdaAction.
13 years ago
Daniel Grunwald
0b56b42bc8
Remove redundant call to ValidateMethodConstraints().
...
Fix demo application.
13 years ago
Mike Krüger
eeb5c3fb8f
Added unit test to check completion in #if regions.
13 years ago
Mike Krüger
d2038a429d
[Completion] Added conditional symbols to the completion engine
...
context.
13 years ago
Mike Krüger
ddd341b42b
[CodeActions] Fixed bug in create backing store.
13 years ago
Simon Lindgren
19815e8132
Merge branch 'master' into simonl
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
Mansheng Yang
b5bd89b003
[Refactoring] track renaming of ParsedFile to UnresolvedFile
13 years ago
Mansheng Yang
7a2d9f878c
Merge remote-tracking branch 'upstream/master' into mansheng
13 years ago
Daniel Grunwald
c3a31c9c81
Fix #92 : The resolver does not check type constraints on calls to generic methods
13 years ago
Daniel Grunwald
1f6c4f037e
Update solution-loading logic in ConsistencyCheck.
13 years ago
Simon Lindgren
2c24a050d6
Merge branch 'master' into simonl
...
Fixed usages of CompilationUnit into usages of SyntaxTree.
Conflicts:
ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj
ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj
13 years ago