Mike Krüger
f46609bcc8
Worked on basic nrefactory completion infrastructure.
14 years ago
Daniel Grunwald
9ddf9bc442
Combine C#-specific UnaryOperatorResolveResult/BinaryOperatorResolveResult and ConditionalOperatorResolveResult classes into a single language-independent OperatorResolveResult class.
14 years ago
Daniel Grunwald
4bbcf2dc11
Add "public ResolveResult Body { get; }" to LambdaResolveResult.
14 years ago
Mike Krüger
434ec17d9a
Correctly set kind of compound types.
14 years ago
Daniel Grunwald
177fb85a00
Fix infinite recursion when resolving the base type of "class Test : Test.Base { public class Base {} }"
14 years ago
Daniel Grunwald
475f8381ef
Make DefaultTypeDefinition.FullName cache thread-safe.
14 years ago
Mike Krüger
8c3899f134
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.
14 years ago
Daniel Grunwald
b7fcc55308
Re-enable resolver unit tests that failed due to the parser returning incorrect positions.
...
Fixed a bug that caused array initializers to fail to resolve when the parent variable initializer was not being resolved.
15 years ago
Daniel Grunwald
25176ef7d5
Fixed IMember.IsOverridable to return true for abstract members.
15 years ago
Daniel Grunwald
0c3d5e06d7
Fix bug in ParameterListComparer: the method signatures "Method<T>(T a)" and "Method<S>(S b)" were considered unequal.
15 years ago
Daniel Grunwald
4d73e48488
Add GetEffectiveBaseClass() and GetEffectiveInterfaceSet() to ITypeParameter, and fixed a bug in DefaultTypeParameter.IsReferenceType().
15 years ago
Daniel Grunwald
d0e9ce023b
CodeDomConvertVisitor: choose between CodeIndexerExpression and CodeArrayIndexerExpression.
...
DefaultParameter: fixed bug in interning - two parameters with different names were considered equal for interning.
15 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
15 years ago
Mike Krüger
d683689d05
added serializable attributes.
15 years ago
Daniel Grunwald
a1a649e84e
Remove ITextEditorAdapter and use IDocument instead.
15 years ago
Mike Krüger
eb6c399d8c
Moved to completion namespace.
15 years ago
Mike Krüger
c82538ebe4
Added basic code completion interfaces.
15 years ago
Mike Krüger
96195ac0ef
fixed +-1 issue.
15 years ago
Mike Krüger
0ee81980ec
* Log.cs:
...
* ICSharpCode.NRefactory.csproj:
* CSharpParser.cs:
* location.cs:
* cs-parser.cs:
* cs-parser.jay: Fixed optional semicolon location.
15 years ago
Siegfried Pammer
e6d84ff111
moved Ambience to NRefactory
15 years ago
Daniel Grunwald
952696941a
Adjust SharpDevelop to NRefactory changes (move ICSharpCode.Editor -> ICSharpCode.NRefactory.Editor; put NR.C# in separate assembly)
15 years ago
Daniel Grunwald
dfc98609ce
Move ICSharpCode.Editor into NRefactory.
15 years ago
Daniel Grunwald
b7a17c206e
Adjust unit tests to InvocationResolveResult changes.
15 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
15 years ago
Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
15 years ago
Daniel Grunwald
611c310eb2
Change IConstantValue API to use ResolveResult.
15 years ago
Daniel Grunwald
ea42e6354b
Fix bug that caused the wrong part to be removed from a compound class.
15 years ago
Daniel Grunwald
e73c0785e3
Make Find References multi-threaded.
15 years ago
Mike Krüger
e7d9bf64e4
Fixed attribute section tests.
15 years ago
Mike Krüger
957c48eede
Fixed query expression tests.
15 years ago
Mike Krüger
02fe3e32e5
Fixed array create expression tests.
15 years ago
Daniel Grunwald
e926745da6
Fixed resolver bugs that caused unit test errors.
15 years ago
Daniel Grunwald
bb0311375c
Allow recursive synchronization (e.g. for calling GetTypes() on a single project content while a composite project content is synchronized)
15 years ago
Daniel Grunwald
683d3535b1
Implemented "Find references"
15 years ago
Daniel Grunwald
a06110c255
Rename ParsedFile to CSharpParsedFile.
15 years ago
Daniel Grunwald
558e1585eb
Fix resolver crashes
15 years ago
Daniel Grunwald
46676a45fb
Add GetInterestingFileNames to FindReferences.
...
Fixed a few resolver issues related to find references.
15 years ago
Daniel Grunwald
7f11fe3be0
Fixed bugs that caused some nodes not to be resolved in a "resolve all" run.
15 years ago
Daniel Grunwald
42bc87ba02
Change ResolveVisitor to report the location of conversions.
15 years ago
Daniel Grunwald
4cc64bb9b8
Fixed resolving LINQ group joins.
15 years ago
Daniel Grunwald
5b17740bea
Use explicit interface implementation in ResolveVisitor to make it clear what the public API is supposed to be.
...
Added support for QueryJoinClause and QueryOrderClause to the resolver.
15 years ago
Daniel Grunwald
f807e6166f
TypeSystemAstBuilder: when a type reference cannot be resolved but is a C# type reference, output the original C# code that was used to created the type reference.
15 years ago
Daniel Grunwald
b193dc91a5
FastSerializer: Add support for 'Fixed Instances', e.g. for serializing object graphs that have references to a singleton.
15 years ago
Daniel Grunwald
a5865bdd8e
Implemented "Find References".
15 years ago
Daniel Grunwald
33abc64eec
Replace AstNode.GetResolvableNodeAt() with the ResolveAtLocation helper class.
15 years ago
Daniel Grunwald
a93fd14efb
Adjust unit tests and fix bugs introduced by caching.
15 years ago
Daniel Grunwald
2b3d66998b
Add ITypeResolveContext.GetKnownTypeDefinition() for efficiently retrieving built-in types.
15 years ago
Daniel Grunwald
8a05ada508
Don't keep the per-using scope and per-type definiton caches around longer than necessary.
15 years ago
Daniel Grunwald
ecdf195bde
Cache simple name lookups more aggressively.
15 years ago
Daniel Grunwald
50f70415c4
Cache resolved CSharpConstantValue.
15 years ago