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
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
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
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.
14 years ago
Mansheng Yang
c63f65a570
[CodeIssue] Added MethodOverloadHidesOptionalParameterIssue
14 years ago
Simon Lindgren
76670db70c
[CodeActions] Add ConvertLambdaToAnonymousDelegateAction.
14 years ago
Simon Lindgren
1797fa2c04
[CodeActions] Add convertAnonymousDelegateToLambdaAction.
14 years ago
Mike Krüger
ddd341b42b
[CodeActions] Fixed bug in create backing store.
14 years ago
Mansheng Yang
352b20cac6
[CodeIssue] Added RedundantObjectCreationArgumentListIssue
14 years ago
Mansheng Yang
9a8d671d07
[CodeIssue] RedundantObjectOrCollectionInitializerIssue: added some tests
14 years ago
Mansheng Yang
c0870dbb79
[CodeIssue] Added RedundantObjectOrCollectionInitializerIssue
14 years ago
Mansheng Yang
4af137970c
[CodeIssue] Added RedundantCaseLabelIssue
14 years ago
Mansheng Yang
86e4d9a18e
[CodeIssue] Added CastExpressionOfIncompatibleTypeIssue
14 years ago
Daniel Grunwald
4a6a43d0d1
Change output path - build everything into \bin\Debug in NRefactory directory (not into ICSharpCode.NRefactory subdirectory).
14 years ago
Daniel Grunwald
9a9485a49d
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
14 years ago
Simon Lindgren
ea49b1a6cf
[CodeIssues] Add StaticFieldInGenericTypeIssue.
14 years ago
Simon Lindgren
e5f5d6c9e2
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
14 years ago
Mansheng Yang
d9dbd25be7
[CodeIssue] Added RedundantArrayInitializerCommaIssue
14 years ago
Simon Lindgren
d6054d1035
[CodeIssues] Add ExceptionRethrowIssue
14 years ago
Mansheng Yang
ff4b265de7
[CodeIssue] Added MethodNeverReturnsIssue
14 years ago
Mansheng Yang
83776a15f9
[CodeIssue] Added RedundantAttributeParenthesesIssue
14 years ago
Mansheng Yang
29c686ab0a
[CodeIssue] Added DoubleNegationIssue
14 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
14 years ago
Simon Lindgren
17cdd1fabd
[CodeAction] Add ConvertInitializerToExplicitInitializationsAction.
14 years ago
Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
14 years ago
Daniel Grunwald
8728c08c68
Add project configurations for .NET 4.5.
14 years ago
Mansheng Yang
0ee9c33716
[CodeIssue] Added ReferenceEqualsCalledWithValueTypeIssue
14 years ago
Mansheng Yang
10fc7380d9
[CodeIssue] Added ExpressionIsNeverOfProvidedTypeIssue
14 years ago
Mansheng Yang
0ba24d9ffc
[CodeIssue] Added ExpressionIsAlwaysOfProvidedTypeIssue
14 years ago
Erik Källén
cb034bd41d
Implemented QueryExpressionExpander.
14 years ago
Mansheng Yang
b8b2c61f09
[CodeIssue] Added CompareBooleanWithTrueOrFalseIssue
14 years ago
Mansheng Yang
93fae44c4b
[CodeAction] Added JoinDeclarationAndAssignmentAction
14 years ago
Simon Lindgren
f47fd7619e
[CodeIssues] RedundantToStringIssue: Also check formatting calls.
14 years ago
Mike Krüger
bea810b157
[Completion] Recognized browsable attributes / streamlined completion
...
API a bit.
14 years ago
Simon Lindgren
ecf167d3a1
[CodeIssues] Add IncorrectCalltoGetHashCodeIssue.
14 years ago
Mansheng Yang
0cf2d3940a
[CodeIssue] Renamed DoubleNegationExpressionIssue to NegativeRelationalExpressionIssue
14 years ago
Mansheng Yang
5307b168eb
[CodeAction] Added JoinStringAction
14 years ago
Simon Lindgren
783a79c42a
[CodeIssues] Add CallToObjectEqualsViaBaseIssue.
14 years ago
Simon Lindgren
444ecf747b
[CodeIssues] Add RedundantToStringIssue.
14 years ago
Mansheng Yang
144ddcd987
[CodeIssue] Added DoubleNegationExpressionIssue
14 years ago