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
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
1ae1b17ea5
Added gettype/member extension methods that are working on a
...
line/column pair.
14 years ago
Mike Krüger
c744d2f523
Worked on the way nrefactory contexct actions use the resolver.
14 years ago
Daniel Grunwald
1836aa8a00
Merge branch 'master' of github.com:icsharpcode/NRefactory
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
c337048cc3
added missing file.
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
13acde3ec2
fix build.
14 years ago
Mike Krüger
8b606d1b32
Updated mcs/fixed unit test.
...
string literal constants now contain the real 'literal'.
14 years ago
Daniel Grunwald
b2d2678472
Rename ITextBuffer -> ITextSource
14 years ago
Mike Krüger
3048d668c8
Added some proposals.
14 years ago
Daniel Grunwald
21fcd8262f
Add ISegment and ITextEditor interfaces.
14 years ago
Daniel Grunwald
b4bcc8036f
Add ICSharpCode.Editor assembly.
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
Daniel Grunwald
26986f9569
Make sure NamespaceEntry.ClassCount stays consistent with the ordinal typeDict at all times, even when there are name clashes in one of the non-ordinal dictionaries.
14 years ago
Mike Krüger
ddc55ad19d
fixed variable declaration statement inside for loops wrong semicolon
...
position.
14 years ago
Mike Krüger
fca4dd0ba4
Added GetTypes method in compilation unit.
14 years ago
Eusebiu Marcu
591d874639
Merge branch 'master' of https://github.com/icsharpcode/ILSpy into Debugger
14 years ago
Mike Krüger
0398fd691a
Fixed 'GlobalAttributeCSharp' test.
14 years ago