mirror of https://github.com/icsharpcode/ILSpy.git
Tree:
07ba466934
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 (07ba46693421a297df9cdb4fea8cfb94cd41110b)
Author | SHA1 | Message | Date |
---|---|---|---|
|
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 |
|
fc02629e1a |
Squashed 'NRefactory/' changes from b8330be..1e4a1d9
1e4a1d9 add missing CSDemo files b5c5547 finished implementation of global level VB constructs a810296 - fixed bugs/missing features in ExpressionFinder.atg - add QualifiedType - partially implement TypeName in the parser dd8c7f7 add new VBDemo 99d4a8f remove code from MainForm in sample 13a8348 add XmlLiteralString d82f280 reimplemented tests for OptionStatement cb5a173 deactivated uncompilable unit tests; added XmlIdentifier; removed old classes b8599fc remove old parser code and further cleanup e1ee10a start implementing new VB AST; remove AST generator b9aa1ec Added some null checks. 3b051e5 Fixed alias 'global' member location. 8be17ea Updated mcs/fixed qualifiedalias member location. 5d83bea C# type system convert visitor: add support for attribute arguments. a917b1c Evaluate constant expressions in the correct context. 344476e Fix contracts. e1ac50d Implemented C# attributes. eb24135 Implemented IConstantValue for C#. Fixed bugs when resolving conditional expressions. git-subtree-dir: NRefactory git-subtree-split: 1e4a1d911cb430db2a4199695ee73dfd89bcc543 |
14 years ago |
|
30eaac3091 |
Squashed 'NRefactory/' changes from a92606c..56fde51
56fde51 Use "Role" suffix for the fixed field variable role. e8d8ff8 Merge NRefactory changes from ILSpy. d022808 Fixed parsing of enum member declarations. f030426 Added extern alias node. d8e26ed Added fixed field ast node. I thought about this a bit - it's a better solution to invent a new node for this construct even if it's reallly close to fields. Really close != same. 836e178 Fixed bug in formatting unit tests. c01ba21 Converted the unit tests. Some of them are failing - I expect it has to do with the adapter. 9b1913e Track API changes. 2bee26a Added AST formatting visitor. 749f5a8 Updated parser & mcs. 605a56a merged changes related to lambdas and expression finding from old NRefactory 8c36dd8 renamed VB.Dom to VB.Ast bf96506 DefiniteAssignmentAnalysis bugfix 4e1140d Fixed definite assignment analysis bug. ebc34e6 Add NextStatement/PreviousStatement properties. 6f2e9c2 Order the control flow nodes lexically, and allow restricting definite assignment analysis to a specific lexical range. 3cc6fab Allow performing definite assignment analysis without providing an ITypeResolveContext. 5660677 Add InsertAfter/InsertBefore to AstNodeCollection. ccfd4ea Evaluate constant expressions in definite assignment analysis. 3a4fdf2 Add support for non-custom attributes to CecilLoader. f68a49b Improve spacing in fixed statement output. 9974734 Use a property to return the list of annotations. 735cb85 Fix issues in definite assignment analysis. 65bf46a Set NRefactory back to .NET 4.0 (we're not going to port ILSpy to .NET 3.5) 76dfccc Add definite assignment analysis. a79d43d Add control flow analysis for the NRefactory C# AST. c33f33e Enable using patterns in place of catch clauses. 3ad453d Add OptionalNode for pattern matching. cfccfca AstNode: add Invoke() methods to AstType (builds InvocationExpression for static methods) 60b3164 NRefactory AstNode: add DescendantsAndSelf property. c6a8a1f Add support for Modifiers.Any (for pattern-matching) and for AttributeSection patterns. 73350e7 small code reformatting fdf1dac Indexer decompilation support. cafda5f Generate switch default case. Closes #26 0c9dec1 Fix output of float/double literals that are infinite or NaN. 0c9b5cb Remove "Attribute" suffix and add support for attributes on type parameters. 35d0426 Adjust ILSpy to NRefactory changes. c997b75 Merge commit '39fcd7d72f73d386455d00d63446601c99eafb83' bc195b8 Merge branch 'WithNUnit' of git://github.com/arturek/ILSpy f4f554d more attribute targets implemented. 74fd14a attributed parameter declaration. a07f545 Printing initializers of enum members. 20ceef1 Merge branch 'master' of git://github.com/icsharpcode/ILSpy into cust-attr 07c8c0c Use newlines in array initializers. 1cb5642 Merge commit '7ac091e93d8112b369425cceab64829c094e401c' f2c8607 Print a custom attribute's positional arguments. 212d39b Fix duplicate reference to Mono.Cecil. 5dfed88 Removed redundant int base type of enum. 8bd4e5d Basic output of custom attributes attached to types and methods. 9a1d759 Modifications of solution and project files made by VS2010. git-subtree-dir: NRefactory git-subtree-split: 56fde51b698e6c7b8ea23ebbc5caf0cd10bc4682 |
14 years ago |
|
ba47995db3 |
Squashed 'NRefactory/' content from commit 5aa65b2
git-subtree-dir: NRefactory git-subtree-split: 5aa65b26686a556aa8625a9f866d6734667bdb22 |
14 years ago |