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
07fb3684cf
Add visitor benchmark.
14 years ago
Daniel Grunwald
359fdd2382
Provide both Enter and Leave events in ObservableAstVisitor.
14 years ago
Daniel Grunwald
d4372bf954
Add DefaultAttribute.
14 years ago
Daniel Grunwald
fb4436499e
Remove outdated code contracts.
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
3f782ce21c
Add ITypeDefinition.GetInterfaceImplementation().
14 years ago
Daniel Grunwald
0f82920267
GenerateProperty: do not propose to generate a setter if the field is readonly.
14 years ago
Daniel Grunwald
60607bcc65
Fix icsharpcode/NRefactory#86 : method declaration with attributes fails to resolve since 2926e24.
14 years ago
Daniel Grunwald
7d5f1e0885
Make CecilResolvedAttribute.DecodeBlob() more robust.
...
Avoid exception when arguments types are unavailable and return ErrorResolveResult instead.
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
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
Mike Krüger
23d282d884
[Completion] Only check browsable attribute inside the same assembly.
14 years ago
Mike Krüger
a08bde615a
Fixed tests.
14 years ago
Mike Krüger
5418c1cadd
[NRefactory] Removed Browsable Attribute from GetEditorBrowsableState
...
- that attribute should not affect completion, only design time
editors.
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
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
Daniel Grunwald
519dc12eda
Add IsKnownType() extension method.
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
Daniel Grunwald
a3534f250d
Add INamespace.ContributingAssemblies.
14 years ago
Daniel Grunwald
8b026d4e15
Script.Link() dummy implementation: return a completed task instead of null.
14 years ago
Daniel Grunwald
bfe463b50d
NRefactory 5.1.0
14 years ago
Daniel Grunwald
4513b6e57c
Avoid NullReferenceExceptions now that MethodGroupResolveResult.TargetResult can be null.
14 years ago
Daniel Grunwald
41b777593a
Merge pull request #80 from erik-kallen/DynamicImprovementsNewTry
...
Dynamic improvements as discussed in https://github.com/icsharpcode/NRefactory/pull/70#issuecomment-6694782
14 years ago
Daniel Grunwald
3ddf30c339
Fix icsharpcode/NRefactory#71 : entity type for indexers (explicit interface implementations)
14 years ago
Erik Källén
acb1218d5f
Test demonstrating issue with EntityType for indexers that explicitly implement interface members.
14 years ago
Daniel Grunwald
65097ed48f
Add unit test for named attribute argument.
14 years ago
Daniel Grunwald
dfbca8567d
Add (failing) unit test for icsharpcode/NRefactory#56 .
14 years ago
Daniel Grunwald
a15921d5a8
Merge pull request #81 from erik-kallen/IsConstantExpressionConversion
...
Added property Conversion.IsConstantExpressionConversion
14 years ago
Erik Källén
f3d13eebdf
Added property Conversion.IsConstantExpressionConversion
14 years ago
Erik Källén
916cc2a1f2
Fixed issues pointed out by Daniel.
14 years ago
Daniel Grunwald
6192d7a4b1
Documentation for MethodListWithDeclaringType
14 years ago
Daniel Grunwald
d7ebf92885
Add (failing) unit tests for icsharpcode/NRefactory#45
14 years ago
Daniel Grunwald
9e8487329a
Change "string[] Conditionals" to "IList<string> ConditionalSymbols"
14 years ago
Erik Källén
ecd3de7ece
Implementation of feature
14 years ago
Erik Källén
ce5a42c4ee
Tests for the improved dynamic handling.
14 years ago
Daniel Grunwald
13dce76d36
Add Conversion.IsNullLiteralConversion ( icsharpcode/NRefactory#59 )
14 years ago
Daniel Grunwald
ea5e36c836
Fix icsharpcode/NRefactory#60 : Implicit type parameter conversion
14 years ago
Daniel Grunwald
b65637108b
Implemented C# cref parser.
14 years ago
Daniel Grunwald
3d74abb409
Use directly specific corlib implementation for GetAllBaseTypesTest so that the tests don't fail if interfaces are added to .NET BCL types.
14 years ago