Daniel Grunwald
311df2bbb2
CSharpAstResolver: add cancellation support
14 years ago
Mike Krüger
17a8d4394a
Fixed completion bug.
14 years ago
Mike Krüger
3b682d43b1
Fixed code completion bug.
14 years ago
Mike Krüger
e2bf1e41d4
Worked on unattached attribute handling.
14 years ago
Mike Krüger
b0332c6d9d
Added IsInside methods to the AstNode.
14 years ago
Daniel Grunwald
e5217c2c13
Fixed bug in 'BetterConversion' implementation - converting to Func<> delegates is better than converting to Action<> delegates.
14 years ago
Daniel Grunwald
c6ecab1c48
Implemented support for InternalsVisibleToAttribute.
14 years ago
Daniel Grunwald
cb84adabc6
Fixed parsing undocumented expressions.
14 years ago
Daniel Grunwald
46254b3b0d
Add support for resolving "operator true".
14 years ago
Daniel Grunwald
77ea4dae30
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.
14 years ago
Daniel Grunwald
bb822e94d4
Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace.
...
Fixed increment operator on System.Char.
14 years ago
Mike Krüger
27a91ccd69
Fixed bug in protected member logic.
14 years ago
Mike Krüger
6b45af2de2
Fixed
...
"UsingStatementTests.UsingStatementWithMultipleVariableDeclaration".
14 years ago
Daniel Grunwald
f3541d4747
Fixed accessing protected members through type parameters.
14 years ago
Daniel Grunwald
9f5f18eeb2
Fixed resolving "condition ? byte : 0".
14 years ago
Daniel Grunwald
7971ad21f9
Check IType.Kind instead of using SpecialType.X.Equals().
14 years ago
Daniel Grunwald
c20807e31c
Fixed return type of members of generic enums.
14 years ago
Daniel Grunwald
67d19127f5
Fixed bug in reachability analysis when lambda/anonymous method contains a condition or switch statement.
14 years ago
Daniel Grunwald
1a7ca154b4
Allow conversion of anonymous method with unreachable endpoint to Func<T>.
14 years ago
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