mirror of https://github.com/icsharpcode/ILSpy.git
Tree:
a1f08f39d1
ast-source-generator
bugfix/constrained-call-targets
christophwille/membench
custom-signature-decoder-comparer
deconstruction-fixes
feature/inlinearrays
feature/mts
fix/sast
gh-pages
issue1638
master
mdnupdate
natural-type-lambdas-methods
net10upgrade
net10upgrade-broken
net10upgrade-future
netsparkleupdater
pdb+dmeta
release/6.2
release/7.1
release/7.2
release/8.1
roslyn413
stash/beautify-enum-member-declarations
stash/dynamic-await
switch-expression-default-case
variable-naming
1.0-Beta
1.0-M1
1.0-M2
1.0-M3
1.0.0
2.0.0
2.1
2.2
2.3
2.3.1
3.0-Preview1
3.0-Preview2
3.0.2
v2.3.2
v2.4
v3.0
v3.0-beta1
v3.0-beta2
v3.0-beta2a
v3.0-beta3
v3.0-beta4
v3.0.1
v3.1-beta1
v3.1-final
v3.1-rc
v3.2-beta
v3.2-rc
v3.2.0
v4.0
v4.0-alpha1
v4.0-beta1
v4.0-beta2
v4.0-beta3
v4.0-rc1
v4.0-rc2
v4.0.1
v5.0
v5.0-preview1
v5.0-preview2
v5.0-preview3
v5.0-preview4
v5.0-rc1
v5.0.1
v5.0.2
v6.0
v6.0-preview1
v6.0-preview2
v6.0-preview3
v6.0-preview4
v6.0-rc1
v6.1
v6.2
v6.2-preview1
v6.2-preview2
v6.2.1
v7.0
v7.0-preview1
v7.0-preview2
v7.0-preview3
v7.0-rc1
v7.0-rc2
v7.1
v7.2
v7.2-preview1
v7.2-preview2
v7.2-preview3
v7.2-preview4
v7.2-rc
v7.2.1
v8.0
v8.0-preview1
v8.0-preview2
v8.0-preview3
v8.0-preview4
v8.0-rc1
v8.1
v8.1.1
v8.2
v9.0
v9.0-preview1
v9.0-preview2
v9.0-preview3
v9.0-rc
v9.1
${ noResults }
3 Commits (a1f08f39d178d21c3460b57e3a71c5182f01112c)
Author | SHA1 | Message | Date |
---|---|---|---|
|
a1f08f39d1 |
Squashed 'NRefactory/' changes from b374e40..180a690
180a690 Create .pdb file in release build. f074239 NRefactory 5.0.0.6 release. 11ab30b Added custom event declaration case to code settings. e0f3421 Add support for type forwarders. bb27ef5 Fixed completion bug. 86fede3 Fixed anther system.core 3.5 vs. 4.0 type lookup case. b277e75 Fixed GetClassTypeReference resolving error. Use case: Lib uses System.Core 3.5, Project 4.0 - the 3.5 assembly can't be resolved in the project context. 7dd4c63 Updated formatting tests. 04f8720 Added formatting factory - formatting options should be created with that. ca289f5 Improved array initializer wrapping options. 3ec1d7b Fixed exception in create method action. 42f6bfb Fixed completion bug. 64ca5a0 Fixed completion bug. 9511d48 Added KeepCommentsAtFirstColumn option. c882a84 Added space in named argument formatting option. 0326e93 Fixed other enum base type context. bd20152 Fixed enum base type bug. bfb4d50 Merge branch 'master' of github.com:icsharpcode/NRefactory c0b97ae Updated mcs/fixes some unit tests. d9a88ce Changed the action text of remove backing store action. 629bdce Fixed extract method link bug. 8478cc6 Merge branch 'master' of github.com:icsharpcode/NRefactory b8dd515 Updated mcs. eec8403 Added new lines between generated members. e499b7a Updated mcs. 1576e08 Added some generated code member categories. 0cbca24 Added whitespace and text node. They are needed anyways, now the ast should be theretically round-trip complete. c7e1236 Added NewLine ast node. 3eff925 Fixed code completion exception. 14ca306 Added function to create a DA object to the refactoring context. 484c142 Added some documentation. f94402f Made it easier to get the issues out of the gather visitor. 7509ba5 Applied patch by Mansheng Yang to improve the remove braces action. 66a365e Updated mcs. 3761df4 Merge branch 'master' of github.com:icsharpcode/NRefactory 90eadb3 Fixed completion bug. 6669636 Fixed bug in parameter completion. 265a9ec Merge branch 'master' of github.com:icsharpcode/NRefactory 3932a6e Fixed failing completion tests. 374f1cb Fixed parameter completion bug. 53acb15 * ICSharpCode.NRefactory.CSharp.csproj: * SpecializedCodeAction.cs: * ConvertDecToHexAction.cs: * GeneratePropertyAction.cs: * CheckIfParameterIsNullAction.cs: 075ffe3 Fixed completion category bug. 6b3da28 Revert "Changed refactoring context behaviour. It now works on adjacent nodes" 1465739 Changed refactoring context behaviour. It now works on adjacent nodes as well. 1bc751b Added end inclusive GetNodeAt to AstNode. c114f71 Added unit tests for the open mcs nrefactory related bugs. We should ensure that mcs doesn't regress there. eb6a774 Fixed some issues in the output visitor. Note that the block statement newline should be done more elegant (new lines should be done in the parent). 6c96156 [NRefactory] Fixed CurrentType check for some actions. 50aa6e0 Fixed a case where extract method returned null. 8111e26 Add issue provider for explicit conversions in foreach loops. 9e1d371 Fixed RedundantUsingIssue to no longer remove "System.Linq" if it is required for a query expression. f098db8 Fix bugs in RedundantNamespaceUsageIssue and CreatePropertyAction. 0a8825e Fix build of NR.ConsistencyCheck. 656093a [FastSerializer] Added bugfix from Marek Safar. 3ccf18d ResolveAtLocation now uses resolve visitor navigator. 9e622c1 Create class action can now generate interface implementation. Need to think about that feature, maybe just adding the base type is better and letting the user choose implicit/explicit implementation ? 69a7136 Fixed remove brace action tests. 83d4cb2 Fixed link mode in extract method/introduce constant action. 8444dff Startet exctract method action. b4b3e64 Improved type guessing. ceef571 Added introduce constant action. 4644a07 Fixed method declaration case. a627665 Merge branch 'master' of github.com:icsharpcode/NRefactory bb4cafa Fixed null reference exception in control flow graph builder. 44f8d23 Merge branch 'master' of github.com:icsharpcode/NRefactory cfe6272 Fixed possible null exception in control flow node. 8bb2301 Fixed tests. 769ea3e Merge branch 'master' of github.com:icsharpcode/NRefactory a851b1c Fixed indenting behaviour of comments and directives. 444fe4e Make IParsedFile.LastWriteTime nullable. 048a4b9 Updated Fdg rules. 4f47170 Fixed type inference bug introduced in 2e40a34 - array covariance was ignored. deb6bcd Add CancellationToken to AXmlParser. b21e85f Updated indent engine. 2ec03c2 Added a text editor options class that contains options for text output. e5d6452 Code completion name propsoal now uses the word parser to break words. d85bb0e Fixed completion bug. acce74e Fixed bug in create method declaration action. 5012f3f Handled static class <--> non static member clash in create field/method/property actions. c3aea07 Turn off issue marker for var keyword issue (handled by action). af87519 Removed debug message. 89ee8bc Allow '_' and 'm_' as field prefix name. 256dae8 Fixed create method declaration case. 34b3e18 Adjusted default Fdg rules a bit (private static fields are now camelCase). 62ebfc7 Disabled out name filter for create field,property and method. b1dfdba Added create delegate action. 718dfe4 Added more cases for create class declaration. 93fb777 Added flag to specify if explict types should be used or not. 9e070b9 Hide not implemented exception issue in the text editor. c33d15e Fixed bug where code actions could be null. 6b61741 Added create class declaration action. d4f9318 Added create constructor declaration action/fixed bugs in other creation actions. 2d80884 Fixed failing unit tests. bcf36de Fixed find type parameter references. 8c55a4e Fixed type parameter rename dialog action. 99270db Fixed type parameter naming. 795e6c8 Improved naming issue checking for some special cases of entities. 98e7a57 Fixed type parameter naming rule. 9ab32dc Fixed inconsistent naming issues. a14ed3b Fixed inconsistent naming tests. 74e365b DeclareLocal variable action now links the identifiers. 1ca41d1 Added declare local variable action. b6bdb90 Added inline local variable action. 9ec0d68 Added create indexer action. 627bbb7 Fixed parameter name guessing. 0b6ca98 Handled create method/property in other types. 635af4b Don't show create local/field/property on invocations. 402e112 Fixed create static field/property. ee71c30 Merge branch 'master' of github.com:icsharpcode/NRefactory a234f8b Create actions now respect naming convention settings. ce7bdd7 Added IServiceProvided infrastructure for the refactoring context. cb60935 Use ImproveDReturnAllResults type inference algorithm in GuessType. b5bd653 Leave upper bounds empty. 1d3d3df Merge branch 'master' of github.com:icsharpcode/NRefactory 52ebb26 Added create method declaration action/use type inference to guess the correct type. 75b6cc6 Enabled generate getter/property tests. 0c6ea80 Fixed create field, local and property actions. 003b8c9 Added more entities & missing flags. 604011b Fixed check of visibility mask. fcfbbdb Completed the features of the inconsistent naming issue. 0a55295 Added compiler warnings & errors issue categories. 5e7b449 Set namespace naming rule name. 3e256c4 Added default names for fdg naming rules. 293859f Naming rules now get their rules out of the refactoring context. fba2d7c ITextSource.MoveOffsetTo: make AnchorMovementType parameter optional. daa1cff Remove BaseRefactoringContext.StartScript(). 439010a Added some inconsistent naming tests. 6b41506 Added missing is null or empty inspector cases. 41d5b50 Worked on inconsistent naming issue. a179782 Fixed code completion bug. 193a153 Fixed completion bug. e282837 Fixed parameter completion issue. 9fb443a Improved code issue tests - renamed some issues and actions. 296fc86 Fixed some translation strings/code issues can now offer more actions. e54b06b Disable the failing unit tests. 6ef14c2 Added documentation for issue severity. acfcf37 Changed the ContextAction/Inspector API. 3915a4c Add IsEligibleExtensionMethod to public API. 82af219 Added TranslateString method to the context. ddc74b3 [UnitTests] Track API changes. 615248e Renamed InspectionIssue to CodeIssue. 436eab7 Corrected name token start/end node calls. 974879b Applied sharpdevelop formatting style. b41059f Added check for links in the context action tests. 16ea65a Started to implement tests for the inspectors. 66dfd28 Fixed context action tests. 8e66275 Fixed unit test. b6ad6d4 RedundantUsingInspector: visit simple type. bf71baf Implemented redundant using inspector. 9771b6d Fix icsharpcode/NRefactory#33: Determining if a ThisResolveResult represents this. or base. a3ced27 Simplified several inspectors. Includes some minor bugfixes. 61d6c02 Fixed loop variable bug. 8d0abbe Fix icsharpcode/NRefactory#30: Target of extension method invocation d4dd164 Implemented the new options for overridden members in FindReferences. 3336a43 Fixed redundant this inspector. df285ae Merge branch 'master' of github.com:icsharpcode/NRefactory efa4b0b Added more inspectors. ac49370 Simplify ConditionalToNullCoalescingInspector using pattern matching. c3feace Merge branch 'master' of github.com:icsharpcode/NRefactory 141829a Started inspection API. eab8372 Fixed resolver crash when resolving the arguments of an ObjectCreateExpression with unresolved type (e.g. due to missing using). 2e40a34 FindReferences: API idea for new options b3acaaf Added support for specialized members to InheritanceHelper.GetBaseMember(). 777be39 Rewrite of the substitution logic in SpecializedMember. 7474cdb Fixed member reference expression bug. afbf9c9 Fixed for variable initializer name context. af6c3b2 Updated mcs. bf42e08 Add support for IReadOnlyList<T>. e213758 Replace LazyInit.ReadBarrier() with LazyInit.VolatileRead(). 1713776 Fixed warnings. be4e8bb Added function to get the word segment at caret position. af7cccf Merge branch 'master' of github.com:icsharpcode/NRefactory 54b3bae Fixed possible null reference exception. f78b052 Fixed bug in override completion. e2c8922 Fixed formatting filter. d07356a Fixed ast formatter. c51a5f6 Fixed stub mechanic. 29da952 Fixed some warnings. 6f4a46c Fixed failing unit test. 837d48d Completion engine now works on freezed compilation units. 40a00e7 GetMemberTextToCaret now gives back the correct member start location. 11b8c3b Removed IRelocatable infrastructure - the start line could now be altered in the lexer directly. 9393ea6 [Refactoring] Refactoring context resolver is now protected. 0907829 Fixed ref/out/params keywords. d338acc Fix icsharpcode/NRefactory#18: ResolveResult for object creation ab024b9 Fix icsharpcode/NRefactory#28: Identity of lambda parameters a798d1a Fixed override completion data bug. ce2e528 Documentation update. 47d7d5a Fix icsharpcode/NRefactory#29: NullReferenceException when using FindReferencedEntities navigator 08e6a88 AppendMissingClosingBrackets is now reusable. 51bd416 Correctly set OperatorResolveResult.IsLiftedOperator in more cases. df380b6 Fixed potential cause of CSharpAstResolver.Resolve returning null. e80f142 Fixed bug in CSharpAstResolver.GetExpectedType(). f74bf90 Make AstNode freezable. 4465839 Fixed error caused by Root role. Ok now I know why it needs to be there :) 2c97bfa Added more location checks / added -verbose command line option for the ast verifier. 6c5b439 Added little command line tool to test the AST roundtrip. cf134db Fixed potential null reference exception. da0d25b GtkDemo now uses standard text view. 3c350c1 Merge branch 'master' of github.com:icsharpcode/NRefactory 55f858e Fix icsharpcode/NRefactory#26: Static methods are reported as having "this" as the target 3ac1e56 Fix icsharpcode/NRefactory#22: Event accessors should be called add_X and remove_X c27f57f Fix icsharpcode/NRefactory#25: OperatorResolveResult.IsLiftedOperator for unary operators 4ea7ebc Moved more roles to the Roles class/Changed TypeDeclaration representation (saves some memory and class type is now always defined). 749a13c formatting visitor now does either place if statement on new line or indent the embedded statement - not both. cd349d2 Fixed some issues in the formatter. 0b3b290 Fixed case label indentation. 45cab9b Fixed an issue with overlapping segments/fixed failing unit test. 3503318 Track role name changes in nrefactory.c#. 6a0a96c Moved some roles to the Roles class. 90bf204 Moved the roles class out of AstNode. e93009a Fixed context action unit tests. 5d33b31 Revert "Refactoring context now exposes the document instead of the document" 3d4550c Refactoring context now exposes the document instead of the document like functions. b44d6c6 Fixed typo. 5e93376 Took out ifdef. (I suppose that patch wont make it upstream) 473f6a7 Added some additional bounds check. As the parser improves they may become required. ae28762 Fixed destructor identifier. b491ea8 Rename Conversions to CSharpConversions. 3df0cd3 Make CSharpAstResolver and Conversions thread-safe. cf331bb Fixed resolving partial method definitions. 24d2d19 Use specialized method for MethodGroupConversion. icsharpcode/NRefactory#21 a731b93 Fix icsharpcode/NRefactory#19: OperatorResolveResult.IsLiftedOperator is false for lifted built-in operators. 3215504 Fix icsharpcode/NRefactory#20: Copy virtual/override/static/etc. modifiers from properties/events to accessor methods. 3fbcf2f Add support for partial methods. c3d00d1 Add StringBuilderDocument to NR.Editor. bcad2e1 DocumentScript bugfixes. 8179556 Add DocumentScript that implements Script using a mutable document. c6ae6c3 Script refactoring. 61c4481 [FindReferences] Added destructor find support. a76cab2 Merge branch 'master' of github.com:icsharpcode/NRefactory cfe0d42 Made resolve result == null assertion more verbose. abe5ca4 Merge branch 'master' of github.com:icsharpcode/NRefactory fe8e098 Fixed some FxCop warnings. cbd5a46 Enabled working unit test. fdfdffb Fixed several query expression locations. a360992 Fixed type parameter comma locations. 12c0472 Fixed incorrect parser positions in FixedStatement test. 5a9d33f Fixed attribute empty arglist parens. f1fa0e0 Enabled working unit test. d6d1f08 Fixed ignored unit test. 1100022 [UnitTests] Track API changes. b4c1946 Added CancellationToken support for the context actions. d0618b4 Set version number to 5.0.0.5. eba0218 FindReferences for IEnumerator.Current now finds foreach statements. b06160b No longer require a specifil nunit version. 5dfe563 Fixed naming. 96e434e Added GenerateProperty context action. 3e72441 Fix icsharpcode/NRefactory#16: Resolve the GetEnumerator call inside a foreach fb0dbc9 Fix icsharpcode/NRefactory#17: Resolving "is" and "as" expressions loses the semantics 2ede14a Disabled loction changes by the #line directive. 1503054 TextReplace actions can now depend on each other. 4499d32 Fixed IsInsideDocComment method. TODO: Move the detection of comments & string regions to the IMemberProvider (needs rename) and handle that with a tree on IDE level. e058867 Fixed interface return type tests. 6eaa0fd Fixed interface return type test. 05fc277 Added interface return types test. 36456b4 Updated mcs & improved try context handling. fa2db3b Fixed anonymous method brace style formatting. b13dad1 Resolve visitor change: If the type of an object create expression can't be resolved give back the type resolution failure. This is required to tell why the object creation couldn't be resolved. 11ab326 Readded the 'IsInside' function that checks the position inclusive the end location. a55cbb4 Semantic change: Contains now excludes the end location. 964b6c0 Fixed unit test. d284cbb Remove region context action is now more efficient in choosing the subtrees to analyze. de443b7 Fixed possible exception in create event incocation context action. a353f23 Combine AttributedNode and MemberDeclaration into EntityDeclaration. b416f38 CSharpAmbience: allow passing in a custom IOutputFormatter. d6f3c84 Replace ConversionFlags.UseFullyQualifiedMemberNames with ConversionFlags.ShowDeclaringType. e8f0928 Add support for calling constructors on COM interfaces. e436347 * AstFormattingVisitor.cs: Fixed bug in binary operator expression. 7451607 Added "RemoveRegion" context action. b91ed7e Fixed get current parameter index. c0deae7 Fixed 2 mcs issues. 3813344 Updated mcs & added unit test. 670975c Parameter data providers now contain the start offset of their expression (makes it easier to count the correct parameter number). 4575266 Filter out members that are not suited for code completion. c1a777b Applied a similiar handling for field initializers than for the binary operator line breaks. 47c5b9f Improved binary operator line break handling. e2b3043 Fixed using declaration context. 698164a Merge branch 'master' of github.com:icsharpcode/NRefactory 95ebebc Updated mcs. 008e961 Fixed build under mono. ab7a24e Removed code duplication. btw. was the worst case of duplication - the methods should do the same but had slightly different semantics. 338bedc Used simpler Identifier.Create calls. b0de873 Fixed some more attribute completion tests. e394fb5 Added some more attribute context tests & fixes. 288ab73 Fixed some completion tests. f49f142 Fixed parameter completion unit test. 47d00e1 Added banner style brace output format. c22e11d Added banner style brace style. a993df9 Use simpler IAstVisitor for InsertParenthesesVisitor and TypeSystemConvertVisitor. 2f85914 Use simpler IAstVisitor for ResolveVisitor. 3eee346 CSharpOutputVisitor is now using the IAstVisitor with void return type. 0ffe61e Trim whitespace within XmlDocumentationElements. a0f7de3 Fixed modifier issues in TypeSystemAstBuilder 5bef6f2 Added some comments for the token classes. 3ae2fe7 The formatting visitor is now using an easier visitor pattern. 47bd60c Removed debug message. 24f5bc9 Fixed bug in operator declaration getrole function. 3ffbaa2 Refactored c# token representation, it's now more consistent with the other nodes and takes up a bit less memory. 73e63dd Added GetText function to AstNode. 196e618 Added some Parse methods to the compilation unit. 72d1381 Provided IAstVisitor and IAstVisitor<T> visitor patterns. c180304 Fix DocumentationElement.IsTextNode for the root element. d47cb9d Fix icsharpcode/NRefactory#15 944ba9c Fixed formatting bug. 14bf452 Rename InterfaceImplementations -> ImplementedInterfaceMembers. 274fe41 Add "XmlDocumentationElement", a simplified tree for XML documentation comments that expands "<inheritdoc/>" 18c96e0 Add support for multiline XML documentation comments. 59c9e99 DefaultResolvedTypeDefinition: lazily initialize the list of members. e52e57e Fixed crash in CSharpAmbience on delegate declarations. 00743d5 Fix project options. def9943 Add AXmlObject.CreateReader() method. 2c7c1c7 Fixed failing unit test, added a test to document a wrong parser behaviour. 54b6c57 Added some bounds checking. cb576fb * ICSharpCode.NRefactory.csproj: * IdStringProvider.cs: * IDStringTests.cs: * DocumentationComment.cs: * IdStringMemberReference.cs: * XmlDocumentationProvider.cs: * IDStringConsistencyCheck.cs: * CSharpCrefLookupTests.cs: Renamed IDString -> IdString to follow .NET naming guidelines. a21ee06 Added easier string translation for documentation comment class. d757e48 Fixed possible null reference exception. c74577a Updated mcs. d8d65fc Fixed code completion bug. ca41af4 Add TagMatchingHeuristics. ea14dc8 Updated parameter data provider interface. d280684 Put properly nested elements into AXmlElement. d62f366 Add null node for VariableInitializer. 32626ac Implemented incremental tag soup parser. 06bf2f4 Add consistency check for incremental tag soup parser 191ac7c Use GlobalAssemblyInfo.cs for all projects. 2faf35e Add ICSharpCode.NRefactory.Xml. 29c1b59 Add ICompilation.Assemblies. 2bebee4 C# XML documentation support. b31e104 Protect against [InternalsVisibleTo] stack overflow and fixed a possible cause for that stack overflow bd9348d Add documentation about XML documentation. ec225c1 Fixed bugs related to ID strings. ee92c68 TypeParameterReference now resolves to a dummy type parameter instead of UnknownType when no ITypeParameter is available in the resolve context. 7a76a80 Add DocumentationComment class that allows looking up 'cref' attributes. 4632c42 Fixed unit test. de6870b Fixed completion unit test. d89d25c Added failing unit test. a6fa72e Fixed constructor initializer parameter completion. 3c3840b Cleaned up code a bit. 789e0cc Cleaned up code a bit. c3b136b Fixed attribute context cases. 0983e85 Fixed some keyword contexts. d03d17b Use lazy initialization for C# resolved type definitions. 9df7940 Normalize newlines. 01b538f Fix CSharpToVBConverterVisitor (use Pattern.AnyString). git-subtree-dir: NRefactory git-subtree-split: 180a690f373354796520d9468138d95f193f8156 |
13 years ago |
|
07ba466934 |
Squashed 'NRefactory/' changes from 858d4cc..b374e40
b374e40 Don't insert space in front of brace if the brace is the first token in the line. 9f809bc Use IOutputFormatter.StartNode() instead of OutputStarted event. f30ceb5 Set version number to 5.0.0.4. 8d5b268 Fixed completion bug. d2f2feb Remove the thread-local cache; it seems to cause massive memory leaks. cfe807a Fix "find references" for method group conversions in delegate creation expressions "new Action(MyMethod)" 5f8dcf4 Implement 'ToMemberReference()' and 'InterfaceImplementations' on specialized members. 33b57d5 Fixed IMember.ToMemberReference() for explicit interface implementations. 9859dce Improve ResolveAtLocation. a7245af Fixed finding references to method group conversions. 194b334 Add FindReferencesConsistencyCheck. d0bd4fa Merge changes from SharpDevelop 'newNR' branch into NRefactory main repository. 311df2b CSharpAstResolver: add cancellation support 17a8d43 Fixed completion bug. 3b682d4 Fixed code completion bug. e2bf1e4 Worked on unattached attribute handling. b0332c6 Added IsInside methods to the AstNode. e5217c2 Fixed bug in 'BetterConversion' implementation - converting to Func<> delegates is better than converting to Action<> delegates. c6ecab1 Implemented support for InternalsVisibleToAttribute. cb84ada Fixed parsing undocumented expressions. 46254b3 Add support for resolving "operator true". 862e950 When the specified reflection name is not assembly-qualified, ReflectionHelper.ParseReflectionName() will now produce an ITypeReference that looks in all referenced assemblies (not just in CurrentAssembly). 77ea4da Report more types of invalid equality comparisons as errors. Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda. bb822e9 Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace. Fixed increment operator on System.Char. 27a91cc Fixed bug in protected member logic. 6b45af2 Fixed "UsingStatementTests.UsingStatementWithMultipleVariableDeclaration". f3541d4 Fixed accessing protected members through type parameters. 9f5f18e Fixed resolving "condition ? byte : 0". 7971ad2 Check IType.Kind instead of using SpecialType.X.Equals(). c20807e Fixed return type of members of generic enums. 67d1912 Fixed bug in reachability analysis when lambda/anonymous method contains a condition or switch statement. 1a7ca15 Allow conversion of anonymous method with unreachable endpoint to Func<T>. 822fda7 Handle T[] -> T* and string -> char* conversions in fixed statement initializers. 0f2b0c3 Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)") aa2e97f When copying type parameters into inner classes, re-use the same ITypeParameter instance. 57a5934 Revert "Fixed type system converter case reported from "erik-kallen"." 006d18a Resolve at location can now give back the AstNode. 6054ed4 Added unattached attributes to the AST. 426ce5d Removed some ignore attributes. 9f9a26b Updated mcs. c4dfb27 Fixed type system converter case reported from "erik-kallen". 8efd32e Don't crash when trying to decode invalid attribute/secdecl blobs. 5ff4462 NRefactory 5: do not throw exceptions if there's no cecil reference for entity fb0c292 Fix icsharpcode/NRefactory#13 - Indexer accessors do not get correct parameters. 5c9dfb9 Fixed IUnresolvedTypeDefinition.Resolve() and IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) to always retrieve the correct version of the type definition for the compilation, even if the IUnresolvedTypeDefinition is a different version. The two methods now return UnknownType/null if the IUnresolvedTypeDefinition does not belong to the assembly. c5c5192 Add documentation to methods for creating type references that describe the expected ITypeResolveContext for resolving those type references. 6d7abd9 Use AstType.ToTypeReference() instead of TypeSystemConvertVisitor.ConvertType(). 13ac45e Add AstType.ToTypeReference() method. c5c1337 Add failing unit test for using-statement with multiple variable declarations. 79b8b00 Fix bug in output type inference for explicitly typed lambdas. cdfa794 Add some ToString() overrides for easier debugging e441980 Fixed parsing "bool.TrueString". d44077a Add CSharpAstResolver.GetResolverStateAfter() and fixed an issue with the scanning logic in ResolveVisitor. dce53cb Fixed code completion bug. 20b9420 Took out error message. 3d21a80 Fixed the ResolveVisitor scanning logic and several related issues. a3ff017 When a simple-name refers to an instance field in the current class, set TargetResult=new ThisResolveResult(). 4d20ce3 Fix build. b400314 Add MethodGroupResolveResult.GetEligibleExtensionMethods() method. 5838210 Fixed parser exception. 510d58a Fixed parameter test case. 440bc4f Fixed assertion error. 8b32926 Fixed const field access. 802cd23 Fixed "assertion problem". Failed code was: -------------------------------- using System; using System.Collections.Generic; namespace MyApp { public interface ISubject<T> { } public class Test<T,TRight,TLeft> { public void Foo (IObserver<T> observer) { var rightSubs = new List<ISubject<TRight>> (); var rightVals = new List<TRight> (); Observer.Create<TLeft> (v => { ISubject<TRight> rsub = new ReplaySubject<TRight> (); foreach (var r }, () => sub.OnCompleted ()); } } } ------------------------------------ e7833ba Added some more naming contexts. 3a4eeb4 Merged with monodevelop engine. d88c793 Fixed bug in RemoveBackingStore context action. e7ee62f Fixed resolve at location for object create expressions. 9a96b02 Fixed using context/ added unit test for try ... catch case. 22f7e30 Take correct type for override completion. f931cf0 Added some null checks. Mcs can now parse much more "invalid" expressions & statements. 2cfed41 Fixed primitive type keywords. 7df3367 Guard against storing the resolve result for variable name token twice in foreach statement. bd39c22 Removed some debug messages. 4e801c8 Fixed tuple parameter index. 1dab608 Added some null checks. 335fe94 Updated mcs. 6a85f2a Fixed AST builder. c33bc0f Fixed assembly attribute location. The fix isn't very clean - but the structure is built that way, would be cleaner if it would be represented as Container. 764b8a3 Added unit tests for context actions. e6df8e7 Added unit tests for SplitDeclarationAndAssignment context action. 1d8918c Fixed unit tests. baa2096 Fixed hardcoded path. 93bea6d Fixed failing unit test. 96a5e7c Merge branch 'master' of github.com:icsharpcode/NRefactory ef53445 [GtkDemo] Close application when closing main window. 9286461 Adjusting SharpDevelop to new type system (unresolved/resolved split). 3b4abcc Fixed ast node script positions. 7958965 Implemented some missing functions in refactoring context. 1737920 Added some unit tests. 72258ae Implemented type parameter type completion. 33e0c0e Fixed FindReferences on attributes. a126210 Improved anonymous type context. 179d90a Added some null checks. Not sure if they're needed. 12b9542 Fixed other LINQ case. ddc245e Fixed "LINQ" context unit tests. f788f91 Ignore AssemblyInfo in RoundtripTest. 9fea0d0 Implemented eligibility check for extension methods. 7431897 Implemented 'partial' completion. 45fb111 Fixed anonymous type null reference exception. e0d4232 Added unit test for "as" expression context. 9129087 Fixed type expected context. 574994c Updated/merged mcs. e492e80 Merge branch 'master' of github.com:icsharpcode/NRefactory 75a4266 Merge NRefactory '90c0758bb07a651cbf7f7c78cb2bbfd282306c34' into SharpDevelop newNR branch. 90c0758 Update roundtrip test. f201168 Fixed resolving LINQ queries that involve transparent identifiers. 418f709 Fixed resolving NamedExpressions in anonymous type creation expressions. 7779508 Fixed lifting for built-in relational operators. 040b841 Fixed resolving equality and relational operators on nullable types. b803d85 Do not report invalid conversion from int to void for this code: dac8c0f Implement CSharpAstResolver.GetExpectedType() and CSharpAstResolver.GetConversion(). 70e62f4 Fixed DefaultMemberReference for methods with parameters. d9fe4a3 Worked on merging mcs. bd58ea7 Merged with mcs. dba7b47 Fixed operators show up in completion list. f92742b Removed double "default" item in switch context. 6a9564d Added member provider to give the completion engine more context from outside. 578bb6c Fixed parsing of switch statements. a33b320 Fixed failing unit test. b5c90d6 Added unit test for "Finalizer" method not shown. b09fd7f Find references tries now to detect delegate usages of methods. TODO: Overload resolution. bf12c00 Add protected virtual Clone() method to CSharpProjectContent. 453aac3 Ensure that IMember.InterfaceImplementations does not contain nulls if there were resolve errors. 1c46d7d Added unit test for category sorting. 01233b4 Fixed comparison of completion categories. 3a62505 Added location bounds check. 7befa59 Fixed for context completion. 25faa21 Removed some debug messages / fixed possible null ref. eb5f257 Fixed constructor this/base unit test. d5ead16 Fixed unit tests with leading dots & integer at eol. 4917151 Updated mcs. 3b95e5a Fixed IsExplicitInterfaceImplementation. Implemented IMember.InterfaceImplementations for explicitly implemented members. 5d81799 Fixed some tests broken by the mcs update. a8cd94e Updated mcs. 2d49624 Ignored failing tests. 54168d5 Add nuspec. Changed project settings to produce xml-doc and debug symbols in release configuration. 0fd4f5b Rename unresolved InterfaceImplementations to ExplicitInterfaceImplementations. 06f96bf Remove IAccessor and use IMethod instead. 3c6cbee Add IMember.UnresolvedMember property. 7dda083 Added name context test suite. 5377104 Added named argument context. 850776f Fixed completion test case. b5da9b1 Fixed some unit tests. f8eed16 Worked on completion engine API. e6877e9 Fixed completion unit test. 942b4f7 Move ConversionResoleResult to ICSharpCode.NRefactory.Semantics. Boxing conversion for attribute arguments is now used consistently in C# type system and Cecil-loaded type system. 812c1dc Added LINQ where test. e9903ad Revert "Updated mcs." 19c344c Updated mcs. bfafe8b Fixed handling of constants in OverloadResolution.GetArgumentsWithConversions(). This fixes IAttribute.PositionalArguments when implicit numeric conversions are involved. 44b1c40 Remove some dead code. 9af3c04 Fixed resolving compound assignment operators. 5218417 Improved completion of enums. 0ff96ea Fixed IndentBlocks bug. f68f990 Fixed indent break statement formatting. 0a71c80 Fixed some more array initializer context bugs. 0017621 Fixed array initializer completion case. ef04ca0 Added flag for new completion. 0ba844e Fixed type parameter completion bug. d66eb1d Added new completion test case + bugfix. d5677e5 Added parameter context tests. b7c1490 Fixed completion case. 3a15d36 Fixed some code completion unit tests. 969223a Added a method to get all extension methods on a specified type. d78d5f1 Fixed "type too fast" issue in code completion. f763631 Merge NRefactory 7063203 into SharpDevelop repository. 24f8ae0 Add GetNewOffset() method to TextChangeEventArgs. dc98bef Add IsDeleted and Equals() implementation to IDocumentLine. 43a8429 Disable resolver logging. git-subtree-dir: NRefactory git-subtree-split: b374e407589060b38af9156ff050dc7109c57bc6 |
13 years ago |
|
88ebd0b959 |
Squashed 'NRefactory/' changes from 9675caf..a73d7ba
a73d7ba Added async/await support to the resolver. d0e9ce0 CodeDomConvertVisitor: choose between CodeIndexerExpression and CodeArrayIndexerExpression. DefaultParameter: fixed bug in interning - two parameters with different names were considered equal for interning. 7ff012f Fixed some issues in the CodeDomConvertVisitor. fd8f8cf Adjust AST for async/await. e4d1f54 Add CodeDomConvertVisitor. af5ae57 Added type case for resolvenode at location. 770b5c6 fixed possible null ref. ddaaaaf added some more attributed nodes. abd8372 fixed some attributed node formattings. 6ef3944 Implemented attribute section formatting. 2e67d54 Now all formatting tests are green! a1a80b6 Fix StackOverflowException when subtyping does not terminate due to expansive inheritance. a48acf0 put variable initializer assign into the right node. cc9cea0 Fixed missing commas. a9bae21 fixed 'params' location. 84135f5 Fixed lambda parameter commas. 9e909e1 Found wrong indexer pos. 994f931 fixed dot location. fbb77b7 fixed indexer locations. 8d630fd Fixed array initializer brace position. bb59175 Fixed constraint commas. 8680670 Fixed endif position. 9d55421 Fixed attribute argument commas. f6de4e3 improved error msg. c133a2a Handled #if values. 72b2ff1 Added labeled statement colon. 7f141c0 fixed goto location. d63f1fa Fixed named argument expression. 6043039 Fixed base type comma order. 618cb98 Fixed initializer comma locations. aee84bd Fixed nullable position. 3147a3a Fixed enum positions. 0fb1105 Fixed attribute section locations. 2ba4a18 Location of global attributes was wrong. Fixed for tests - should be inserted like the comments for the real fix. e07b8fa Fixed some dot locations. 0dd3117 Fixed empty statement end location. 7ed3af2 Updated mcs (fixed char posititions). cff7997 Fixed some declarator assign token locations. 8fb218b Handled pre processor directives - fist approach. 9d3c076 Fixed some issues with comment insertion. d683689 added serializable attributes. 61c9894 removed debug message. 22a97b5 Added 'default' section keywords. a2a077f added enum member assign token & case label colon token. 71f47a6 Added more debug output. 2cad4e3 fixed location bug. 50f95d3 Updated mcs. d1db72b Added missing "new" keyword. 382f695 Fixed some locations in array create expression. 14d0638 Fixed implicit/explicit operator locations. 03babc6 Corrected constructor locations. 0d6d9ac Added type parameter variances & tokens. 76249ec Added explicit interface dot. babe656 Fixed some dot locations inside member type names. c671230 Fixed type argument commas. 1b21681 Fixed literal values of bools. 99b1a32 Added debug message. 42e49ce Fixed operator declaration operator location. 15b30e9 Corrected comma locations. 2e6b746 Improved error messages a bit. a1a649e Remove ITextEditorAdapter and use IDocument instead. 0413ce9 Added completion engine stub. eb6c399 Moved to completion namespace. c82538e Added basic code completion interfaces. 42aa01a Improved error message. 74bc8b2 Fixed chevron & constraints locations. 64b7dff Removed more target framework profiles. 20ba899 Improved error message. 3303c99 Corrected constraint locations. 2fc0c7c Fixed bug with class keyword. 5e8e124 Removed client target framework profile. 65d8773 added dots in using declaration. eddd015 Fixed enum member commas. b1fa379 Fixed location bug. ea6e15c Fixed method/operator semicolons. ab28842 Added base type comma tokens. 9b28b28 Fixed colon / optional commas in type delcarations. 96195ac fixed +-1 issue. 0ee8198 * Log.cs: * ICSharpCode.NRefactory.csproj: * CSharpParser.cs: bd01cad Fixed parameter comma locations. f302311 Fixed positioning error. 9de8c14 Fixed resolving event declarations. dfc9860 Move ICSharpCode.Editor into NRefactory. b7a17c2 Adjust unit tests to InvocationResolveResult changes. b5b2408 Move NRefactory.CSharp to separate assembly. e37dc4b Move ResolveResults to NR.Semantics 8e78ca4 Use path combine. 447558f Fixed parser test set up for non windows systems. 611c310 Change IConstantValue API to use ResolveResult. 6bc485f Merge NRefactory changes from SharpDevelop into NRefactory repository. ea42e63 Fix bug that caused the wrong part to be removed from a compound class. e73c078 Make Find References multi-threaded. e7d9bf6 Fixed attribute section tests. 957c48e Fixed query expression tests. 02fe3e3 Fixed array create expression tests. e926745 Fixed resolver bugs that caused unit test errors. bb03113 Allow recursive synchronization (e.g. for calling GetTypes() on a single project content while a composite project content is synchronized) 683d353 Implemented "Find references" a06110c Rename ParsedFile to CSharpParsedFile. 8885484 Add IndexOf() method to ITextSource. be53547 Merge branch '4.1' into newNR 558e158 Fix resolver crashes 46676a4 Add GetInterestingFileNames to FindReferences. Fixed a few resolver issues related to find references. 7f11fe3 Fixed bugs that caused some nodes not to be resolved in a "resolve all" run. 42bc87b Change ResolveVisitor to report the location of conversions. 4cc64bb Fixed resolving LINQ group joins. 5b17740 Use explicit interface implementation in ResolveVisitor to make it clear what the public API is supposed to be. f807e61 TypeSystemAstBuilder: when a type reference cannot be resolved but is a C# type reference, output the original C# code that was used to created the type reference. 023e13b Merge changes from SharpDevelop into the main NRefactory repository. b193dc9 FastSerializer: Add support for 'Fixed Instances', e.g. for serializing object graphs that have references to a singleton. a5865bd Implemented "Find References". 33abc64 Replace AstNode.GetResolvableNodeAt() with the ResolveAtLocation helper class. a93fd14 Adjust unit tests and fix bugs introduced by caching. 2b3d669 Add ITypeResolveContext.GetKnownTypeDefinition() for efficiently retrieving built-in types. 8a05ada Don't keep the per-using scope and per-type definiton caches around longer than necessary. ecdf195 Cache simple name lookups more aggressively. 50f7041 Cache resolved CSharpConstantValue. 47eb183 Reuse Conversions instance across multiple files by storing it in the CacheManager. 82fad4e Use 'UsingScopeCache' instance for caching the extension methods. 2be1569 Add cache for implicit conversions for 25% performance boost. Also did some improvements to interning. 391a6bc Cache resolved SimpleTypeOrNamespaceReference/MemberTypeOrNamespaceReference, and intern those references. 3fdf0ee Implemented resolver for LINQ queries. 3bbc3f6 Fixed NullReferenceException in MethodGroupResolveResult.ResolveInvocation(). Implemented resolving local variables that are declared as 'const'. fb8d152 Fixed deserialization of XmlDocumentationProvider. dafc2c6 Add back ResolverService.Resolve(); and use it to implement tool tips. f7fe227 Add AssemblyName to IProjectContent. b1804fd Add position-checking unit test to NRefactory. 9d0e6ae Resolver: added support for collection initializers and nested object initializers. da92bc4 Fix crash when serializing SimpleProjectContent. Add failing unit test for an attribute section with two attributes. f4bd875 Initial implementation of CSharpAmbience. fa7e478 newNR: fixed build errors in AvalonEdit.AddIn and CSharpBinding. 12d7961 Add SerializationBinder-support to FastSerializer. a5c93a3 Adjust resolver to object initializer AST changes. 87992d3 Fix build for NRefactory.VB. 62b9fce Always create ArrayInitializerExpressions. 405e87e Fixed location bug. 36c412d Allow serializing SimpleProjectContent and parsed C# type references. 769c0ae Allow CecilProjectContent to be serialized. Add FastSerializer to NRefactory.Utils. abbf9d6 Used the namedexpression instead of assignment/namedargument expressions. 3e99fab Fixed object create expression tests /remove named expression lists (was an obsolete node). I tried out the node, but choosed to go with namedexpression + arrayinitializerexpression because it's semantically the same. c373100 Fixed ComplexCollectionInitializer tests. 3763397 Introduced namedexpression/namedexpressionlist to handle the collection initializers better. 0ecf1fc Fixed collection initializer parsing. c76dd64 WIP 59c4e5c WIP: new NRefactory 06b143b Member lookup: Fix IsAccessible bug for protected static members. Make CSharpResolver.ResolveMemberType() return a non-parameterized type when all type arguments are UnboundTypeArgument. ea3e312 Implemented grouping overloads by declared type. Return overrides in most-derived class (necessary for determining the correct parameter names/IsOptional value), but keep them in the group where the virtual/abstract base method was. 7a2c59a Add GetMemberOptions. f79b0a7 Resolver: array create expressions 2c49c71 Report resolve results back to the navigator. 69ae15a Add support for partial classes. c9c2044 Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter. 5c585e1 Apply license header to unit tests. Add parser unit tests for ObjectCreateExpression. a1f613e ResolveVisitor: skip tokens and comments Make the resolver's debug output more readable. 4372b61 Fixed lambda type inference for nested (curried) lambdas. b52a348 More work on lambda expressions. cd99dce Fix bugs caused by the introduction of user-defined operators. 43b5897 Add support for user-defined operators. 37626e1 Expose conversions as part of the ResolveResult. f86a014 Put MIT license into the file headers. e51e3a9 Add InvocationResolveResult. 8c8caf7 Implemented type inference for implicitly typed lambdas. 6792a0c Report which kind of conversion was found. d59fd2b C# Resolver: preparations for lambda support e17ba74 Add unit tests for TypeSystemAstBuilder. fd8050a Merge changes from SharpDevelop into the main NRefactory repository. b97543a A few small API changes for NRefactory. a9a6e16 Add ID string provider + a few resolver bugfixes 77c7d08 Implemented disambiguation for identical simple names and type names. (e.g. "public Color Color;") 21d2121 CecilLoader: add support for reading module attributes, security declarations and marshal information. 18fb49c Add TypeKind enum. bb2f93a NRefactory bug fixes: - Use IType.Equals() instead of == operator - Change handling of partially parameterized types in IType.GetNestedTypes so that we don't leak type parameters from the wrong context - Add support for unbound types to C# resolver (e.g. in attribute arguments) - C# Parser: preserve variance modifier - Ensure all interface members are marked as 'abstract' - Add support for [TypeForwardedTo] and [ComImport] to CecilLoader. 3e75554 gitignore for ICSharpCode.Editor 849ed04 Merge NRefactory changes from ILSpy into the main NRefactory repository. 89ba05f C# calls indexers "Item", not "Items". 811784e Re-implemented IType.GetMembers() to avoid redundant specialization. 877ebf8 Remove operator == from AstNodeCollection. c15615d fix bug in remove braces action. 2ce741b Keep ITextEditor in the IDE (comment out the copy in ICSharpCode.Editor) 3ba9118 fixed bug where parameter is null. 58b8d06 Visit empty expressions. 6abb0a1 IDocument now derives from IServiceProvider. cb70bce Add strong-name to NRefactory; small API changes for ICSharpCode.Editor. fa6afb2 Fix ResolveVisitor.VisitArrayCreateExpression. b0819ac Supporting installing a NuGet package into selected projects in one step. c428246 use Is/IsNot for reference equality checks; add extension attribute for extension methods 0346512 remove shared modifier from module members fbc8b85 convert static classes to modules e3a301e fix output of Inherits/Implements clauses ebeef27 convert increment/decrement operator overloads to op_Increment/op_Decrement methods 1d8a294 map true/false operator to IsTrue/IsFalse 4c8a11c improve conversion of special characters in string literals 04d816c fix bug in checked statement handling 610924e fix InvalidCastException in For-Next detection 5a00a6c Mark ICSharpCode.NRefactory.VB as AnyCPU. 1d904e1 add folding 3265ddc implement conversion of attribute targets d4eabd0 relicense NR.VB under MIT X11 license e90fa22 implement query expression AST 93cf054 Merge branch 'master' of github.com:icsharpcode/ILSpy into vb f7fcc9d implemented AnonymousObjectCreationExpression 46b5f43 add EmptyExpression conversion, improve fixed-Statement conversion e7dd90c implemented unchecked/checked expression, pointer access and so on c007a2a implemented fixed using GCHandle c431176 convert C#ˈs undocumented expressions to method calls 12eb661 convert anonymous methods to multiline sub lambdas 354aefa add conversion of DllImports to ExternalMethodDeclarations 2639711 convert dtor to Finalize Sub da4b1ba improve conversion of event declarations eab1ac6 add ContinueStatement 95db1eb added conversion to VB ForStatement d46401c Added missing predicate parameter. 2e3d9fa started implementation of QueryExpression d340669 make AddressOfExpression a UnaryOperatorExpression, move expressions to separate files, implement LambdaExpression 3d5b284 fixed bug in anonymous array create expression resolving. bf89db8 implement GoToStatement 3531735 implemented DoLoopStatement and UsingStatement 04ecdd7 Added support for anonymous arrays. a3d75db implement conversion of switch to Select Case 0a9b6c7 Implemented simple array create expression resolving. 3be8d6c Fixed bug with GetElementType. ArrayType yields System.Collections.IEnumerable as base type before the more specific System.Colloctions.Generic.IEnumerable. 5cf130c correctly implement ForEachStatement and ForStatement; add output for ForStatement fa4694e implement VB 11 Iterators 8137e58 Merge NRefactory 9675caf1e9276391f17536b488148cb668a6cc44 57d92d1 add support for OperatorDeclaration and some more statements 84b283b add ConditionalExpression and WhileStatement 1c8d2aa split Statements into single files 9ff6e73 reimplement some helper methods 024348d implement NamedArgumentExpression and FieldInitializerExpression 1bb5b83 implement conversion of AsExpression to TryCast, improve conversion of string literals, add UnaryOperatorExpression 3381b04 implement ArrayCreateExpression and CastExpression 41578d4 Merge branch '1.0' 0169874 - Reverted changes to display decimal.MinValue and decimal.MaxValue - Altered InitializerTests to use constant literals instead of decimal.MinValue and decimal.MaxValue 5c3be8f - 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 c1d27c7 - 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 591d874 Merge branch 'master' of https://github.com/icsharpcode/ILSpy into Debugger a29b397 Merge branch 'master' of https://github.com/icsharpcode/ILSpy into Debugger 91c563b Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Iconbar e434783 get AST nodes locally a7f45f6 add icon margin & bookmarks 48774e4 add support for EventDeclaration and some more binary operators 1e2bce6 do not print method bodies in Interfaces d83c0e6 add support for comments 0f33774 output ThrowStatement 8cb9d38 add ArrayInitializerExpression and ObjectCreationExpression d523549 fix indentation in Accessor blocks 7ed36c0 convert default(T) to Nothing and typeof() to GetType() 032f217 implemented IfElseStatement and some more expressions 56e7557 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 82c6419 implement translation of EnumDeclaration d217418 implement PropertyDeclaration; add Inherits/Implements to TypeDeclaration; implement output for DelegateDeclaration e0bfac9 implement proper conversion of FieldDeclaration 43cf583 add MethodDeclaration, ConstructorDeclaration; EventMemberSpecifier, InterfaceMemberSpecifier for Handles and Implements clauses 3a26819 add GetTypeExpression, GetXmlNamespaceExpression, MemberAccessExpression, TypeOfIsExpression and TypeReferenceExpression b3ec92a implement AddressOfExpression, InstanceExpression, ParenthesizedExpression and SimpleNameExpression b9dc346 implement Attribute conversion 5f5a38c add support for Imports and Namespaces e8cde13 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger bcc40ee Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 7f49b56 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger bdb2c57 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger af56cbe Implement new methods in NotImplementedAstVisitor. d12f5b2 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 01a3871 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 90f8624 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger ad02254 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 044958a Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger e3471e6 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger b5d560a Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger a48634d Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger b33ddd3 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 3510129 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 2ff8e15 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger d87e40b Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 0fd4c4c Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger ac3737f Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 9f55acb Basic evaluation - first level 75a5092 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 10eb834 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 9e3e302 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 17b10a7 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger c3cbf9e Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger dc49175 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger f3a2be8 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger f187243 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 0f7ab11 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debugger 0a54ead Port debugger libraries to use new NRefactory. 89af871 Started porting the debugger code to use new NRefactory git-subtree-dir: NRefactory git-subtree-split: a73d7ba8db559273e648e095cd4e149462b6526a |
14 years ago |
|
6c62b4c954 |
Squashed 'NRefactory/' changes from 56fde51..b8330be
b8330be Remove parent pointer from ITypeParameter and enable sharing type parameters. ca6b0e1 fixed primitve types. 094cac4 Added some creation constructors. b7cd75a Fixed unit test. 9fedc31 Handled undocumented expressions. 7d4ef1a Added support for quoted identifiers. f30490c Add some parser unit tests. 307559c Remove NextStatement/PrevStatement properties - too many properties can be confusing (e.g. a loop's EmbeddedStatement would show up next to those two properties) 90542d2 Fix parsing of query continuations for queries with multiple from clauses. ccd06a4 Fixed query expression tests. Had to add a new node type: AnonymousTypeCreateExpression. d4eaffb Make pattern matching AST independent from C# AST. e8d472b Rename FixedVariableInitializer.Initializer to CountExpression (this makes it consistent with StackAllocExpression). 16715bb Renamed CSharpFormattingPolicy to CSharpFormattingOptions. 92df3e5 Fixed some TypeReferenceExpression tests. f4450d1 Fixed some invocation expression tests. 42463a4 Fixed unit test TestIdentifierContainingEscapeSequence. 021a9fb Fixed typeofexpression tests. bd51bee Fixed GlobalFullNamespaceGenericFieldReferenceExpressionTest. 040e164 Fixed lambdaexpression tests. 0722289 Updated mcs, fixed failing unit test. c35eb4d Enabled typ declaration tests. 94c18d6 Fixed delegate declaration tests. a45fa11 Fixed event declaration tests. 9083bee Fixed constructor declaration tests. 2e82144 * TypeDeclarationTests.cs: * PropertyDeclarationTests.cs: enabled property declaration tests. 873c185 Added attribute section parsing / fixed indexer declaration tests. 2353804 Fixed field declaration tests. 4e60911 Fixed method declaration tests. 58caab2 Fixed statement unit tests. cad9d18 Fixed fixed statement. a4ce5aa Updated mcs/fixed pointer reference expression bug. ca77589 Fixed partial modifier. 8c7e017 Fixed UsingDeclarationTests. 293dba5 Worked on pointer reference expression. cc209b4 Fixed ArrayObjectCreateExpression tests. 58856b1 Activated cast expression tests. c0e20a6 Fixed qualified alias member tests. 44388b2 Fixed anonymous method tests. git-subtree-dir: NRefactory git-subtree-split: b8330bebd6a1cb3a2895fc924f472292bc1cf85e |
14 years ago |
|
30eaac3091 |
Squashed 'NRefactory/' changes from a92606c..56fde51
56fde51 Use "Role" suffix for the fixed field variable role. e8d8ff8 Merge NRefactory changes from ILSpy. d022808 Fixed parsing of enum member declarations. f030426 Added extern alias node. d8e26ed Added fixed field ast node. I thought about this a bit - it's a better solution to invent a new node for this construct even if it's reallly close to fields. Really close != same. 836e178 Fixed bug in formatting unit tests. c01ba21 Converted the unit tests. Some of them are failing - I expect it has to do with the adapter. 9b1913e Track API changes. 2bee26a Added AST formatting visitor. 749f5a8 Updated parser & mcs. 605a56a merged changes related to lambdas and expression finding from old NRefactory 8c36dd8 renamed VB.Dom to VB.Ast bf96506 DefiniteAssignmentAnalysis bugfix 4e1140d Fixed definite assignment analysis bug. ebc34e6 Add NextStatement/PreviousStatement properties. 6f2e9c2 Order the control flow nodes lexically, and allow restricting definite assignment analysis to a specific lexical range. 3cc6fab Allow performing definite assignment analysis without providing an ITypeResolveContext. 5660677 Add InsertAfter/InsertBefore to AstNodeCollection. ccfd4ea Evaluate constant expressions in definite assignment analysis. 3a4fdf2 Add support for non-custom attributes to CecilLoader. f68a49b Improve spacing in fixed statement output. 9974734 Use a property to return the list of annotations. 735cb85 Fix issues in definite assignment analysis. 65bf46a Set NRefactory back to .NET 4.0 (we're not going to port ILSpy to .NET 3.5) 76dfccc Add definite assignment analysis. a79d43d Add control flow analysis for the NRefactory C# AST. c33f33e Enable using patterns in place of catch clauses. 3ad453d Add OptionalNode for pattern matching. cfccfca AstNode: add Invoke() methods to AstType (builds InvocationExpression for static methods) 60b3164 NRefactory AstNode: add DescendantsAndSelf property. c6a8a1f Add support for Modifiers.Any (for pattern-matching) and for AttributeSection patterns. 73350e7 small code reformatting fdf1dac Indexer decompilation support. cafda5f Generate switch default case. Closes #26 0c9dec1 Fix output of float/double literals that are infinite or NaN. 0c9b5cb Remove "Attribute" suffix and add support for attributes on type parameters. 35d0426 Adjust ILSpy to NRefactory changes. c997b75 Merge commit '39fcd7d72f73d386455d00d63446601c99eafb83' bc195b8 Merge branch 'WithNUnit' of git://github.com/arturek/ILSpy f4f554d more attribute targets implemented. 74fd14a attributed parameter declaration. a07f545 Printing initializers of enum members. 20ceef1 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into cust-attr 07c8c0c Use newlines in array initializers. 1cb5642 Merge commit '7ac091e93d8112b369425cceab64829c094e401c' f2c8607 Print a custom attribute's positional arguments. 212d39b Fix duplicate reference to Mono.Cecil. 5dfed88 Removed redundant int base type of enum. 8bd4e5d Basic output of custom attributes attached to types and methods. 9a1d759 Modifications of solution and project files made by VS2010. git-subtree-dir: NRefactory git-subtree-split: 56fde51b698e6c7b8ea23ebbc5caf0cd10bc4682 |
14 years ago |
|
7ac091e93d |
Squashed 'NRefactory/' changes from b28b9a3..2200240
2200240 InsertParenthesesVisitor: don't insert parentheses for "a && b && c" 5a34a9c Fix output of checked and unchecked expressions. 695138d Add visitor support to pattern nodes (IPatternAstVisitor). Add pattern support to output visitor (makes debugging easier if you can print out patterns) 38faf84 Add support for 'any' operator and fix a bug in pattern matching. eeb4ea5 Add simple backtracking support to pattern matching. e6c0091 Implement pattern matching for statements. 93cc19d Determine loop condition from CFG 23190aa NRefactory AST: Add 'Repeat' pattern which matches an arbitrary number of nodes. 379063a OutputVisitor bugfix: show return type for custom events. bce9881 Add some improvements to pattern matching. f5e89bf Add Choice pattern. 84a5ace OutputVisitor: allow writing constructor declarations without writing their parent type declaration. 13c6417 Add some documentation comments. 7e03cf8 Fix output of using statement when the resource acquisition is a VariableDeclarationStatement. 9d5390c Add pattern matching support to the NRefactory C# AST. 1af927c Fix lambda expression output bug. 904b05f NRefactory: remove collection setters from AST; expose AstNodeCollection<T> instead. 0fa2fd6 Fix missing dot in namespace declarations. 8641726 Escape surrogates in string literals. f1ce3e9 Fix order of modifiers. cd9efb5 Fixed infinite loop in AstComparer 3e02950 Merge commit '814b8b3bf3553c719c84be7b0aa71c946731e36a' 7c23366 Merge in the latest NRefactory (8db1fe252f6539e9cde8c9fb5f59aa60e4089d8f) git-subtree-dir: NRefactory git-subtree-split: 2200240ef60fc49f32b89eb85c9f3a8ba796b08d |
14 years ago |
|
e1de044cc0 |
Squashed 'NRefactory/' changes from ec42611..8db1fe2
8db1fe2 Enforce space in output visitor when printing "ptr & &v". b00cf19 Add parentheses test for "a + (b == null ? c : d)" 9b5fdd9 fixed endlocation bug. 914df80 Merge remote branch 'origin/master' into master. 9dc67b8 Fix CecilLoaderTests for Dictionary<,>.ValueCollection::Count (it's a non-virtual property implementing an interface; and isn't considered sealed in C#). 28d8b3a Include Mono.Cecil in solution. 16baa75 Corrected astvisitor interface naming. 41168e3 Fixed tests. e0a6909 added more bugfixes. 31113d2 fixed switch section. daccb3a Fixed parser bug. 59da5a2 Worked on type parsing. 65d688a Added some missing token properties. 83a7d2f Splitted the goto statement cases: GotoStatement, GotoCaseStatement, GotoDefaultStatement. ecc1772 Added YieldBreakStatement. 915a122 Added some comments. b8cf7d3 Splitted while & do while statements. b6c562e Fix some formatting issues with the C# output visitor. 48d8ac5 Fixed detection of 'sealed' method modifier. dc6daa1 Fixed output of enum members and the "const" modifier. 6e47f53 Add missing newline after property declarations. a33009d Add hyperlink support to decompiler. 43625b4 Initial port to new NRefactory. 76d844f Merge commit 'd87c5ea2c89dda7da5eab2dce7a30fe10729481f' 57522bf Enable automatic removal when replacing a node with its own descendant. bad0fdb Merge commit 'e1552755b97863393b543603557590ad90d8ef98' 39ad4c4 Update NRefactory to new Mono.Cecil. git-subtree-dir: NRefactory git-subtree-split: 8db1fe252f6539e9cde8c9fb5f59aa60e4089d8f |
14 years ago |
|
d87c5ea2c8 |
Squashed 'NRefactory/' changes from a20e80a..ec42611
ec42611 Escape contextual keywords within query expressions. 7ba4e0b Add parenthesis around query expressions within type tests "(from a in b select c) is D" 7312982 Bugfixes for InsertParenthesesVisitor and OutputVisitor. afd9650 Add query expressions to AST and output visitor. 880d23b Bug fixes in OutputVisitor. 594a637 Enable automatic removal when replacing a node with its own descendant. git-subtree-dir: NRefactory git-subtree-split: ec42611f0e7be19c53a16b2902808bd4d894b1ea |
14 years ago |
|
e1552755b9 |
Squashed 'NRefactory/' changes from 5aa65b2..a20e80a
a20e80a Add tests for InsertParenthesesVisitor. a24999d Add InsertParenthesesVisitor git-subtree-dir: NRefactory git-subtree-split: a20e80a09c817f9381a7b259ce6d91d6a26b7fb6 |
14 years ago |
|
ba47995db3 |
Squashed 'NRefactory/' content from commit 5aa65b2
git-subtree-dir: NRefactory git-subtree-split: 5aa65b26686a556aa8625a9f866d6734667bdb22 |
14 years ago |