Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
14 years ago
Daniel Grunwald
4717de986e
Optimized the AstNode.Descendants property.
...
Over 3 times faster than the previous implementation - but still slower than a visitor.
Fastest is a recursive function based on a for-loop ("for (AstNode child = node.FirstChild; child != null; child = child.NextSibling)").
14 years ago
Daniel Grunwald
359fdd2382
Provide both Enter and Leave events in ObservableAstVisitor.
14 years ago
Daniel Grunwald
d6b4420940
Introduced NamedArgumentResolveResult.
14 years ago
Daniel Grunwald
6bd0bfc5a8
Add failing unit test for CompilationUnit.ConditionalSymbols.
14 years ago
Daniel Grunwald
8728c08c68
Add project configurations for .NET 4.5.
14 years ago
Daniel Grunwald
0f82920267
GenerateProperty: do not propose to generate a setter if the field is readonly.
14 years ago
Mansheng Yang
574b3d2cd3
[CodeIssue] CompareFloatWithEqualityOperator: handle a failed test case
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
Daniel Grunwald
60607bcc65
Fix icsharpcode/NRefactory#86 : method declaration with attributes fails to resolve since 2926e24.
14 years ago
Simon Lindgren
522d6c6cbd
[CodeActions] Fix bugs in ConvertToInitializer.
14 years ago
Simon Lindgren
88d89e7f98
[CodeActions] ConvertToInitializer: Handle collections with Add() calls taking multiple arguments.
14 years ago
Simon Lindgren
903e46d1f8
[CodeActions] Cleanups in StatementsToInitializerConverter.
14 years ago
Erik Källén
2426d1eca6
Rename method ExpandQueryExpression to ExpandQueryExpressions.
14 years ago
Simon Lindgren
e384bfba0f
[CodeActons] Handle more edge cases in ConvertToInitializer.
14 years ago
Erik Källén
0deb852e6d
Report parameter instead of its name token in the result map, unpack parenthesized expressions.
14 years ago
Simon Lindgren
4dbac01d20
[CodeActions] Fix bugs in ConvertToInitializerAction.
14 years ago
Mike Krüger
40b8ce58d2
[CodeIssues] Converted IgnoreConstructors to a property.
14 years ago
Mike Krüger
0eaf61ea30
[Completion] Fixed wrong delegate signature.
14 years ago
Mike Krüger
99de4e1221
Updated mcs.
14 years ago
Mansheng Yang
384e0b608f
[CodeIssue] CompareFloatWithEqualityOperatorIssue: fixed 'NaN' issue
14 years ago
Mansheng Yang
47f253138d
[CodeIssue] ConstantConditionIssue: use a better title
14 years ago
Mansheng Yang
5c4a2da559
[CodeAction] NegateRelationalExpressionAction: fixed title
14 years ago
Mansheng Yang
f5d0318106
[CodeAction] JoinStringAction: handle the case when left operand is a BinaryOperatorExpression
14 years ago
Erik Källén
b0f16b2c6f
Test to ensure that range variables are not in scope for join equals expression, renamed method.
14 years ago
Erik Källén
40266d130e
Inherit QueryExpressionExpander from DepthFirstAstVisitor.
14 years ago
Daniel Grunwald
2926e24dcf
C# type system convert visitor: do not include attributes in IEntity.Region
14 years ago
Daniel Grunwald
e83d77a885
Ignore redundant 'this' in constructors.
14 years ago
Daniel Grunwald
7db1cbe11e
Merge NRefactory changes from SharpDevelop repository:
...
- Add CecilLoader.OnEntityLoaded callback
- Fixed thread-safety of lazy-loaded cecil type system.
- Add AstNodeCollection.AcceptVisitor method
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
23d282d884
[Completion] Only check browsable attribute inside the same assembly.
14 years ago
Mike Krüger
6575de9f79
[Completion] Moved the browsable check helper methods to nrefactory.
...
The browsable state is a .NET feature and not C# specific.
14 years ago
Simon Lindgren
a747e477fe
[CodeIssues] Use IsKnownType in more places.
14 years ago
Mike Krüger
8dc6911609
[Completion] Generalized browsable state method.
14 years ago
Mike Krüger
bea810b157
[Completion] Recognized browsable attributes / streamlined completion
...
API a bit.
14 years ago
Mike Krüger
c60e01e3f6
[Completion] Show synthetic members again.
14 years ago
Daniel Grunwald
56114fe865
Simplify ImplementInterfaceAction by using the TypeSystemAstBuilder.
14 years ago
Simon Lindgren
264c4c17e3
[CodeIssues] Use IsKnownType to check for System.Object.
14 years ago
Mansheng Yang
b14db35ce2
[CodeIssue] CompareFloatWithEqualityOperatorIssue: handle double.NaN case
14 years ago
Mansheng Yang
3be1ef1bda
[CodeIssue] NegativeRelationalExpressionIssue: no longer report issues for floating-point operations
14 years ago
Simon Lindgren
dbdb7c74dc
[CodeIssues] Handle non-object base classes in IncorrentCallTogetHashCodeIssue and CallToObjectEqualsViaBaseIssue.
14 years ago
Mansheng Yang
80d02a5b76
[CodeIssues] RedundantTypeCastIssue: use .Equals() for comparing types
14 years ago
Mike Krüger
58fea5211e
[Completion] Added more synthetic member checks/added forgotton
...
accessible check for nested types.
14 years ago
Mike Krüger
40ba86a9d7
[Completion] Added some synthetic member checks.
14 years ago
Simon Lindgren
ecf167d3a1
[CodeIssues] Add IncorrectCalltoGetHashCodeIssue.
14 years ago