Remove unused code.
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
Merge NRefactory 'b374e407589060b38af9156ff050dc7109c57bc6' to ILSpy.
Adjust ILSpy to NRefactory API changes.
Fixed decompiling "new byte[length]" where length is a long.
Fixed NullReferenceException when decompiling a switch over a boolean variable that includes a default case.
Normalize newlines.
Fix array creation with unsigned integers.
Fix #133: When opening a module from the command line, navigate to that module automatically.
Close #312: Implemented Window Position Validation
Fix cancellation.

Closes #303; closes #313.
Fix #304 Search for enum underlying type is incorrect
Fix #296: Array initialization decompiles into recursive reference
Fix crash when starting ILSpy without /navigateTo.
Fix #305 - PlugIns not loaded if downloaded from Internet
Add ILSpy.exe.config to binary zip.
Update to AvalonEdit 4.2.0.8549.
Enable AvalonEdit SearchPanel for DecompilerTextView. Closes #261.
Escape/Unescape invalid characters on save/load to avoid exceptions in XDocument.Load/Save. fixes #54
fix missing calls to WriteDefinition for IndexerDeclaration