fix for OpenListDialog usability
If switch cases contain values other then 0 and 1, force the condition to be non-boolean
Restrict variable splitting in case of nondeterministic ldloca opcodes.
Switched to "define-use" naming convention in ILAstBuilder.  Refactored variable splitting.
Fix #294: Exception on creation of tree node with 'privatescope' visibility
#295 Increase initial capacity of Instructions collection.
Merge pull request #285 from RKlier/openListDlg

Small changes for AssemblyList handling

This contains 2 changes for usability:
- Open list by double click.
- Made ListName textbox in CreateListDialog the focussed element, so one could immediately start typing.
Move extension method to more appropriate namespace.
enhanced resource decompilation
Merge branch 'master' of github.com:icsharpcode/ILSpy
Split DecompileEventArgs to separate file.
Code Tidy: Class is not partial
Code Tidy : Remove redundant using statements
Code Tidy: Mark fields read-only where appropriate
remove redundant using statements
remove redundant qualifiers
* Split DecompileEventArgs to separate file.
Improved display of resource strings and serialized objects
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
Merge NRefactory '14a4d88' into ILSpy.
Adjust ILSpy to new NRefactory version.
Squashed 'NRefactory/' changes from 36c9cae..858d4cc

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