Daniel Grunwald
dac867d9ed
Fix pattern matching for ComposedType.BaseType.
13 years ago
Daniel Grunwald
911d47cb02
Indexer declaration: make "this" a token instead of an identifier
13 years ago
Daniel Grunwald
1b5b02e0a7
Use SyntaxTree.MemberRole for assembly attributes.
13 years ago
Daniel Grunwald
46881e6ea2
Un-ignore some tests that were fixed
13 years ago
Daniel Grunwald
a3949addb5
C# parser: preserve order of constraints
13 years ago
Erik Källén
1b45b0eeaa
Bug with comment just before try/catch/finally statement.
13 years ago
Mike Krüger
24e7b56613
Fixed cyclic constants.
13 years ago
Mike Krüger
8830b3fbac
Add unit test for cyclic constants.
13 years ago
Mike Krüger
0df05c304f
Updated mcs.
13 years ago
Daniel Grunwald
f558b300e7
Revert "[AST] Handled protected and/or internal on AST level."
...
"protected internal" and "internal protected" are the same thing in C#.
Both map to ProtectedOrInternal; the ProtectedAndInternal accessibility is
not usable from C#.
This reverts commit b5ad2882ca
.
13 years ago
Mike Krüger
b5ad2882ca
[AST] Handled protected and/or internal on AST level.
13 years ago
Mike Krüger
6efd3b949a
Revered patch from erik kallen/ignored failing test.
13 years ago
Mike Krüger
637a7daae2
Updated mcs (fixed parser bug).
13 years ago
Daniel Grunwald
c3a31c9c81
Fix #92 : The resolver does not check type constraints on calls to generic methods
13 years ago
Daniel Grunwald
16aa0c6c28
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
13 years ago
Simon Lindgren
4424f0efd9
[Parser] Add failing unit tests for AttributeSections with multiple attributes.
13 years ago
Erik Källén
32d43b2534
Fixed query orderings when ordering by more than one expression.
13 years ago
Daniel Grunwald
62a8b20208
Fix icsharpcode/NRefactory#89 : explicit conversion of array to generic IList fails when array covariance is used.
13 years ago
Daniel Grunwald
087aee7fe8
Simplify parser API.
13 years ago
Mike Krüger
34932efc78
[Parser] Hacked work around for parser error.
13 years ago
Daniel Grunwald
eaba9798d3
Rename 'cu' to 'syntaxTree'.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
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
6bd0bfc5a8
Add failing unit test for CompilationUnit.ConditionalSymbols.
13 years ago
Daniel Grunwald
dfbca8567d
Add (failing) unit test for icsharpcode/NRefactory#56 .
13 years ago
Daniel Grunwald
d7ebf92885
Add (failing) unit tests for icsharpcode/NRefactory#45
13 years ago
Daniel Grunwald
9640abde31
Add (failing) unit test for icsharpcode/NRefactory#73 .
13 years ago
Mike Krüger
4f70f16149
[CodeActions] Implemented abstract members action/Improved implement
...
interface action & fixed unit tests.
13 years ago
Mike Krüger
2de50218e7
Fixed failing unit test.
13 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
13 years ago
Simon Lindgren
0c9704d216
[Parser] Give ExpressionStatements with an invalid expression a semicolon if there was one in the file.
13 years ago
Daniel Grunwald
050035186c
Simplify API for retrieving compiler errors/warnings.
13 years ago
mike
5fe3dbdeac
[UnitTest] Added test case for parser bug.
13 years ago
Daniel Grunwald
cbb1fe5008
Fixed some issues resolving members.
13 years ago
Daniel Grunwald
4d07b33b44
CSharpAstResolver now can resolve type members even when no parsedFile is specified.
...
This is useful for analyzing generated code that does not have accurate StartLocation/EndLocation assigned.
13 years ago
mike
7d89302a83
[Tests] Added test case for a parser bug.
13 years ago
Mike Krüger
f7fb29804d
Implemented better solution for the array initializer workaround hack.
13 years ago
Mike Krüger
7bf1b4a850
Added some unit tests.
13 years ago
Mike Krüger
7a69c6544b
Fixed Issue #38 : Parser Regression in ObjectCreate initialization
13 years ago
Mike Krüger
6f1325dea7
Fixed Issue #44 : The ending TextLocation of an ArrayCreateExpression
...
is incorrect when the array is initialized with zero elements
13 years ago
Mike Krüger
5dbe3654f5
[Ast] Renamed named argument expression identifier -> name.
13 years ago
Mike Krüger
c0b97ae07e
Updated mcs/fixes some unit tests.
13 years ago
Mike Krüger
e499b7aa20
Updated mcs.
14 years ago
Mike Krüger
c114f711df
Added unit tests for the open mcs nrefactory related bugs. We should
...
ensure that mcs doesn't regress there.
14 years ago
mike
11b8c3bca6
Removed IRelocatable infrastructure - the start line could now be
...
altered in the lexer directly.
14 years ago
Daniel Grunwald
ab024b9ddc
Fix icsharpcode/NRefactory#28 : Identity of lambda parameters
...
Revert change regarding TypeDeclaration.ClassType; using derived nested classes / factory methods is inconsistent API with all other AST nodes.
If we want to save that bit of memory, we could store ClassType in the flags instead (there's about 20 bits free), although I think it won't matter since TypeDeclaration is a relatively rare node.
14 years ago
Mike Krüger
4ea7ebc517
Moved more roles to the Roles class/Changed TypeDeclaration
...
representation (saves some memory and class type is now always
defined).
14 years ago
Mike Krüger
90bf204c7f
Moved the roles class out of AstNode.
14 years ago
Daniel Grunwald
3fbcf2f7d0
Add support for partial methods.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago