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
Mike Krüger
1037d562ff
fixed some errors.
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
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
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
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
14 years ago
Mike Krüger
0cb2388538
Separated the annotations from the ast node & added annotations to the
...
project content.
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
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
aa42b1b74b
Added error storage to IParsedFile.
14 years ago
Mike Krüger
bd4fb10522
Added cenecllationtoken work around.
...
Mono crashes on default cancellation token.
14 years ago
Mike Krüger
40147bc84f
Changed CreateShortType implementation a bit.
14 years ago
Mike Krüger
c744d2f523
Worked on the way nrefactory contexct actions use the resolver.
14 years ago
Mike Krüger
1b7906ae68
Worked on context actions.
14 years ago
Daniel Grunwald
94b4130aa9
Add IParsedFile to type system.
14 years ago
Mike Krüger
be5139a776
Added more context actions.
14 years ago
Daniel Grunwald
62988d631e
Add TypeSystemAstBuilder: IType --> AstType conversion.
14 years ago
Mike Krüger
530cb0bb7b
mhutch: [NRefactory] Fix const modifier on fields
14 years ago
Mike Krüger
2b5569dd47
use faster string comparer.
14 years ago
Mike Krüger
0f5f4740fa
worked on context actions.
14 years ago
Mike Krüger
6e1eaf15f8
Added monodevelop context actions.
14 years ago
Mike Krüger
3eb2e5dcf6
Added patch from mhutch: [NRefactory] Add some name token accessors
14 years ago
Mike Krüger
7070e471c0
corrected output of primitive expressions.
...
Primitive expressions contain a literal value which should be
preferred ("0x10" vs "16").
14 years ago
Mike Krüger
8b606d1b32
Updated mcs/fixed unit test.
...
string literal constants now contain the real 'literal'.
14 years ago
Mike Krüger
0afdacd129
changed to HasModifier.
14 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
14 years ago
Mike Krüger
d36805c47c
fixed assembly attribute csharp test.
14 years ago
Mike Krüger
67d9bb5957
Fixed attribute on method parameter tests.
14 years ago
Daniel Grunwald
3685f491b9
Fixed TypeSystemConvertVisitor for read-only properties.
...
Added some attribute parser tests.
14 years ago