Mike Krüger
40a2b81b43
Implemented issue provider for CS0127: A method with a void return
...
type cannot return a value.
This issue provider got requested - and I need to start somewhere to
implement semantic error issue providers.
13 years ago
Mike Krüger
f480c60aec
Added new code issue to simplify anonymous methods to delegate usages.
13 years ago
Mike Krüger
bce7b74426
Fixed bug in GetCurrentParameterIndex + added unit tests for this
...
function.
13 years ago
Erik Källén
867dc8b407
Improved handling of sizeof(x)
...
Resolving sizeof(x) will now return a specialized ResolveResult that contains information about which type's size is investigated. Also fixed a bug that caused sizeof() to not work when initializing fields. Also made sizeof(SomeEnum) resolve to the size of the underlying type which is illegal according to the spec, but mcs allows it.
13 years ago
Daniel Grunwald
9378cd19f0
Fix bug in ParameterizedType.VisitChildren() when replacing the generic type definition.
...
Fix some typos in XmlDoc.
13 years ago
Mike Krüger
eab84734b2
Fixed bug in create constructor action & implemented create enum value
...
action.
13 years ago
Daniel Grunwald
7eeb0348fb
Attempt that makes all the implicit conversions work
...
However, it introduces a problem with one of the explicit conversion test cases.
13 years ago
Daniel Grunwald
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Mike Krüger
92ad81deaa
[CodeCompletion] Completion engine now can generate import completion
...
data.
13 years ago
Mike Krüger
b609c8d6f7
[Formatter] Worked on a indent engine.
13 years ago
Mike Krüger
b35db0cf21
[CodeAction] Improved create event invocator action.
13 years ago
Daniel Grunwald
536b9b0b1c
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
13 years ago
Mike Krüger
28c635f11d
[CodeIssues] Removed LocalVariableOnlyAssignedIssue - it's redundant
...
and handled by RedundantAssignmentIssue
13 years ago
Lopatkin Ilja
4b3f83be72
Implemented code action to sort usings
13 years ago
Mike Krüger
f43d5df0e2
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
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
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
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
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
86e4d9a18e
[CodeIssue] Added CastExpressionOfIncompatibleTypeIssue
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
e5f5d6c9e2
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
13 years ago
Mansheng Yang
d9dbd25be7
[CodeIssue] Added RedundantArrayInitializerCommaIssue
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
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
13 years ago
Simon Lindgren
17cdd1fabd
[CodeAction] Add ConvertInitializerToExplicitInitializationsAction.
13 years ago
Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
13 years ago
Daniel Grunwald
8728c08c68
Add project configurations for .NET 4.5.
13 years ago
Mansheng Yang
0ee9c33716
[CodeIssue] Added ReferenceEqualsCalledWithValueTypeIssue
13 years ago
Mansheng Yang
10fc7380d9
[CodeIssue] Added ExpressionIsNeverOfProvidedTypeIssue
13 years ago
Mansheng Yang
0ba24d9ffc
[CodeIssue] Added ExpressionIsAlwaysOfProvidedTypeIssue
13 years ago
Erik Källén
cb034bd41d
Implemented QueryExpressionExpander.
13 years ago
Mansheng Yang
b8b2c61f09
[CodeIssue] Added CompareBooleanWithTrueOrFalseIssue
13 years ago
Mansheng Yang
93fae44c4b
[CodeAction] Added JoinDeclarationAndAssignmentAction
13 years ago
Simon Lindgren
f47fd7619e
[CodeIssues] RedundantToStringIssue: Also check formatting calls.
13 years ago
Mike Krüger
bea810b157
[Completion] Recognized browsable attributes / streamlined completion
...
API a bit.
13 years ago
Simon Lindgren
ecf167d3a1
[CodeIssues] Add IncorrectCalltoGetHashCodeIssue.
13 years ago
Mansheng Yang
0cf2d3940a
[CodeIssue] Renamed DoubleNegationExpressionIssue to NegativeRelationalExpressionIssue
13 years ago
Mansheng Yang
5307b168eb
[CodeAction] Added JoinStringAction
13 years ago