Mike Krüger
2b726d26ca
Fixed System.Void output.
14 years ago
Mike Krüger
67fff9fe04
fixed bug in using statement parsing.
14 years ago
Mike Krüger
ef0d911945
Revert "Implemented user defined operator candidates."
...
This reverts commit 9165dfed85
.
14 years ago
Mike Krüger
9165dfed85
Implemented user defined operator candidates.
14 years ago
Mike Krüger
6199ee3ba8
checked outer classes for aceessibility private check.
14 years ago
Mike Krüger
5fad5f93e8
Added time stamp to parsed files.
14 years ago
Mike Krüger
37dbafdff4
fixed mcs bug.
14 years ago
Mike Krüger
0e1ad6e342
Started to implement a 'skip bodies' mode for parsing.
14 years ago
Mike Krüger
62d61ec84b
Implemented GetResolveableNodeAt function.
14 years ago
Mike Krüger
26946f003a
Added DeclarationRegion property to IVariable.
14 years ago
Mike Krüger
694f3730aa
fix infinite loop.
14 years ago
Daniel Grunwald
daf0f21607
Fixed some bugs related to conversions of type parameters.
14 years ago
Daniel Grunwald
5ae4d6070a
Conversions: add support for user-defined implicit conversions.
14 years ago
Daniel Grunwald
7615720130
ResolveVisitor: Handle type arguments on IdentifierExpression and MemberReferenceExpression.
...
Add support for PointerReferenceExpression.
14 years ago
Daniel Grunwald
3435eec015
Add ResolveVisitor.GetResolverStateBefore(AstNode).
14 years ago
Daniel Grunwald
5b92717241
Add GetMembers() to IType; add ParsedFiles to IProjectContent.
14 years ago
Daniel Grunwald
c9238339a5
Fix build errors.
14 years ago
Mike Krüger
1037d562ff
fixed some errors.
14 years ago
Daniel Grunwald
7fb7783d22
Make AbstractAnnotatable implement IAnnotatable.
14 years ago
Daniel Grunwald
c9d4a5d0c9
Rename ITypeResolveContext extension methods to be consistent with the new names of the ITypeResolveContext methods.
14 years ago
Daniel Grunwald
350ebaad8c
Fixed NullReferenceException in type inference when passing a "string[]" for a parameter of type "IEnumerable<T>".
14 years ago
Daniel Grunwald
823471ebc3
Make the end offset of SegmentExtensions.Contains inclusive.
14 years ago
Daniel Grunwald
b40610dcb6
Simplify nested synchronization of CompositeTypeResolveContext.
14 years ago
Mike Krüger
991bea4b72
Added IsVerbatim property again.
14 years ago
Mike Krüger
484c586706
Added easy accessible acceess members.
14 years ago
Mike Krüger
a883a3ddf6
Added constructors that take an error location/added file header.
14 years ago
Mike Krüger
77d54ee040
added some constructors.
14 years ago
Mike Krüger
e8153e0a69
reduced comment insertion time from O(m log n) to O (m).
14 years ago
Mike Krüger
44e796a198
Reduced the memory consumption of identifiers a bit by saving the
...
'isverbatim' bool.
Note: Don't introduce that as virtual property, otherwise the memory
saving is lost.
14 years ago
Mike Krüger
0afc1c6b2d
Updated mcs / included code completion expression lookup.
14 years ago
Mike Krüger
33d588b371
Added the ability to specify parser arguments & provided a compiler
...
callback (for getting pre processor directives etc).
TODO: Move pre processor directives in the AST.
14 years ago
Mike Krüger
93b3ebf41a
Implemented type system -> cecil object table.
14 years ago
Mike Krüger
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
14 years ago
Mike Krüger
abec11857e
fix build.
14 years ago
Mike Krüger
c6aa05d35d
Addded GetSubTypeDefinitions method.
...
That's like a routine we had in the old MD dom - it's used for example
for finding all exceptions in an assembly.
14 years ago
Mike Krüger
b7fc89cb97
added header.
14 years ago
Mike Krüger
0cb2388538
Separated the annotations from the ast node & added annotations to the
...
project content.
14 years ago
Daniel Grunwald
41578d426e
Merge branch '1.0'
14 years ago
Alex Lyman
016987427b
- Reverted changes to display decimal.MinValue and decimal.MaxValue - Altered InitializerTests to use constant literals instead of decimal.MinValue and decimal.MaxValue
14 years ago
Alex Lyman
5c3be8f4cc
- Modified the InitializerPeepholeTransforms' Array Initializers to do a forward scan of the block instead of just checking the next instruction. The next-instruction thing breaks down under the case where you have an array-of-arrays (int[][]) - Added to the InitializerPeepholeTransforms' Array Initializers to detect the creation of a multi-dimensional array (int[,]) - Modified the ILCode.InitArray contract to take an ArrayType instead of just the element type, and passing with the ArrayType.Dimensions set accordingly. - AstMethodBodyBuilder now used the ArrayType.Dimensions info to build a tree of ArrayInitializerExpressions from the raw, element-by-element list. - Fixed OutputVisitor not calling StartNode for EmptyExpressions
...
Known issues:
- ArrayCreateExpression outputs extra space in the array specifier when using EmptyExpressions, ala: "new int[][, ]"
- The tree of ArrayInitializerExpressions outputs with blank lines before and after each block.
14 years ago
Alex Lyman
c1d27c7770
- Made the InitializerTests pass, through three changes: * Added new-lines as needed to make the source formatting match what the actual output was. * Added code to CodeAssert to make it ignore #regions * Added code to output decimal.MinValue and decimal.MaxValue as appropriate
14 years ago
Mike Krüger
af5e2c6b0e
Added extension method GetMembers on IType.
14 years ago
Mike Krüger
7e29f61da6
Fix build (however formatting tests will fail).
14 years ago
Mike Krüger
9d21d1c705
Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs &
...
delegates too).
14 years ago
Mike Krüger
51f924f752
Renamed ITypeDefinition.InnerClasses -> NestedTypes (for more
...
consistency with IType.GetNestedTypes
14 years ago
Mike Krüger
224f97373a
Revert "Moved class type to IType / added type parameter class type for type"
...
This reverts commit ba335edeb6
.
14 years ago
Mike Krüger
ba335edeb6
Moved class type to IType / added type parameter class type for type
...
parameters.
14 years ago
Mike Krüger
aa42b1b74b
Added error storage to IParsedFile.
14 years ago
Mike Krüger
bae8765cad
Added AstLocation Begin/End properties.
14 years ago
Mike Krüger
9bc76cf08d
Added naive remove type definition.
...
This won't work for partial types.
14 years ago