- When there were a generic and a non-generic method with identical parameters (e.g. "object GetSomething()" and "T GetSomething<T>()" ), running find references on one of them returned results for both methods.
- Code completion was showing incorrect list for array initializers in field declarations ("static int[] field = { <Ctrl+Space> };")
Improved GetHashCode + Equals code generator.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2718 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
NRefactoryResolver now assigns the correct positions to nodes parsed by ParseExpression. This fixes code-completion on parenthesized query expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2713 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed some bugs.
C# parser: include position information for statements/expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2708 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed using the "Suppress message" command on constructors.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2702 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
This caused symptoms like seeing fields and properties twice in the code completion drop-down, seeing method overloads twice; and indirectly caused several problems with the Rename refactoring.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2699 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
New features:
- Supports non-MSBuild projects.
- Setting different properties for each project in a solution.
- Build can run in a worker process
- Builds multiple projects in parallel
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2694 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed bug introduced in last revision that caused the unit tests to fail.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2690 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Usage: TextAnchor anchor = document.GetLineSegment(lineNumber).CreateAnchor(columnNumber);
anchor.LineNumber and anchor.ColumnNumber are updated when text is inserted/removed in the document. anchor.IsDeleted will be true when the text location containing the anchor was removed.
LineSegment gets an IsDeleted property, so a LineSegment reference can be used as anchor for a line.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2683 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
TextEditor now provides TextChanged event so users do not have to attach to textEditor.Document.DocumentChanged.
Improved the heuristic that determines which comments belong to a class for the "Move class to file" command.
Prevent SharpDevelop from crashing if code-completion cache is corrupted.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2680 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed forum-18847: selections do not work correctly when selecting from invalid lines to valid lines.
When code converter crashes, report the file that it was processing during the crash.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2679 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
C# code completion: Members of anonymous types are properties, not fields.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2678 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
C# syntax highlighting: add contextual keywords introduced in C# 3.0.
C# parser: support "from T x in e" syntax in query expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2677 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61