Mike Krüger
c3b136b156
Fixed attribute context cases.
14 years ago
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
9df7940231
Normalize newlines.
14 years ago
Daniel Grunwald
01b538f97e
Fix CSharpToVBConverterVisitor (use Pattern.AnyString).
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
5f8dcf4f7a
Implement 'ToMemberReference()' and 'InterfaceImplementations' on specialized members.
14 years ago
Daniel Grunwald
33b57d590d
Fixed IMember.ToMemberReference() for explicit interface implementations.
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
d0bd4faa6b
Merge changes from SharpDevelop 'newNR' branch into NRefactory main repository.
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
862e9500db
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).
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
426ce5dccf
Removed some ignore attributes.
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
8efd32e815
Don't crash when trying to decode invalid attribute/secdecl blobs.
14 years ago
Siegfried Pammer
5ff4462b2b
NRefactory 5: do not throw exceptions if there's no cecil reference for entity
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