Daniel Grunwald
822fda7e36
Handle T[] -> T* and string -> char* conversions in fixed statement initializers.
14 years ago
Daniel Grunwald
0f2b0c380e
Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)")
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Daniel Grunwald
57a59341a5
Revert "Fixed type system converter case reported from "erik-kallen"."
...
The bug was already fixed in fb0c2923; this patch was adding the parameters a second time.
This reverts commit c4dfb27626
.
14 years ago
Mike Krüger
006d18a067
Resolve at location can now give back the AstNode.
14 years ago
Mike Krüger
6054ed469a
Added unattached attributes to the AST.
14 years ago
Mike Krüger
9f9a26b236
Updated mcs.
14 years ago
Mike Krüger
c4dfb27626
Fixed type system converter case reported from "erik-kallen".
14 years ago
Daniel Grunwald
fb0c292380
Fix icsharpcode/NRefactory#13 - Indexer accessors do not get correct parameters.
14 years ago
Daniel Grunwald
5c9dfb9896
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.
14 years ago
Daniel Grunwald
c5c5192f38
Add documentation to methods for creating type references that describe the expected ITypeResolveContext for resolving those type references.
14 years ago
Daniel Grunwald
6d7abd9b0f
Use AstType.ToTypeReference() instead of TypeSystemConvertVisitor.ConvertType().
14 years ago
Daniel Grunwald
13ac45ebf7
Add AstType.ToTypeReference() method.
14 years ago
Daniel Grunwald
79b8b00d29
Fix bug in output type inference for explicitly typed lambdas.
14 years ago
Daniel Grunwald
cdfa794e37
Add some ToString() overrides for easier debugging
14 years ago
Daniel Grunwald
e441980154
Fixed parsing "bool.TrueString".
14 years ago
Daniel Grunwald
d44077aa59
Add CSharpAstResolver.GetResolverStateAfter() and fixed an issue with the scanning logic in ResolveVisitor.
14 years ago
Mike Krüger
dce53cb312
Fixed code completion bug.
14 years ago
Mike Krüger
20b94208f1
Took out error message.
14 years ago
Daniel Grunwald
3d21a80e7d
Fixed the ResolveVisitor scanning logic and several related issues.
14 years ago
Daniel Grunwald
a3ff017e9e
When a simple-name refers to an instance field in the current class, set TargetResult=new ThisResolveResult().
14 years ago
Daniel Grunwald
4d20ce3ee9
Fix build.
14 years ago
Daniel Grunwald
b4003145b3
Add MethodGroupResolveResult.GetEligibleExtensionMethods() method.
14 years ago
Mike Krüger
5838210ba7
Fixed parser exception.
14 years ago
Mike Krüger
510d58a28b
Fixed parameter test case.
14 years ago
Mike Krüger
440bc4f305
Fixed assertion error.
14 years ago
Mike Krüger
8b32926d67
Fixed const field access.
14 years ago
Mike Krüger
802cd23697
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 ());
}
}
}
------------------------------------
14 years ago
Mike Krüger
e7833ba973
Added some more naming contexts.
14 years ago
Mike Krüger
3a4eeb49fa
Merged with monodevelop engine.
14 years ago
Mike Krüger
d88c793032
Fixed bug in RemoveBackingStore context action.
14 years ago
Mike Krüger
e7ee62fc40
Fixed resolve at location for object create expressions.
14 years ago
Mike Krüger
9a96b02042
Fixed using context/ added unit test for try ... catch case.
14 years ago
Mike Krüger
22f7e30678
Take correct type for override completion.
14 years ago
Mike Krüger
f931cf0b3f
Added some null checks.
...
Mcs can now parse much more "invalid" expressions & statements.
14 years ago
Mike
2cfed41833
Fixed primitive type keywords.
14 years ago
Mike
7df3367870
Guard against storing the resolve result for variable name token twice
...
in foreach statement.
14 years ago
Mike
bd39c22cc3
Removed some debug messages.
14 years ago
Mike
4e801c8d99
Fixed tuple parameter index.
14 years ago
Mike Krüger
1dab608880
Added some null checks.
14 years ago
Mike Krüger
335fe9493d
Updated mcs.
14 years ago
Mike Krüger
6a85f2a5e3
Fixed AST builder.
14 years ago
Mike Krüger
c33bc0fd8c
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.
14 years ago
Mike Krüger
764b8a33f4
Added unit tests for context actions.
14 years ago
Mike Krüger
e6df8e7628
Added unit tests for SplitDeclarationAndAssignment context action.
14 years ago
Mike Krüger
1d8918caa6
Fixed unit tests.
14 years ago
Mike Krüger
93bea6d4d1
Fixed failing unit test.
14 years ago
Daniel Grunwald
9286461537
Adjusting SharpDevelop to new type system (unresolved/resolved split).
14 years ago
Mike Krüger
3b4abcceb3
Fixed ast node script positions.
14 years ago
Mike Krüger
7958965a70
Implemented some missing functions in refactoring context.
14 years ago