83 Commits (a1f613e2749b85bc488b0c9cb5d2fe0b48ae2449)

Author SHA1 Message Date
Daniel Grunwald f86a014b9c Put MIT license into the file headers. 14 years ago
Mike Krüger b01c263d2e Implemented brace style formatting. 14 years ago
Daniel Grunwald b40610dcb6 Simplify nested synchronization of CompositeTypeResolveContext. 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 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 6e1eaf15f8 Added monodevelop context actions. 14 years ago
Mike Krüger 7070e471c0 corrected output of primitive expressions. 14 years ago
Daniel Grunwald 07e2896356 Make InsertParenthesesVisitorTests independent from indentation of the output. 14 years ago
Mike Krüger f76181376f Fixing switch section output + it's now possible to track node output 14 years ago
Mike Krüger 79f17985ea Put embedded statments onto next line. 14 years ago
Daniel Grunwald eb6f6c19c1 Make ConvertChar and ConvertString public. 14 years ago
Daniel Grunwald a238bf1cfe When decompiling a field, also decompile constructors to check whether there's an initializer on the field. When decompiling a constructor, display field initializers outside of the constructor. Closes #3. 14 years ago
Siegfried Pammer 3974a801e1 remove isLastLine from interface - use stack instead; fix null reference if resolve of TypeDefinition fails 14 years ago
Siegfried Pammer 5997f81668 add foldings to documentation comments; closes #165 14 years ago
Siegfried Pammer 99b4726d91 fix https://github.com/icsharpcode/ILSpy/issues/177 14 years ago
Daniel Grunwald eb24135e41 Implemented IConstantValue for C#. 15 years ago
Daniel Grunwald f3b9d118d1 When the last statement in a block is a label, add an EmptyStatement so that the generated code is valid. 15 years ago
Mike Krüger 9fedc310ac Handled undocumented expressions. 15 years ago
Daniel Grunwald b22b3ec56f C# OutputVisitor: improve indentation of query expressions 15 years ago
Daniel Grunwald 2ca7ec2808 Fixed output of NamedArgumentExpression within object initializers. 15 years ago
Daniel Grunwald 43e33f88c0 Fixed InsertParenthesesVisitor for casts of negative primitive expressions. 15 years ago
Mike Krüger ccd06a496c Fixed query expression tests. 15 years ago
Daniel Grunwald d4eaffbb42 Make pattern matching AST independent from C# AST. 15 years ago
Daniel Grunwald e8d472ba89 Rename FixedVariableInitializer.Initializer to CountExpression (this makes it consistent with StackAllocExpression). 15 years ago
Mike Krüger 16715bb854 Renamed CSharpFormattingPolicy to CSharpFormattingOptions. 15 years ago
Mike Krüger 873c18530b Added attribute section parsing / fixed indexer declaration tests. 15 years ago
Daniel Grunwald f3c52a0609 Add OperatorDeclaration.GetOperatorType() helper method. 15 years ago
Mike Krüger cc209b45f9 Fixed ArrayObjectCreateExpression tests. 15 years ago
Mike Krüger f03042647c Added extern alias node. 15 years ago
Mike Krüger d8e26ed8dc Added fixed field ast node. 15 years ago
Mike Krüger 2bee26ad27 Added AST formatting visitor. 15 years ago
Mike Krüger 749f5a885e Updated parser & mcs. 15 years ago
Daniel Grunwald 3cc6fabec4 Allow performing definite assignment analysis without providing an ITypeResolveContext. 15 years ago
Daniel Grunwald f68a49b509 Improve spacing in fixed statement output. 15 years ago
Daniel Grunwald 3ad453dc5d Add OptionalNode for pattern matching. 15 years ago
Artur Zgodziski 73350e7158 small code reformatting 15 years ago
Artur Zgodziski fdf1dac373 Indexer decompilation support. 15 years ago
David Srbecký cafda5f692 Generate switch default case. Closes #26 15 years ago
Daniel Grunwald 0c9dec1b9a Fix output of float/double literals that are infinite or NaN. 15 years ago
Daniel Grunwald 0c9b5cb03a Remove "Attribute" suffix and add support for attributes on type parameters. 15 years ago
Daniel Grunwald a92606cb97 Some improvements to output visitor. 15 years ago
Daniel Grunwald 41b4385d7c Port NRefactory to .NET 3.5. 15 years ago
Daniel Grunwald 3b6fe6ff0d Adjust resolver to AST changes and disable failing unit tests. 15 years ago
Daniel Grunwald 93e9d1e18b Use implicit conversion operator to convert from Pattern to AST nodes. 15 years ago
Daniel Grunwald defd42696d AST bugfixes. 15 years ago
Daniel Grunwald b51f5a651f Add pattern matching for MemberDeclarations. 15 years ago
Artur Zgodziski 74fd14a2f5 attributed parameter declaration. 15 years ago
Artur Zgodziski a07f545377 Printing initializers of enum members. 15 years ago
Daniel Grunwald 07c8c0c0f3 Use newlines in array initializers. 15 years ago