Daniel Grunwald
f11eed9d15
Introduce a named unknown type (this allows TypeSystemAstBuilder to work better when there are resolve errors).
14 years ago
Daniel Grunwald
e2cb5467c2
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
14 years ago
Mike Krüger
7e5380551b
Updated mcs/fixed some code completion cases.
14 years ago
Daniel Grunwald
73438b7288
Make CSharpResolveVisitor internal and expose CSharpAstResolver instead.
14 years ago
Daniel Grunwald
9d7c018fb2
Adjusted C# resolver to refactored type system.
14 years ago
Daniel Grunwald
c02e801b5d
Introduce ResolvedUsingScope (serves as cache per using-scope; avoids resolving imported namespaces repeatedly).
14 years ago
Mike Krüger
5069b98f17
Fixed code completion bug.
14 years ago
Daniel Grunwald
54851a741f
C# Type System implementation
14 years ago
Mike Krüger
98d1826a74
Added error expression as ast node.
14 years ago
Daniel Grunwald
f9916d89ef
WIP: Type system refactoring.
14 years ago
Mike Krüger
0ab566c3c0
Fixed "partial" context.
14 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
14 years ago
Daniel Grunwald
18e088e688
SpecializedMethod: Perform type substitution in the type parameter constraints.
14 years ago
Daniel Grunwald
69360a2c1c
Implemented constraint inheritance.
14 years ago
Daniel Grunwald
57d55c651d
Fixed resolving simple names within a generic class that refer to a non-generic inner class.
14 years ago
Mike Krüger
a81096dff8
Included interfaces in type parameter base types.
14 years ago
Mike Krüger
2bc61057e9
Fixed some completion unit tests.
...
I'm not 100% sure if that's the best solution fixing this, but makes
things easier for now.
14 years ago
Mike Krüger
e96dbbd777
Added 'UnknownTypeResolveResult'.
...
Makes it easier to implement the 'add missing namespace import'
function.
14 years ago
Mike Krüger
1c0ce1dc7c
Added default parameters for type parameter count.
14 years ago
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.
14 years ago
Daniel Grunwald
25176ef7d5
Fixed IMember.IsOverridable to return true for abstract members.
14 years ago
Daniel Grunwald
0c3d5e06d7
Fix bug in ParameterListComparer: the method signatures "Method<T>(T a)" and "Method<S>(S b)" were considered unequal.
14 years ago
Daniel Grunwald
4d73e48488
Add GetEffectiveBaseClass() and GetEffectiveInterfaceSet() to ITypeParameter, and fixed a bug in DefaultTypeParameter.IsReferenceType().
14 years ago
Daniel Grunwald
24f8ae03d7
Add GetNewOffset() method to TextChangeEventArgs.
14 years ago
Daniel Grunwald
dc98befcce
Add IsDeleted and Equals() implementation to IDocumentLine.
14 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.
14 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
14 years ago
Mike Krüger
d683689d05
added serializable attributes.
14 years ago
Daniel Grunwald
a1a649e84e
Remove ITextEditorAdapter and use IDocument instead.
14 years ago
Mike Krüger
eb6c399d8c
Moved to completion namespace.
14 years ago
Mike Krüger
c82538ebe4
Added basic code completion interfaces.
14 years ago
Mike Krüger
96195ac0ef
fixed +-1 issue.
14 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.
14 years ago
Siegfried Pammer
e6d84ff111
moved Ambience to NRefactory
14 years ago
Daniel Grunwald
952696941a
Adjust SharpDevelop to NRefactory changes (move ICSharpCode.Editor -> ICSharpCode.NRefactory.Editor; put NR.C# in separate assembly)
14 years ago
Daniel Grunwald
dfc98609ce
Move ICSharpCode.Editor into NRefactory.
14 years ago
Daniel Grunwald
b7a17c206e
Adjust unit tests to InvocationResolveResult changes.
14 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
14 years ago
Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
14 years ago
Daniel Grunwald
611c310eb2
Change IConstantValue API to use ResolveResult.
14 years ago
Daniel Grunwald
ea42e6354b
Fix bug that caused the wrong part to be removed from a compound class.
14 years ago
Daniel Grunwald
e73c0785e3
Make Find References multi-threaded.
14 years ago
Mike Krüger
e7d9bf64e4
Fixed attribute section tests.
14 years ago