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 Fixicsharpcode/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
Enable "Start debugger in break" and "Break debugged process".
Closes#292.
There is a new option on the debugger option page to start debugger in break. Additionally the debugger menu allows to break the current process.
858d4cc Fixed NullReferenceException in ControlFlow.NodeCreationVisitor.VisitSwitchStatement.
f70a726 Fixed resolving "-2147483648".
dd59e41 Add missing mscorlib reference
f1a1ab3 Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
3e8eb1e Add NRefactory.ConsistencyCheck with round-tripping test. Added parser unit tests for bugs discovered by the round-tripping test.
93a5c13 FindReferences: add support for searching in a different compilation than the entity is defined in.
119bc9b Fix formatting tests on Windows with git autocrlf enabled.
37795e4 Fixed parsing of some statements, improved "foreach" context in code completion.
6b7acf5 Added foreach statement variable declaration test.
3d551ed Fixed parsing of some incomplete statements.
8007d25 Fix CSharpOutputVisitorTests.AssignmentInCollectionInitializer. Ignore some failing parser unit tests.
38b35b7 Fixed formatting unit tests on windows.
df4805f Fixed compiler warnings.
94bad6c Fixed "InactiveIf" unit test.
41f4589 Fixed unit test.
3e9a85d Fixed complex generic class unit test.
77a7581 Fixed constraints parsing #2.
8124aeb Fixed some more cases of "new" completion.
fa8e9a2 Fixed bug in "new" completion.
b84c06e Make CSharpResolver immutable.
92c8bd6 Fix NullReferenceException in DefaultResolvedField.ConstantValue when the field is not a constant.
1464b5d For IAssembly.GetTypeDefinition, treat ns==null the same as ns==string.Empty.
3b48632 Fixed bug in constraints parsing.
a781604 Corrected parameter index.
e90bf1c fixed "Bug 2072 - Duplicate entries in the code completion list".
fa5ec27 Resolve object create expression, if the parent is one. That causes a jump/tooltip for the constructor rather than the class on a object create expression.
831c059 Added unit test for reported md bug.
4bf1ddb Updated Gtk demo.
d7d9a55 Added mono compiler bug workaround.
48b6968 Updated mcs sources.
63367b9 Fixed some keyword cc tests.
0e92f47 Prevented a key already exists exception (but it's not a real fix for the problem).
d5880aa Fixed possible null reference exception.
27f18d7 Fixed possible null reference exception.
ae54fd5 Added GetTypeResolveContext implementation.
9606b56 Added GetTypeResolveContext to IParsedFile.
b1bfe5c Added full name constructor to defaultunresolvedTypeDefinition.
git-subtree-dir: NRefactory
git-subtree-split: 858d4cc673d3029460f6a009a3fb268884304c7f
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