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
14 years ago
Mike Krüger
5241e34d02
Merge pull request #91 from mono-soc-2012/simonl-attributesection-fix
...
Fix end location of AttributeSections
14 years ago
Simon Lindgren
ea49b1a6cf
[CodeIssues] Add StaticFieldInGenericTypeIssue.
14 years ago
Simon Lindgren
7c19dfa4ef
[Parser] Set locations of AttributeSections correctly.
14 years ago
Simon Lindgren
4424f0efd9
[Parser] Add failing unit tests for AttributeSections with multiple attributes.
14 years ago
Simon Lindgren
e5f5d6c9e2
[CodeIssues] Add ThreadStaticOnInstanceFieldsIssue.
14 years ago
Erik Källén
fec84f8b98
Implemented missing operation on new SeekableStreamReader
14 years ago
Daniel Grunwald
699d841e06
Merge pull request #90 from erik-kallen/FixOrderByParsing
...
Fix order by parsing
14 years ago
Erik Källén
7794385a47
Enabled query expander tests now that multiple orderings are supported.
14 years ago
Erik Källén
32d43b2534
Fixed query orderings when ordering by more than one expression.
14 years ago
Simon Lindgren
cdfde8bcef
[CodeActions] Greatly improved OptionalParameterCouldBeSkippedIssue.
...
It now handles named parameters much better, has more actions, and less code duplication.
14 years ago
Daniel Grunwald
62a8b20208
Fix icsharpcode/NRefactory#89 : explicit conversion of array to generic IList fails when array covariance is used.
14 years ago
Simon Lindgren
82ab94fa1f
[CodeIssues] OptionalParameterCouldBeSkippedIssue: Check for unmappable arguments.
14 years ago
Simon Lindgren
d69abeae95
[CodeActions] Handle resolution errors in IterateViaForeachAction.
14 years ago
Simon Lindgren
1371e6db61
[CodeIssues] Fix bugs in RedundantCatchIssue.
14 years ago
Simon Lindgren
d6054d1035
[CodeIssues] Add ExceptionRethrowIssue
14 years ago
Mike Krüger
e97b6b22cd
[Parser] Fixed some optional comma bugs.
14 years ago
Daniel Grunwald
087aee7fe8
Simplify parser API.
14 years ago
Mike Krüger
34932efc78
[Parser] Hacked work around for parser error.
14 years ago
Mike Krüger
f81ecd7e29
[Parser] Implemented own seekable stream reader.
14 years ago
Daniel Grunwald
102ce25f4c
Merge pull request #87 from erik-kallen/DynamicExpressionsUseNamedArgumentResolveResult
...
Use NamedArgumentResolveResult for dynamic invocations.
14 years ago
Daniel Grunwald
927f263d76
Merge pull request #85 from erik-kallen/QueryExpressionExpander
...
Implemented QueryExpressionExpander.
14 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
14 years ago
Simon Lindgren
73b80fc36b
[CodeIssues] CallToObjectViaBaseIssue: Ignore calls which do not target members of 'base'.
14 years ago
Daniel Grunwald
eaba9798d3
Rename 'cu' to 'syntaxTree'.
14 years ago
Daniel Grunwald
979fa91a2e
Fix icsharpcode/NRefactory#88 : implicit conversion between type parameters.
...
Convert from T to U where T : class, U. Only T is known to be a reference type; U is not.
C# still classifies the conversion as a reference conversion.
14 years ago
Erik Källén
703889298e
Ensure that named argument instances are unique for dynamic invocations.
14 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
14 years ago
Simon Lindgren
93940f89f6
[CodeIssue] RedundantToStringIssue: Don't crash on parameter with declaration-less types.
14 years ago
Erik Källén
0af0137bdb
Use NamedArgumentResolveResult for dynamic invocations.
14 years ago
Erik Källén
7ece3ce722
Statements ending in select (i) now acts as if the statement was not parenthesized.
14 years ago
Simon Lindgren
9a53205b0e
Merge remote-tracking branch 'upstream/master' into simonl
...
Conflicts:
ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj
ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj
14 years ago
Simon Lindgren
17cdd1fabd
[CodeAction] Add ConvertInitializerToExplicitInitializationsAction.
14 years ago
Simon Lindgren
35475a2414
[Refactoring] Make NamingHelper less horrible and remove the helper from RefactoringContext.
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
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
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