Mike Krüger
0983e854ea
Fixed some keyword contexts.
14 years ago
Daniel Grunwald
d03d17bbe4
Use lazy initialization for C# resolved type definitions.
...
This speeds up creating a new compilation for a single resolve operation by a factor of 10 (for NRefactory.sln; potentially more for larger solutions).
14 years ago
Daniel Grunwald
b374e40758
Don't insert space in front of brace if the brace is the first token in the line.
14 years ago
Daniel Grunwald
9f809bc729
Use IOutputFormatter.StartNode() instead of OutputStarted event.
14 years ago
Daniel Grunwald
f30ceb5b4c
Set version number to 5.0.0.4.
14 years ago
Mike Krüger
8d5b268fdf
Fixed completion bug.
14 years ago
Daniel Grunwald
d2f2feb994
Remove the thread-local cache; it seems to cause massive memory leaks.
14 years ago
Daniel Grunwald
cfe807ab73
Fix "find references" for method group conversions in delegate creation expressions "new Action(MyMethod)"
14 years ago
Daniel Grunwald
9859dce24f
Improve ResolveAtLocation.
14 years ago
Daniel Grunwald
a7245affe6
Fixed finding references to method group conversions.
14 years ago
Daniel Grunwald
194b33438b
Add FindReferencesConsistencyCheck.
14 years ago
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