mirror of https://github.com/icsharpcode/ILSpy.git
Tree:
349d49546d
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 (349d49546d1df0dcff99168fc7e4141fd5e78d42)
Author | SHA1 | Message | Date |
---|---|---|---|
|
349d49546d |
Squashed 'NRefactory/' changes from 180a690..e2eef88
e2eef88 Add 'HasBody' property to IMethod. Closes #100. 2ed6497 Merge pull request #101 from mono-soc-2012/mansheng aedf4e2 [CodeActions] ConvertImplicitToExplicitImplementationAction: removed a redundant test 1d3c30b Merge remote-tracking branch 'upstream/master' into mansheng 612ab59 Merge pull request #99 from mono-soc-2012/simonl 2a45c1e Merge branch 'master' into simonl aa55c20 Add AbstractUnresolvedEntity.Clone() method. e975667 [Formatting] Fixed wrong default option. 4945fa5 [CodeIssues] MultipleEnumerationIssue: added documentation dc7fa56 [CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding b7f6501 [CodeIssues] Improve ParameterCanBeDemotedIssue. 408b298 [TypeSystem] Don't consider non-public members for interface implementors. 79b4c25 [CodeIssues] ParameterCanBeDemotedIssue: Add Criterions for suitable indexer members and for array types. Also start resolving the method with the new type to check for errors. 458bd90 [CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue. a27b051 [CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings 352dcce [CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type 588b127 [CodeIssues] MethodNeverReturnsIssue: handle 'throw' case 71e42df [CodeActions] Moved GetDefaultValueExpression back to CreateOverloadWithoutParameterAction class 6f063c6 [CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases c403f38 Move the fix for #94 into CSharpConversions.IsConstraintConvertible. 40bbafd Set NET_4_0 preprocessor symbol for mcs. Rename "NET45" to "NET_4_5" to be consistent with mcs and Mono.Cecil. 284a4cc Fix InvalidCastException in MemberLookup.RemoveInterfaceMembersHiddenByClassMembers 8ede23f Merge pull request #94 from erik-kallen/InvokeGenericMethodWithNullableTypeArgument eb4de73 Merge pull request #93 from erik-kallen/DuplicateUsingsIssue 740a30c [Completion] CreateNamespace completion data now takes a INamespace instead of a string. f3ae264 [Demo] Reverted an unnecessary change f5c370a [CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace 8d77f4b [CodeIssues] Removed some unused usings f1dad51 [CodeActions] CreateCustomEventImplementationAction: removed TODO which is already done. 11b9fd1 [CodeActions]ConvertLambdaBodyExpressionToStatementAction: removed unused usings c461c7b [CodeActions] ConvertConditionalToIfAction: check context location 0140f2d [CodeActions] ConvertCastToAsAction: fixed tests 90356ad [CodeActions] ConvertCastToAsAction: check context location. Reorganized code. f2b8be7 [CodeAction] ConvertAsToCastAction: check context location 9c521f8 Fixed issue with nullable types not being usable as generic arguments. a00495c Test that demonstrates that a generic method cannot be invoked with a nullable type argument. a9e0bd9 [CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'. 5b29f2b Fixed issue with duplicate using directives. d857a8b Test demonstrating issue with duplicate using directive. 821e157 [CodeIssues] VariableDeclaredInWideScopeIssue: Handle nested scopes that are not BlockStatements and don't suggest moving declarations into closures 713b88f [CodeIssues] Don't consider empty catches redundant. 611cc25 Merge remote-tracking branch 'upstream/master' into mansheng c63f65a [CodeIssue] Added MethodOverloadHidesOptionalParameterIssue 810c03a NRefactory 5.2.0 release 76670db [CodeActions] Add ConvertLambdaToAnonymousDelegateAction. 1797fa2 [CodeActions] Add convertAnonymousDelegateToLambdaAction. 0b56b42 Remove redundant call to ValidateMethodConstraints(). Fix demo application. eeb5c3f Added unit test to check completion in #if regions. d2038a4 [Completion] Added conditional symbols to the completion engine context. ddd341b [CodeActions] Fixed bug in create backing store. 19815e8 Merge branch 'master' into simonl 352b20c [CodeIssue] Added RedundantObjectCreationArgumentListIssue 9a8d671 [CodeIssue] RedundantObjectOrCollectionInitializerIssue: added some tests c0870db [CodeIssue] Added RedundantObjectOrCollectionInitializerIssue 4af1379 [CodeIssue] Added RedundantCaseLabelIssue b5bd89b [Refactoring] track renaming of ParsedFile to UnresolvedFile 7a2d9f8 Merge remote-tracking branch 'upstream/master' into mansheng c3a31c9 Fix #92: The resolver does not check type constraints on calls to generic methods 1f6c4f0 Update solution-loading logic in ConsistencyCheck. 2c24a05 Merge branch 'master' into simonl 86e4d9a [CodeIssue] Added CastExpressionOfIncompatibleTypeIssue 16aa0c6 Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system. 4a6a43d Change output path - build everything into \bin\Debug in NRefactory directory (not into ICSharpCode.NRefactory subdirectory). 7a3b25b Add WriteTextTo() method to ITextSource. 9a9485a Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects. 5241e34 Merge pull request #91 from mono-soc-2012/simonl-attributesection-fix ea49b1a [CodeIssues] Add StaticFieldInGenericTypeIssue. 7c19dfa [Parser] Set locations of AttributeSections correctly. 4424f0e [Parser] Add failing unit tests for AttributeSections with multiple attributes. e5f5d6c [CodeIssues] Add ThreadStaticOnInstanceFieldsIssue. fec84f8 Implemented missing operation on new SeekableStreamReader 699d841 Merge pull request #90 from erik-kallen/FixOrderByParsing 7794385 Enabled query expander tests now that multiple orderings are supported. 32d43b2 Fixed query orderings when ordering by more than one expression. cdfde8b [CodeActions] Greatly improved OptionalParameterCouldBeSkippedIssue. 8635a6f Merge remote-tracking branch 'upstream/master' into mansheng d9dbd25 [CodeIssue] Added RedundantArrayInitializerCommaIssue 62a8b20 Fix icsharpcode/NRefactory#89: explicit conversion of array to generic IList fails when array covariance is used. 82ab94f [CodeIssues] OptionalParameterCouldBeSkippedIssue: Check for unmappable arguments. d69abea [CodeActions] Handle resolution errors in IterateViaForeachAction. 1371e6d [CodeIssues] Fix bugs in RedundantCatchIssue. d6054d1 [CodeIssues] Add ExceptionRethrowIssue 78cf6b1 Merge remote-tracking branch 'upstream/master' into mansheng e97b6b2 [Parser] Fixed some optional comma bugs. ff4b265 [CodeIssue] Added MethodNeverReturnsIssue 087aee7 Simplify parser API. 83776a1 [CodeIssue] Added RedundantAttributeParenthesesIssue 34932ef [Parser] Hacked work around for parser error. 29c686a [CodeIssue] Added DoubleNegationIssue f81ecd7 [Parser] Implemented own seekable stream reader. 102ce25 Merge pull request #87 from erik-kallen/DynamicExpressionsUseNamedArgumentResolveResult 927f263 Merge pull request #85 from erik-kallen/QueryExpressionExpander 26409db Implemented explicit conversions - invalid casts now resolve to Conversion.None. 73b80fc [CodeIssues] CallToObjectViaBaseIssue: Ignore calls which do not target members of 'base'. eaba979 Rename 'cu' to 'syntaxTree'. 979fa91 Fix icsharpcode/NRefactory#88: implicit conversion between type parameters. 7038892 Ensure that named argument instances are unique for dynamic invocations. 273178a Rename CompilationUnit to SyntaxTree. 93940f8 [CodeIssue] RedundantToStringIssue: Don't crash on parameter with declaration-less types. 7375967 Merge remote-tracking branch 'upstream/master' into mansheng 0af0137 Use NamedArgumentResolveResult for dynamic invocations. 7ece3ce Statements ending in select (i) now acts as if the statement was not parenthesized. 9a53205 Merge remote-tracking branch 'upstream/master' into simonl 17cdd1f [CodeAction] Add ConvertInitializerToExplicitInitializationsAction. 35475a2 [Refactoring] Make NamingHelper less horrible and remove the helper from RefactoringContext. cc37a71 TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary. 4717de9 Optimized the AstNode.Descendants property. 07fb368 Add visitor benchmark. 359fdd2 Provide both Enter and Leave events in ObservableAstVisitor. d4372bf Add DefaultAttribute. fb44364 Remove outdated code contracts. d6b4420 Introduced NamedArgumentResolveResult. 6bd0bfc Add failing unit test for CompilationUnit.ConditionalSymbols. 8728c08 Add project configurations for .NET 4.5. 3f782ce Add ITypeDefinition.GetInterfaceImplementation(). 0f82920 GenerateProperty: do not propose to generate a setter if the field is readonly. f4e5cbd Merge remote-tracking branch 'upstream/master' into mansheng 574b3d2 [CodeIssue] CompareFloatWithEqualityOperator: handle a failed test case 0ee9c33 [CodeIssue] Added ReferenceEqualsCalledWithValueTypeIssue 10fc738 [CodeIssue] Added ExpressionIsNeverOfProvidedTypeIssue 0ba24d9 [CodeIssue] Added ExpressionIsAlwaysOfProvidedTypeIssue 60607bc Fix icsharpcode/NRefactory#86: method declaration with attributes fails to resolve since 2926e24. 7d5f1e0 Make CecilResolvedAttribute.DecodeBlob() more robust. 522d6c6 [CodeActions] Fix bugs in ConvertToInitializer. 88d89e7 [CodeActions] ConvertToInitializer: Handle collections with Add() calls taking multiple arguments. 903e46d [CodeActions] Cleanups in StatementsToInitializerConverter. 2426d1e Rename method ExpandQueryExpression to ExpandQueryExpressions. e384bfb [CodeActons] Handle more edge cases in ConvertToInitializer. 0deb852 Report parameter instead of its name token in the result map, unpack parenthesized expressions. 4dbac01 [CodeActions] Fix bugs in ConvertToInitializerAction. 40b8ce5 [CodeIssues] Converted IgnoreConstructors to a property. 0eaf61e [Completion] Fixed wrong delegate signature. 99de4e1 Updated mcs. bf69983 Merge remote-tracking branch 'upstream/master' into mansheng 384e0b6 [CodeIssue] CompareFloatWithEqualityOperatorIssue: fixed 'NaN' issue 47f2531 [CodeIssue] ConstantConditionIssue: use a better title 5c4a2da [CodeAction] NegateRelationalExpressionAction: fixed title f5d0318 [CodeAction] JoinStringAction: handle the case when left operand is a BinaryOperatorExpression b0f16b2 Test to ensure that range variables are not in scope for join equals expression, renamed method. 40266d1 Inherit QueryExpressionExpander from DepthFirstAstVisitor. 2926e24 C# type system convert visitor: do not include attributes in IEntity.Region e83d77a Ignore redundant 'this' in constructors. 7db1cbe Merge NRefactory changes from SharpDevelop repository: cb034bd Implemented QueryExpressionExpander. b8b2c61 [CodeIssue] Added CompareBooleanWithTrueOrFalseIssue 93fae44 [CodeAction] Added JoinDeclarationAndAssignmentAction 580fa30 Merge remote-tracking branch 'upstream/master' into mansheng f47fd76 [CodeIssues] RedundantToStringIssue: Also check formatting calls. 23d282d [Completion] Only check browsable attribute inside the same assembly. a08bde6 Fixed tests. 5418c1c [NRefactory] Removed Browsable Attribute from GetEditorBrowsableState - that attribute should not affect completion, only design time editors. 6575de9 [Completion] Moved the browsable check helper methods to nrefactory. The browsable state is a .NET feature and not C# specific. a747e47 [CodeIssues] Use IsKnownType in more places. 8dc6911 [Completion] Generalized browsable state method. bea810b [Completion] Recognized browsable attributes / streamlined completion API a bit. c60e01e [Completion] Show synthetic members again. 56114fe Simplify ImplementInterfaceAction by using the TypeSystemAstBuilder. 264c4c1 [CodeIssues] Use IsKnownType to check for System.Object. b0e12f0 Merge remote-tracking branch 'upstream/master' into mansheng 3ef7fd7 Merge remote-tracking branch 'upstream/master' into simonl b14db35 [CodeIssue] CompareFloatWithEqualityOperatorIssue: handle double.NaN case 3be1ef1 [CodeIssue] NegativeRelationalExpressionIssue: no longer report issues for floating-point operations dbdb7c7 [CodeIssues] Handle non-object base classes in IncorrentCallTogetHashCodeIssue and CallToObjectEqualsViaBaseIssue. 80d02a5 [CodeIssues] RedundantTypeCastIssue: use .Equals() for comparing types 519dc12 Add IsKnownType() extension method. 58fea52 [Completion] Added more synthetic member checks/added forgotton accessible check for nested types. 40ba86a [Completion] Added some synthetic member checks. c954742 Merge remote-tracking branch 'upstream/master' into simonl ecf167d [CodeIssues] Add IncorrectCalltoGetHashCodeIssue. f7a0fb5 Merge remote-tracking branch 'upstream/master' into mansheng 0cf2d39 [CodeIssue] Renamed DoubleNegationExpressionIssue to NegativeRelationalExpressionIssue 5307b16 [CodeAction] Added JoinStringAction 783a79c [CodeIssues] Add CallToObjectEqualsViaBaseIssue. 444ecf7 [CodeIssues] Add RedundantToStringIssue. a3534f2 Add INamespace.ContributingAssemblies. 144ddcd [CodeIssue] Added DoubleNegationExpressionIssue c71b3fa [CodeAction] NegateRelationalExpressionAction: improved tests c9612ed [CodeAction] NegateRelationalExpressionAction: use CSharpUtil.NegateRelationalOperator 0b81174 [Ast] CSharpUtil: extract negating a relational operator into a method 8b026d4 Script.Link() dummy implementation: return a completed task instead of null. fa9d5ac [CodeAction] Added NegateRelationalExpressionAction 79ae62a Merge remote-tracking branch 'upstream/master' into mansheng bfe463b NRefactory 5.1.0 4513b6e Avoid NullReferenceExceptions now that MethodGroupResolveResult.TargetResult can be null. 41b7775 Merge pull request #80 from erik-kallen/DynamicImprovementsNewTry 3ddf30c Fix icsharpcode/NRefactory#71: entity type for indexers (explicit interface implementations) acb1218 Test demonstrating issue with EntityType for indexers that explicitly implement interface members. 65097ed Add unit test for named attribute argument. dfbca85 Add (failing) unit test for icsharpcode/NRefactory#56. a15921d Merge pull request #81 from erik-kallen/IsConstantExpressionConversion f3d13ee Added property Conversion.IsConstantExpressionConversion 916cc2a Fixed issues pointed out by Daniel. 6192d7a Documentation for MethodListWithDeclaringType d7ebf92 Add (failing) unit tests for icsharpcode/NRefactory#45 9e84873 Change "string[] Conditionals" to "IList<string> ConditionalSymbols" ecd3de7 Implementation of feature ce5a42c Tests for the improved dynamic handling. 13dce76 Add Conversion.IsNullLiteralConversion (icsharpcode/NRefactory#59) ea5e36c Fix icsharpcode/NRefactory#60: Implicit type parameter conversion b656371 Implemented C# cref parser. 90c1b11 [CodeIssue] ConstantConditionIssue: use 'true'/'false' instead of 'True'/'False' in title 6c33cf8 [CodeIssue] IdenticalConditionalBranchIssue: use a better title dab4b01 [CodeIssue] AssignmentMadeToSameVariableIssue: use a better title 3d74abb Use directly specific corlib implementation for GetAllBaseTypesTest so that the tests don't fail if interfaces are added to .NET BCL types. 9640abd Add (failing) unit test for icsharpcode/NRefactory#73. 0e7fe7a Merge pull request #77 from erik-kallen/MembersInDerivedInterfacesShouldNotImplementBaseMembers 93e2def Fix #75: conversion between delegate types 32ee4d4 Fix icsharpcode/NRefactory#76: definite assignment analysis ignores false part of conditional expressions. dd07a77 CSharpParser: when parsing part of a compilation unit, detach the resulting nodes from the dummy compilation. ad46ffd Merge remote-tracking branch 'upstream/master' into mansheng 209d3f0 [CodeIssue] Added RedundantTypeCastIssue e71a8fd Fixed conditional symbol bug. d1f0807 Use location from Cecil instead of providing it as an extra parameter to LoadAssembly(). 5a1f7d7 Fixed issues with CecilLoader.LazyLoad=true. ed0e4c5 Fixed conversions from "dynamic" - these only exist from expressions, not from the type (this was causing subtle issues with type inference). 8090455 [Parser] Added conditional symbols to the compilation unit. 5f60958 [TypeSystem] Cecil loader can now take the loaded assembly location. 14addf4 [TypeSystem] Added SetLocation to IProjectContent. be9a3ed [Completion] Fixed get extension method call in parameter completion. c032382 [TypeSystem] Added location property to IAssembly. 1146033 Fixed get extension method call. 1d499ae [CodeIssues] Remove unused field. 58d7ac0 Improved ToString() for methods. 5592e88 Fixed bug when passing an extension method as a method group to a generic function. cc35fcc Revert f01a4b2 and 58c4ec8. Fixed small issue in CSharpResolver.GetExtensionMethods: when type parameters are provided explicitly, use the specialized method for the eligibility check. 0a7fdcd [CodeCompletion] No longer show static enum members on enum types (even if the call is theoretical valid). 247d588 [CodeIssues] Fix some false suggestions in VariableDeclaredInWideScopeIssue. c2b1946 [CodeIssue]RedundantElseIssue: changed Severity to Warning 54fbfc8 [CodeIssue] Added ConstantConditionIssue 092a18f [CodeIssues] Check redundant optional arguments of constructors. 342c87a [Utils] Don't allow escape sequences in numeric fields of format items. 1e561dd [CodeIssues] Be more allowing when picking format string arguments in FormatStringIssue. 58c4ec8 [Resolver] Fixed type inference use case. Daniel: The fix may not be correct - it's hard to tell which side effects that change will cause. c7de3da [CodeAction] Fixed getter/setters of the implemented interface/abstract class properties & indexers. 4f70f16 [CodeActions] Implemented abstract members action/Improved implement interface action & fixed unit tests. 2154c15 Merge remote-tracking branch 'upstream/master' into mansheng 4acb9b8 [Resolver] Don't check the location of value parameters in accessors. (Revert remaining parts of revision e60567ab869d59e74397c34cd994b2c732c615f4) ebfd941 [CodeIssues] Fix ValueParameterUnusedIssue. b375e1f [CodeIssues] Add RedundantCatchIssue. 77fd14e [CodeIssue] Added IdenticalConditionalBranchIssue 1863ed6 [CodeAction] Implement interface now tends to implement the more specialized members non explicit. fea0060 [CodeIssue] Added AssignmentMadeToSameVariableIssue 286091b [CodeActions] Finished first implement interface implementation. cbf1bdf Merge remote-tracking branch 'upstream/master' into mansheng a4344c8 Checked for possible null refrence exception. 461d5da [Completion] Fixed completion bug. d4209d0 [CodeAction] Fixed extract method unit test. 4a5d1e8 [CodeAction] Fixed most extract method tests. 61faaca [CodeIssue] RedundantAssignmentIssue: fixed incorrect text marking f9aa82c Merge remote-tracking branch 'upstream/master' into mansheng 63a8ca1 [CodeIssue] Added RedundantAssignmentIssue e6abbcb [CodeIssue] Added MultipleEnumerationIssue c37d18a [CodeIssue] ParameterNotUsedIssue: only check parameters of methods 21a87ec [CodeIssue] VariableOnlyAssignedIssue: out argument should be considered as assignment 2c98a2c [Completion] Filter out System.Void type 3963b40 Fix 0bc0d09 Failing test. cf69275 [Completion] Fix enum method list. f01a4b2 [Resolver] Interfere extension method type arguments from the target type if no parameter is given. 62283e2 [TypeSystem] Made error message more verbose. 68aa35a [Ast] Added MemberNameToken property for pointer reference expressions. 53d9b6e [CodeIssues] Fix some false positives in ParameterCanBeDemotedIssue. dc1e33d [CodeIssue] ParameterHidesMemberIssue and LocalVariableHidesMemberIssue now distinguish static and non-static members 35179fd [CodeIssues] Remove leftover Console.WriteLine(). 865c288 [CodeIssues] OptionalParameterCouldBeSkippedIssue: Add null check. 3ae6b9f [CodeIssues] FormatStringIssue: Handle extra arguments that do not have a matching formal parameter. e5f346b [CodeIssues] Add OptionalParameterCouldBeSkippedIssue. 3757871 [CodeIssues] FormatStringIssue: Show errors in TextSegments too. 101294e [Utils] CompositeFormatStringParser: More error handling + refactoring of the code. 927c388 [CodeIssue] Added UnreachableCodeIssue ef6302d [Utils] CompositeFormatStringParser: Handle unclosed format items better 900aec2 [CodeIssues] Add FormatStringIssue. d2474e5 [Utils] Make CompositeFormatStringParser.Parse() wrap the segments in a class instead of just returning an IEnumerable. 185779b [Utils] Add more error checks to CompositeFormatStringParser. af7d214 [Utils] Some CompositeFormatStringParser cleanups. 7edf902 [Utils] More error handling in CompositeFormatStringParser. 1b96e9b [Utils] Add lots of error checks to CompositeFormatStringParser. 11c428e [Utils] Add CompositeFormatStringParser and related classes. 23c7dc0 [Tests] Added helper methods for checking a specific fix to InspectionActionTestBase 1133382 [CodeIssues] Add missing class IsTypeCriterion. 2307bcb [CodeIssues] ParameterCanBeDemotedTests: Add checks for what types variables are used as. 03ea217 [CodeIssues] Rename CallToStaticMemberViaDerivedTypeIssue to ReferenceToStaticMemberViaDerivedTypeIssue. a3e6c14 [CodeIssues] Handle members in CallToStaticMemberViaDerivedTypeIssue. a1cbcc2 Merge remote-tracking branch 'upstream/master' into mansheng 7a9fdf4 [CodeIssues] Make CallToVirtualFunctionFromConstructorIssue less whiny. 1a7d2e1 [CodeIssues] CallToStaticMemberViaDerivedTypeIssue: Ignore member methods of the current class. 6f2aed1 [CodeIssues] ParamaterCanBeDemotedIssue: Don't crash on parameters that aren't used. db8e971 [CodeAction] Add ContextAction attribute to MoveToOuterScopeAction. ce1e2ee [CodeIssues] Fix crashes in VariableDeclaredInWideScopeIssue. f33aa32 Merge remote-tracking branch 'upstream/master' into simonl 008aaa1 [CodeIssues] Factor out some type restriction finding infrastructure. e62a046 Fixed resolving compile-time operations on enum types with an underlying type smaller than int. (always use unchecked context for the cast back to enum) 459a2ef Fixed bug resolving indexer parameter declarations (was introduced with #66 [9476183]). 807e9c5 Allow multiple occurrences of UnknownError. 0aa37bc Add lazy-loading support to CecilLoader. 164592f [CodeIssue] Added CompareFloatWithEqualityOperatorIssue aff3328 [CodeIssue] Added BitwiseOperationOnNonFlagsEnumIssue 3372603 [CodeIssue] Added ForControlVariableNotModifiedIssue 7f7fcec [CodeIssue] Added RedundantElseIssue 5f6f274 Merge pull request #70 from erik-kallen/DynamicResolveResults a7816c2 Fixed handling of user-defined conversions between primitive types. 8426277 Merge remote-tracking branch 'upstream/master' into mansheng fca3cfe [CodeIssue] Added RedundantFieldInitializerIssue 5c1418e [CodeAction] Moved GetDefaultValueExpression to BaseRefactoringContext be0d89c [CodeIssues] Improve ParameterCouldBeDemotedIssue. 61044a8 [CodeIssues] Add initial version of ParameterCanBeDemotedIssue. 8a80ae0 [Completion] Added pointer reference completion. 77c9ccb [CodeIssues] Rename VariableDeclaredInWideScopeIssue => VariableDeclaredInWideScopeTests in the test project. 5720dc7 [CodeActions] MoveToOuterScopeAction: Handle lambdas. 4bae4ed [CodeIssues] Add VariableDeclaredInWideScopeIssue. 774c707 [CodeIssues] Change the namespace on IncorrectExceptionParameterOrderingIssue. ac2e8ef [CodeActions] Don't crash on null accessors in ValueParameterUnusedIssue. 3ec073f [CodeActions] Add MoveToOuterScopeAction. 2de5021 Fixed failing unit test. 4a3192d [CodeIssues] Add CallToStaticMemberViaDerivedTypeIssue. 9d5a384 [CodeActions] Add ConvertToInitializerAction. 73530de [CodeIssue] Added VariableHidesMemberIssue c1db937 Merge remote-tracking branch 'upstream/master' into mansheng 7354574 [CodeAction] ConvertIfToConditionalTests: fixed a test 754adbc AccessToModifiedClosureIssue: always use "var" keyword to avoid some null type issues, fixed "fails for field declaration" issue. 9d37b9a GatherVisitor: make sure base visit methods are always called 549d6bb ExtractAnonymousMethodAction: Fixed "fails to insert generated method when anonymous method is not in a method" issue bd1f050 GatherVisitor: added calls to base methods 0bf9891 ResolveResults for dynamic expressions cf08a17 AccessToClosureIssue: fixed some constructor issues 77283dc Merge minor changes from SharpDevelop repository (mostly additional documentation for ResolveResults). 2b41cda Simplify Demo app. 4ff155e Merge remote-tracking branch 'upstream/master' into mansheng 5d2fee1 Add CompilerSettings class instead of using the one from Mono.CSharp. e7a902b Merge remote-tracking branch 'upstream/master' into mansheng b37dedf [CodeIssue] Added LocalVariableOnlyAssignedIssue and ParameterOnlyAssignedIssue 6ba62c6 [Formatting] Fixed override. 3e2fe59 [CodeActions] Added Task async excecution for insertion & link modes. 8e02a17 Merge remote-tracking branch 'upstream/master' into mansheng 585ae50 CSharpAstResolver: don't return the same ResolveResult for two different nodes. 08636db [Completion] Fixed named argument completion bug. fbc1cfd Fixed some failing unit tests. 6e5b973 [ContextAction] Added null check to create method. 1c0a730 [CodeIssue] TypeParameterNotUsedIssue: removed the fix because it may introduce errors. 454bfe5 [CodeIssue] LocalVariableNotUsedIssue: Find unused foreach variable e2221f2 Merge remote-tracking branch 'upstream/master' into mansheng ca048e6 [CodeIssue] Added VariableNotUsedIssue, ParameterNotUsedIssue and TypeParameterNotUsedIssue fadffd3 [Completion] Improved the closing tag insertion (xml documentation). 3dc4463 [Resolver] Array initalizers no longer show up in ResolveAtLocation. 84c092c Merge pull request #67 from erik-kallen/UserDefinedExplicitConversionBetweenReferenceTypes 25cf612 Merge pull request #66 from erik-kallen/ParameterIdentity 951d9a6 Fix for the issue that user-defined explicit conversions don't work. 0fec8d3 Failing test that demonstrates that explicit user-defined conversions don't work. e058d61 [Completion] Improved xml document completion. 95bc695 [Completion] Be more general when providing type level keywords in members. 839b19e [TyeSystem] Fixed bug in nested type property. d8aac6d Merge remote-tracking branch 'upstream/master' into mansheng 4ac7fec [Refactoring] Don't suggest names that are used in a parent scope when falling back to numbered names. 3ded985 [Formatting] Fixed overlapping changes issue. d355b0f [CodeIssues] Added indexer case. da2eea8 [CodeIssues] Improved naming check (skipp overriden members). 4c87520 [CodeAction] Create field now works on member reference expressions with 'this.' target. 9476183 Fix for the parameter identity in accessors issue. 1363faf Tests demonstrating issues with parameter identity in accessors. 806869e Add IType.GetAccessors(). Accessors now use EntityType.Accessor instead of EntityType.Method. Added accessors support to DefaultMemberReference and ExplicitInterfaceImplementationMemberReference. Removed hacky code from CecilLoader - we now allow IsExplicitInterfaceImplementation=true on accessors. 13ca351 [CodeActions] Make IterateViaForeachAction use names based on their type and add handling of using and for statements. da5bbf3 [Refactoring, Competion] Add NamingHelper, use it from CSharpCompletionEngine and add convenience functions to RefactoringContext. 98674db Merge remote-tracking branch 'upstream/master' into mansheng 99c34cb Merge pull request #65 from erik-kallen/ImplementedInterfaceMembersForPropertyAccessors 728bf05 [CodeIssue] Added AccessToModifiedClosureIssue and AccessToDisposedClosureIssue 2a7c0cb Merge pull request #64 from erik-kallen/IsOverrideFlag bf89323 Add missing fields in KnownTypeReference. cdaf575 Implement AnonymousType.ToTypeReference(). 74adaba Test demonstrating problem with nesting anonymous objects. c6d8b93 Move SimpleTypeResolveContext out of Implementation namespace. d46cbdb Don't report a member as implementing an interface member if there is another explicit implementation of that interface member. da0feac Another one of those x.IsOverride = y.IsOverridable issues. 4813979 Support explicitly implemented events in the CecilLoader. 8431aa0 Fixed bugs with events: 1) Assignment of IsOverride to IsOverridable, and 2) AccessorOwner not being set for auto-events. 7640141 Added support for explicit method and property implementations to the cecil loader. 18995bd Fixed InheritanceHelper to support explicit interface implementation of base accessors. 4d868ba Failing test with explicit indexer implementation 4bc84b0 Merge remote-tracking branch 'upstream/master' into mansheng fd39748 (Rather ugly) fix for indexer accessor's ImplementedInterfaceMembers. 7e2a5a3 Tests for ImplementedInterfaceMembers for indexer accessors. 7ce5de3 (Rather ugly) fix ensure that accessor method are reported as implementing the corresponding accessor methods from interfaces. baad38a Tests demonstrating that the accessors for a property that implements an interface property do not have any ImplementedInterfaceMembers. 7f6620e Merge branch 'master' into soc-master a2a0975 Fixes IsOverridable flag for accessors 840cde9 Failing test for IsOverride flag of accessors. 4d60290 [CodeAction] IterateViaForeachAction: Add tests for slightly invalid expression statements and use Script.InsertAfter() to avoid problematic formatting. 97185cf [Refactoring] Add optional parameter expectErrors = false to ContextActonTestBase.Test(). 9b256fb [Completion] Only show public enum members. 68e12e4 [Completion] Filtered double added enums. a4d5b7a [Refactoring] Add Script.InsertAfter(). 0c9704d [Parser] Give ExpressionStatements with an invalid expression a semicolon if there was one in the file. 80c3b8d [Formatter] The formatting visitor can now take a region to format. b5b1bd1 [CodeActions] Ignore whitespace tests for now. c45b646 [CodeActions] Handle AssignmentExpressions differently in IterateViaForeachAction. a546a8f [CodeActions] Rename SetterDoesNotUseValueParameterAction to ValueParameterUnusedAction and generalize it to include event accessors as well. c8f36ae [CodeActions] Handle auto-setters and missing setters in SetterDoesNotUseValueParameterIssue. f562e97 Merge branch 'master' into soc-master f99663b [CodeActions] Add IterateViaForeachAction. 1e63663 [CodeActions] Add failing unit tests for whitespace preservation in in AddCatchTypeAction and RemoveRedundantCatchTypeAction. eea162a [CodeIssues] Update some strings to be more inline with the rest of the issues (and more informative too). 05f8cfe [CodeActions] Don't return a convert to extension method call code action if the call is already using extension method syntax. 94e43f2 [CodeActions] Add the ContextAction attribute to the static method call <=> extension method call converters. bf6217d Improved CodeDomConvertVisitor. d6ed3b7 Fixed resolving accessors. cd9c948 Add ICollection, ICollection<T> and IList to KnownTypeReference. a9d8769 Implemented CSharpResolver.ResolveConditionFalse() for resolving operator false() calls. Add message to ErrorResolveResult. Expose CSharpOutputVisitor.PrintPrimitiveValue and CSharpConversions.IsImplicitReferenceConversion/IsBoxingConversion. a77fa31 Add IMethod.AccessorOwner. 731ddf7 Add ConversionResolveResult.CheckForOverflow 79f634c Change TextChangeEventArgs.InsertedText and RemovedText from string to ITextSource. c8f2115 [CodeAction] Added ExtractAnonymousMethodAction d1388d5 Merge remote-tracking branch 'upstream/master' into mansheng b304675 Merge branch 'master' into soc-master 00d5de8 [CodeIssues] Optimized word break algorithm. 81c7daa [Completion] Renamed IMemberProvider -> ICompletionContextProvider. 6cbda46 [Completion] It's no longer needed to specify a parsed file for the completion engine. 33efe34 [Documentation] Added support for relative redirection targets. 4ca0f1d [CodeAction] Add code actions for converting between static method calls and extension method calls. 3597535 [CodeAction] Added ConvertConditionalToIfAction and ConvertIfToConditionalAction c9d2776 [Completion] Added GetMemberTextToCaret interface method. 1a33039 [Completion] Use getstate to get the current resolver state. a8e702b [Completion] Lowered parsed file usages. 39ac51c [Completion] Made API a bit simpler. d60aaeb [Completion] Member provider now needs to be given in the constructor. aa59c76 Merge remote-tracking branch 'upstream/master' into mansheng f198d68 [CodeAction] Fixed bug in create property action. 4e44369 [CodeIssues] Fdg rules now apply only to public & protected entities. (The Fdg rules only apply to that, we were more restrictive). b0c73cc [CodeIssues] Fixed fdg naming rules. 6c36d6e Merge pull request #58 from mono-soc-2012/simonl-newline-fix 513ffec Merge pull request #51 from nieve/ExtractFieldAction eb41192 Fix unit test failing on .NET 4.5 RC. 0500351 Simplify API for retrieving compiler errors/warnings. e914c9e [CodeIssue,CodeAction] Use the FindReferences class instead of custom visitors to find variable references. e60567a [Resolver] Give the value parameter a domregion close to the setter or adder. 75f65da Fixed typo. ad0ef5d [CodeIssue] Remove stray exception creation. 47da624 [CodeIssue] Add CallToVirtualFunctionFromConstructorIssue. 8d46989 [Formatter] Avoid newlines between multiline arguments and the ending parenthesis in function calls. 8e94126 [CodeIssue] Add IncorrectExceptionParameterOrderingIssue. 2396e99 [CodeIssue] Add SetterDoesNotUseValueParameterIssue. b6203ac [CodeAction] Add AddCatchTypeAction. e2ff414 [Code Action] Only show MergeNestedIfAction on 'if' token 712102c [Code Action] Only show ConvertSwitchToIfAction on 'switch' token 4da8bc8 [Code Action] Only show ConvertIfToSwitchAction on 'if' token b8c6547 Merge remote-tracking branch 'upstream/master' into mansheng 73a44b2 [NRefactory] Be more verbose on cecil load error. 44eff13 Add RemoveRedundantCatchTypeAction. 875d509 Merge remote-tracking branch 'upstream/master' into mansheng 4bfa589 [CodeAction] Added ConvertLambdaBodyExpressionToStatementAction and ConvertLambdaBodyStatementToExpressionAction 0f01589 [CodeAction] Added UseStringFormatAction 7fb257f Fixed completion bug. 5fe3dbd [UnitTest] Added test case for parser bug. d29d429 [CSharp] Updated mcs. f934c9a [CodeAction] ConvertExplicitToImplicitImplementation: make implicit implementation public bfa89c7 [CodeAction] Added ConvertExplicitToImplicitImplementationAction and ConvertImplicitToExplicitImplementationAction 1066186 [CodeAction] Added PutInsideUsingAction d01ed9e Merge remote-tracking branch 'upstream/master' into mansheng 33cc204 [CodeAction] Added MergeNestedIfAction 5bc69fd [CodeActions] Fixed remove braces whitespace removal. 38c8028 [CodeAction] SplitDeclarationList: Corrected a test 9c078eb Merge remote-tracking branch 'upstream/master' into mansheng 16a84b9 [CodeAction] Added SplitDeclarationListAction 1911868 [NRefactory] Removed extra new line for fields. 4433ab1 [Ast] Added IdentifierToken property to IdentifierExpression. 88c1287 [CodeAction] Added CreateCustomEventImplementationAction fc6c24c [CodeAction] Added CreateOverloadWithoutParameterAction b5843ad [CodeAction] Added ConvertAsToCastAction and ConvertCastToAsAction 5afae04 Merge remote-tracking branch 'upstream/master' into mansheng 2786d0c [Formatting] Set wrap options to do not change. a362d45 Merge remote-tracking branch 'upstream/master' into mansheng 5823267 [CodeAction]Added ConvertSwitchToIfAction c93ef39 [CodeAction]ConvertIfToSwitchAction: avoid generating redundant default section. d061eaa [CodeAction]Added ConvertIfToSwitchAction 2e4a497 [Completion] Fixed GetLineIndent method. 0cc7a4e [Completion] Fixed delegate context bug. 1c0b3b5 [Completion] Filter inaccessible classes in completion lookup. 7b21777 [Completion] Fixed 'this' keyword for extension method declarations. 9e7c9be [Completion] Fixed enum completion bug. a1e4b07 [Completion] Fixed enum completion in binary operator expressions. 5587b77 [Analysis] Fixed control flow generation for null embedded statement (for statement). 7e3e016 Add back WinForms-based NRefactory.Demo. 1640cb8 Set version number to 5.0.1; fixed some compiler warnings. cbb1fe5 Fixed some issues resolving members. c93aca4 Fixed failing unit test. 180ed85 Implemented IUnresolvedMember.Resolve(). 4b3bb7e Fixed completion bug. e0e30ae [Completion] Improved object initializer case. a270f6a [Resolver] ResolveAtLocation can now postpone the creation of compilations. 293af2e [Resolver] Fixed resolve at location bug. f197829 [Formatter] Fixed failing unit tests. 4add679 [TypeSystem] Cecil loader no longer crashes loading gtk-sharp.dll on windows. 282d3c3 Fix icsharpcode/NRefactory#32: ResolveResult for anonymous type creation 4d07b33 CSharpAstResolver now can resolve type members even when no parsedFile is specified. 3745ade Merge pull request #54 from Duikmeester/patch-1 6f9065e "__StackĄlloc" corrected in "__StackAlloc" 7d89302 [Tests] Added test case for a parser bug. ff1118a [Formatter] Fixed bug where keywords were put into comments. 99b856a added extract field code action 9b7c635 Merge pull request #50 from riviti/enh-genprop 7a3e68f [TypeSystem] All attributes from partial method declarations are now merged. a300c56 GeneratePropertyAction: Handle fields named like properties by renaming them before creating the property. b9780fb [CodeAction] Fixed check if parameter is null bug. 75c3a07 [Formatting] Fixed overlapping change bug. 7a03092 [Completion] Fixed parameter completion for static methods. 1852a3d [Refactoring] Fixed some bugs in create code actions in conjunction with enums. d888899 Solution: Set correct indent width. 57d4bd4 [TypeSystem] UsingScope now uses as operator for casts. 8305999 [TypeSystem] Added default parameter for GetClassTypeReference typeParameterCount. bb6660e [TypeSystem] Added TypeReference.Resolve (Compilation) extension method. 8c8e6cf [Parser] Merged mcs. 49e1b67 [Completion] GetParameterCompletionCommandOffset is now reusable/removed code duplication of GetCurrentParameterIndex. bcb45ff [Refactoring] Better use of the text editor options class in the script node output (output formatter should maybe use the formatting indent class). ad0ae7a [Completion] Improved handling of named parameters. 8722483 [Formatting] Fixed using alias declarations. 5a53174 [Formatting] Guard against empty changes. 73396ed Improved named parameter completion case. cff1fb2 [Completion] Fixed member lookup. 14ed907 [Formatting] Wrapping is now an intrusive task. 570c4d8 Fixed bug in completion. 8ff1e4c Fixed completion bug. 1ade7c4 [Resolver] Fixed using statement. 93f0d71 Fixed completion bug. bc77559 [Completion] Fixed catch context completion. 8523068 [Completion] Fixed object initializer unit tests. c32e988 [Completion] Fixed unit test. 4fe7c72 Fixed context for determining accessibility of protected inner classes when resolving a base type reference (NameLookupTests.InheritFromProtectedInnerClassTest) f7fb298 Implemented better solution for the array initializer workaround hack. 121c786 Removed duplicate unit test. f5b7f57 [UnitTest] Added failing unit test. 7bf1b4a Added some unit tests. d9113f3 [CodeAction] Fixed possible null reference. 63009ac Fixed 'Bug 4604 - [Resolver] Attribute Properties are not offered valid autocomplete choices'. 89be9aa [UnitTest] Enabled broken unit test. 7a69c65 Fixed Issue #38: Parser Regression in ObjectCreate initialization 6f1325d Fixed Issue #44: The ending TextLocation of an ArrayCreateExpression is incorrect when the array is initialized with zero elements 6a45cef Updated mcs. ef726be [UnitTests] Disabled broken tests. a93372d Removed some files that shouldn't be in the repository cdd492e Merge pull request #36 from awatertree/master 0179c76 Merge pull request #43 from turbanoff/patch-1 c06cfed Fix icsharpcode/NRefactory#42: const IField returns IsStatic=false 76e3cb4 Fixed output visitor inserting too many newlines in SwitchSection. 1077aa9 Add .jay to symbol package. 5239719 Fixed property formatting bug. 24f1637 remove redundant check 5b83b2d Only wrap arguments that are longer than 1. c4b9519 [CodeAction] Convert foreach to for now preserves old block. 94a8fde Added unit test for Bug 4525 - Unexpected code completion exception 56bfccb Fixed possible null ref exception cf9d360 [CodeActions] Worked on implement interface. 0581a41 Ignored failing unit test. bfdaaad Fixed declaration parameter formatting bugs. 6126d9b [Formatting] Fixed some formatting bugs. 805e072 Started implement interface/abstract members code action. da56a5b Fixed completion bug. 1a1487f [Formatting] Checked token for null, before using the parent. 6d1e90b [Formatting] Added null check. 2aec1be Improved the handling of delegate contexts. c773b58 Fixed formatting unit tests. 2eb61ac Added failing unit test. I assume that the problem is that B has a inner lass B.Foo - sicne it works when Foobar inherits just from 'Foo'. e8a5226 Changed formatting policy. 063d0f5 Renamed named expression identifier -> name. 5dbe365 [Ast] Renamed named argument expression identifier -> name. 98b2dfa Fixed unit tests. aa111ad Added completion categories for derived types. 45c8d0e Fixed object creation completion issue. 29ec90e changed method call wrap default. 04127ad [Formatting] Improved the wrap if too long option. 639f6b9 Updated formatting factory options. e308e3d Added more formatting styles. c2e912a [Completion] Fixed bug in pre processor directive context detection. c8f8dc7 [CodeIssue] removed '.' in name. c36be0b Fixed some add another accessor issues. 1704bd0 [Formatting] Implemented parameter wrapping. 95b0c25 [Formatting] New line placement is now a 3 state. ecbc616 Added unit test for bug report. (use case already works) 198c085 Added some formatting options. a4064df Added indexer argument wrapping options. debc7a0 Added method call wrapping options. fa4f2e0 Added chained method call wrapping option. 62f621e Merge branch 'master' of github.com:icsharpcode/NRefactory e912bdf Fixed possible cast exception. 658cb4b patched up handling indexing issue aff71a5 try revert critical method 9d29131 merge a34aaa8 project compilation 18d7ca4 failing tests for issue 35 c189c5d failing tests for issue 35 3f465c6 failing tests for issue 35 git-subtree-dir: NRefactory git-subtree-split: e2eef883e176bb5017a9fdfc7afe9113e7448c27 |
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 |
|
14a4d880e6 |
Squashed 'NRefactory/' changes from a73d7ba..36c9cae
36c9cae Add ICompilation.Import() extension methods. 1467ce3 Fixed accessibility check for protected members in outer classes. f410a2b Enum members are implicitly cast to the underlying type when used in an enum member initializer. a9c743c Fixed type inference for "condition ? someEnum : 0" 42ce4ca Fixed type inference in foreach when the collection type does not implement IEnumerable. 45bcad4 Added getsubtype definitions helper method. 78ac5bb Fixed some code completion unit tests. ff2a11b Worked on unit tests. 51986c4 Worked on code completion unit tests. c453405 Updated code completion to the latest type system changes. a564ebb Added easy to access enumerables for various member types. a71670f Fixed some issues with code round-tripping; and added unit tests for some parser failures. 4db74d9 Fixed roundtripping of preprocessor directives. bf88746 Added some failing parser tests for bugs discovered trying to roundtrip NRefactory itself. a6433d4 Do not try to infer a type from the null literal. b0b9942 Add ISolutionSnapshot for creating compilations for multiple projects from a single consistent snapshot. 7e95cb7 Add CSharpAstResolver.GetResolverStateBefore 4ccc313 Normalize newlines 9ffbdb8 Merge type system refactoring into NRefactory master. 4d4f1f4 Fixed various resolver bugs. c4ce934 Fixed bug when resolving base constructor calls. 0b263b0 TypeSystemConvertVisitor: implemented ConvertInterfaceImplementation for methods and properties. Implemented 'goto case' support in control flow analysis. f11eed9 Introduce a named unknown type (this allows TypeSystemAstBuilder to work better when there are resolve errors). e2cb546 Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system. 3d9b3ec Improved enum parsing. e69e9f1 Fixed enum context. bf3a1d7 Added gtk text editor lib. 9cc151d Started support for unclosed expression statements. bcde6f1 Worked on enum context. 37798b0 Improved get/set keyword handling. 2ec341e Merged with mcs. 7e53805 Updated mcs/fixed some code completion cases. 73438b7 Make CSharpResolveVisitor internal and expose CSharpAstResolver instead. 9d7c018 Adjusted C# resolver to refactored type system. c02e801 Introduce ResolvedUsingScope (serves as cache per using-scope; avoids resolving imported namespaces repeatedly). 5069b98 Fixed code completion bug. 3b6fda2 Added gtk demo & fixed code completion bug. 54851a7 C# Type System implementation 057c0be Fixed "partial" bug. ba88599 Added a method to determine the current parameter index. a701436 Changed parameter completion API slightly. 4a41972 Fixed code completion bug "Bug 1932 - [new resolver] fields don't show up unless prefixed with 'this.'". 2ea298c Fixed some null reference exceptions. f479cb0 fixed bug in parameter parsing. 98d1826 Added error expression as ast node. fa6ea12 Added error expression for the for construct. 817a2da Added error expression for invalid initializers. 4376927 Renamed file. a4259ef * cs-tokenizer.cs: Fixed location bug. ec82082 Handled pre processor directives as separate AST node. 11a9ce2 Added context action unit tests. f9916d8 WIP: Type system refactoring. 2d70017 Fixed some parameter resolve result issues. 1bc609f Added pre processor "if"/"elif" contexts. 03ee478 Improved current member recognition. c29b4ed Added missing follow up char. 0ab566c Fixed "partial" context. a097af0 Fixed multiple line comment content. 8124eaa Fixed invalid expression statement. a348bbd Merge branch 'master' of github.com:icsharpcode/NRefactory 41607d7 Added invalid expression statements to the ast. d461987 Improved comment & string context recognition. f631199 Type system refactoring: split unresolved/resolved type systems. 1ebf835 Fixed parameter completion issue. af6ba7d Fixed unit test. bf3fdb3 Added variable statement declaration tests. 4824080 Implemented indexer parameter data provider. 8c82864 Fixed field declaration context & "new" expression context. 86b3da2 Added object initializer tests & fixed them. fb374aa Fixed unit test. f1612d5 Added some more keyword tests & fixed some cases. f5730d5 * CSharpCompletionEngine.cs: Fixed some bugs in global/type context. 85e1173 Fixed parser bug. 59ce505 Fixed last failing code completion unit test. bc4ca21 * NRefactory.sln: cfcaca8 Merged mcs. b74cfbb Added switch context handling. fa5e7e5 Fixed potential resolve issue. Note: That doesn't really fix the problem - only 90% of the cases. The partial class representation could need a change. c498bc8 Fixed completion inside try ... catch bodies. 03407fd Fixed failing unit test. 2a795ae Fixed some unit tests. 8942cd5 Fixed failing unit test. 2cfd9b2 Added attribute context. 7a8e9d0 Merged with mcs master. 18e088e SpecializedMethod: Perform type substitution in the type parameter constraints. 69360a2 Implemented constraint inheritance. 57d55c6 Fixed resolving simple names within a generic class that refer to a non-generic inner class. 5d614c0 Fixed unit test. 98ad3ba Fixed unit test. ffa2fc9 Fixed failing unit test. 42c0a2d Fixed unit test. 6d4a825 Fixed some unit tests. a81096d Included interfaces in type parameter base types. 2bc6105 Fixed some completion unit tests. I'm not 100% sure if that's the best solution fixing this, but makes things easier for now. fd91bdc Fixed resolving non-generic classes that are nested within generic classes. f043e30 Fix ResolveVisitor.GetResolverStateBefore(): ensure that the resolver always registers the state before it caches a result. ed86963 Failed assertions now fail unit tests. 81cac5e Fixed little code completion ast bug. f3ea71a Fixed some completion tests. 7f697b3 Fixed resolver usage. e96dbbd Added 'UnknownTypeResolveResult'. Makes it easier to implement the 'add missing namespace import' function. 0320a66 Added monodevelop code completion tests. 5ee9b73 Added missing unit test. 1c0ce1d Added default parameters for type parameter count. f7b3094 Merged with md master. 7063203 FieldDeclaration/EventDeclaration/VariableDeclarationStatement now resolve to 'void'. Only the individual VariableInitializers will resolve to the field/event/variable. 800b951 Fixed bugs in ResolveVisitor: - forgot scanning into ForEachStatement.InExpression when the variable type was not 'var' - ProcessConversion() was called for Expression.Null - made Resolve() internal because it hard to use correctly b3d07d8 Ported over the monodevelop completion engine to nrefactory. f46609b Worked on basic nrefactory completion infrastructure. 8389d7a Use OperatorResolveResult for assignments. 9ddf9bc Combine C#-specific UnaryOperatorResolveResult/BinaryOperatorResolveResult and ConditionalOperatorResolveResult classes into a single language-independent OperatorResolveResult class. 4bbcf2d Add "public ResolveResult Body { get; }" to LambdaResolveResult. 751b601 Shorten inner type names. 434ec17 Correctly set kind of compound types. 177fb85 Fix infinite recursion when resolving the base type of "class Test : Test.Base { public class Base {} }" 475f838 Make DefaultTypeDefinition.FullName cache thread-safe. 8c3899f Cached TypeDefiniton FullName. This is required for the navigate to feature which checks the full name as well as the name. Otherwise it would cause thousands of slow string concats. Since the type system should be treaded as read only namespaces & declaring type definitions can't change. 7b542f4 Enabled async tests. e4c70d4 Added await/async support & updated mcs. d91eb2c Print error information. b7fcc55 Re-enable resolver unit tests that failed due to the parser returning incorrect positions. 25176ef Fixed IMember.IsOverridable to return true for abstract members. e4850e9 Added async modifier. 0c3d5e0 Fix bug in ParameterListComparer: the method signatures "Method<T>(T a)" and "Method<S>(S b)" were considered unequal. 4d73e48 Add GetEffectiveBaseClass() and GetEffectiveInterfaceSet() to ITypeParameter, and fixed a bug in DefaultTypeParameter.IsReferenceType(). 0c03236 Update AssemblyInfo for ICSharpCode.NRefactory.CSharp 813c8f5 Merge NRefactory 'b059dbcf413786069599d1686ac608150bd3f357' into SharpDevelop repository. b059dbc Fixed NullReferenceException when resolving group join clause. ad1e90b Merge pull request #205 - Decompilation of lifted operators f0bfded C# AST: when setting a string property to null or an empty string, remove the corresponding identifier token. 9f988f6 Adjust ILSpy to NRefactory changes. 6994e19 Merge NRefactory '88ebd0b9596edab0e916ff28ae53f6febbdff032' to ILSpy. 5a2b4d2 fix out parameter output in CSharpToVBConverterVisitor f085e9c fix AlwaysUseShortTypeNames omitting generic type arguments 02f1929 implement find references on local variables 8a598a7 fix CSharpBinding reference to NRefactory.CSharp; fix long type names bug in CSharpAmbience 02b1e15 Fix unit tests after moving CSharpAmbienceTests to different namespace. e6d84ff moved Ambience to NRefactory 49c5c79 implement all different members in CSharpAmbience output 5beb702 implement CSharpAmbience for ITypeDefinition 9526969 Adjust SharpDevelop to NRefactory changes (move ICSharpCode.Editor -> ICSharpCode.NRefactory.Editor; put NR.C# in separate assembly) 2f4f82c Merge changes from NRefactory into SharpDevelop newNR branch. 10a6608 Merge branch 'master' of git://github.com/icsharpcode/ILSpy 472daa9 remove old files 588557e fix case sensitivity in IsKeyword check 3e37fb2 fix output of object initializers 7a9bb56 InsertParenthesesVisitor: insert parenthesis in "(new int[1])[0]" ddc5d8a Merge branch 'master' of git://github.com/icsharpcode/ILSpy 1398d8a add missing space after Case keyword a854421 corrected spelling of Overrides-modifier; convert virtual to Overridable and override to Overrides 5c10903 Merge branch 'master' of git://github.com/icsharpcode/ILSpy ee384a2 PDB files for release mode. File alignments and base addresses improved. git-subtree-dir: NRefactory git-subtree-split: 36c9caec101ad5b2c47d11ac12bcd043d8d6e115 |
14 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 |
|
1c1420a8d2 |
Squashed 'NRefactory/' changes from 1e4a1d9..9675caf
9675caf ReadOnlyDocument: rename textBuffer->textSource 97d0964 Fixed GetDelegateInvokeMethod() for parameterized types. Fixed copy constructor of DefaultMethod. Fixed handling of "class" constraint in CecilLoader. 42d4d7d fixed some bugs in use explicit type context action. 79b9582 Fixed failing attribute unit tests. 6fb0a90 Added error indicators for missing closing brackets. a11458e Worked on attribute resolving. Some tests fail because of wrongly loaded classes in my system. Daniel: Can you check the constructor attribute cases. I think something doesn't work in the Cecil loader on my system. I only get 1 empty constructor for LoaderOptimization & the name on my system is .ctor instead of #ctor. cf8a412 Use equals. 5c398f2 fixed return types of anonymous type properties. Re-used the var type reference for that. c458e06 Implemented anonymous types. 19653fa Added identifier token property. 96d1b7f fixed check. 1af72c9 GetResolveableNodeAt is now more selective. b74fe93 Set compiler errors to parsed file. b411a2a fixed possible null ref. 7e708a6 Worked on ast formatter tests. fa55d14 Fix adding assembly attributes to SimpleProjectContent. Fixed MemberLookup.IsInvocable(). Add (ignored) unit tests for user-defined binary operators. b368465 fixed bug. 99b60b8 Parser change: Interface members are now Accessibiliy.Public. This is a proposal to solve the <interfaceType>.<InferfaceMember>. ... lookup. dd4f73b Fixed bug in inner type result. 2c2f30d Fixed some issues in the context actions. b01c263 Implemented brace style formatting. aceae1f implemented type parameter getmember methods. 2b726d2 Fixed System.Void output. 67fff9f fixed bug in using statement parsing. ef0d911 Revert "Implemented user defined operator candidates." 9165dfe Implemented user defined operator candidates. 6199ee3 checked outer classes for aceessibility private check. 5fad5f9 Added time stamp to parsed files. 37dbafd fixed mcs bug. 0e1ad6e Started to implement a 'skip bodies' mode for parsing. 62d61ec Implemented GetResolveableNodeAt function. 26946f0 Added DeclarationRegion property to IVariable. 694f373 fix infinite loop. daf0f21 Fixed some bugs related to conversions of type parameters. 5ae4d60 Conversions: add support for user-defined implicit conversions. 7615720 ResolveVisitor: Handle type arguments on IdentifierExpression and MemberReferenceExpression. Add support for PointerReferenceExpression. 3435eec Add ResolveVisitor.GetResolverStateBefore(AstNode). 5b92717 Add GetMembers() to IType; add ParsedFiles to IProjectContent. c923833 Fix build errors. 1037d56 fixed some errors. 7fb7783 Make AbstractAnnotatable implement IAnnotatable. c9d4a5d Rename ITypeResolveContext extension methods to be consistent with the new names of the ITypeResolveContext methods. 350ebaa Fixed NullReferenceException in type inference when passing a "string[]" for a parameter of type "IEnumerable<T>". 823471e Make the end offset of SegmentExtensions.Contains inclusive. b40610d Simplify nested synchronization of CompositeTypeResolveContext. 991bea4 Added IsVerbatim property again. 484c586 Added easy accessible acceess members. a883a3d Added constructors that take an error location/added file header. 77d54ee added some constructors. e8153e0 reduced comment insertion time from O(m log n) to O (m). 44e796a 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. 0afc1c6 Updated mcs / included code completion expression lookup. 33d588b 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. 93b3ebf Implemented type system -> cecil object table. 6a85f0c Renamed GetClass-> GetTypeDefinition; abec118 fix build. c6aa05d 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. b7fc89c added header. 0cb2388 Separated the annotations from the ast node & added annotations to the project content. af5e2c6 Added extension method GetMembers on IType. 7e29f61 Fix build (however formatting tests will fail). 9d21d1c Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs & delegates too). 51f924f Renamed ITypeDefinition.InnerClasses -> NestedTypes (for more consistency with IType.GetNestedTypes 224f973 Revert "Moved class type to IType / added type parameter class type for type" ba335ed Moved class type to IType / added type parameter class type for type parameters. aa42b1b Added error storage to IParsedFile. bae8765 Added AstLocation Begin/End properties. 9bc76cf Added naive remove type definition. This won't work for partial types. bd4fb10 Added cenecllationtoken work around. Mono crashes on default cancellation token. 40147bc Changed CreateShortType implementation a bit. 1ae1b17 Added gettype/member extension methods that are working on a line/column pair. c744d2f Worked on the way nrefactory contexct actions use the resolver. 1836aa8 Merge branch 'master' of github.com:icsharpcode/NRefactory 1b7906a Worked on context actions. 94b4130 Add IParsedFile to type system. be5139a Added more context actions. 62988d6 Add TypeSystemAstBuilder: IType --> AstType conversion. 530cb0b mhutch: [NRefactory] Fix const modifier on fields 2b5569d use faster string comparer. 0f5f474 worked on context actions. c337048 added missing file. 6e1eaf1 Added monodevelop context actions. 3eb2e5d Added patch from mhutch: [NRefactory] Add some name token accessors 7070e47 corrected output of primitive expressions. Primitive expressions contain a literal value which should be preferred ("0x10" vs "16"). 13acde3 fix build. 8b606d1 Updated mcs/fixed unit test. string literal constants now contain the real 'literal'. b2d2678 Rename ITextBuffer -> ITextSource 3048d66 Added some proposals. 21fcd82 Add ISegment and ITextEditor interfaces. b4bcc80 Add ICSharpCode.Editor assembly. 0afdacd changed to HasModifier. 878dbbf Fixed some issues in resolver; enable resolver unit tests. d36805c fixed assembly attribute csharp test. 67d9bb5 Fixed attribute on method parameter tests. 3685f49 Fixed TypeSystemConvertVisitor for read-only properties. Added some attribute parser tests. 26986f9 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. ddc55ad fixed variable declaration statement inside for loops wrong semicolon position. fca4dd0 Added GetTypes method in compilation unit. 0398fd6 Fixed 'GlobalAttributeCSharp' test. 9bcf087 Fixed EnumWithBaseType unit test. 390ed3a Fixed NestedArrays unit test. 1c51b3a Type storage: Fixed handling of namespaces that have sub-namespaces but do not directly contain classes. 07e2896 Make InsertParenthesesVisitorTests independent from indentation of the output. 73a9d8d Merge NRefactory changes from ILSpy. fb57f7d Fixed several issues in the type system convert visitor. a697f19 fixed unboundtypeofexpression test. 93117a1 Added MemberNameToken property. 7cd4526 Added some properties to allow easier access for modifiers. 014ecea Pass the parameter to the event handlers. 42717c9 fix missing method. 6144698 removed exception (shouldn't be in production code). 1365588 passed type parameters to the observable ast visitor. 7a5c7f3 fixed possible null reference exception. 6894e6a Primitive expressions now contain the literal value + updated mcs. 790585c Implemented invert condition function. 7f16970 Added token atrribute. 0648470 Fixed membertpe location. ba4a272 Implemented specific GetNodeAt method. 1feb0fc Added contains method. d4d9ffd Added observer visitor. f761813 Fixing switch section output + it's now possible to track node output in the output visitor. 79f1798 Put embedded statments onto next line. 478faf7 added name token property. d561ccf Merged some changes from monodevelop. 280b79b Fixed return type tokens 8578bad Added easy name token access. dfea089 added bounds check. 2fa40d8 Fixed special constraint expression parsing. eb6f6c1 Make ConvertChar and ConvertString public. b07228e Fixed issues with detection of using statements. a238bf1 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. 3974a80 remove isLastLine from interface - use stack instead; fix null reference if resolve of TypeDefinition fails 7738421 Fixed position of XML comments on nested types. 9a35ee4 Applied some of the optimizations suggested by Kris Vandermotten. #150 5997f81 add foldings to documentation comments; closes #165 fc86a67 Fixed relocation bug. 8fc4139 Fixed relocatable bug/removed some debug messages. 8237448 Renamed interface. 99b4726 fix https://github.com/icsharpcode/ILSpy/issues/177 450be5a Corrected locations for parset expressions/statments/type members. cb114b8 Fixed blank line formatting bug. e187185 Merge NRefactory subtree from commit '1e4a1d911cb430db2a4199695ee73dfd89bcc543' 4db670a Merge NRefactory b8330be into ILSpy f70f6a8 Add SaveIndex/LoadFromIndex methods to XmlDocumentationProvider. 4995f48 New XmlDocumentationProvider implementation: f3b9d11 When the last statement in a block is a label, add an EmptyStatement so that the generated code is valid. e68833d Add TestPlugin. b22b3ec C# OutputVisitor: improve indentation of query expressions 2ca7ec2 Fixed output of NamedArgumentExpression within object initializers. 43e33f8 Fixed InsertParenthesesVisitor for casts of negative primitive expressions. f3c52a0 Add OperatorDeclaration.GetOperatorType() helper method. 7cbab5e Merge NRefactory a92606c..56fde51 git-subtree-dir: NRefactory git-subtree-split: 9675caf1e9276391f17536b488148cb668a6cc44 |
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 |
|
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 |
|
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 |
|
ba47995db3 |
Squashed 'NRefactory/' content from commit 5aa65b2
git-subtree-dir: NRefactory git-subtree-split: 5aa65b26686a556aa8625a9f866d6734667bdb22 |
14 years ago |