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
3b6fda215c
Added gtk demo & fixed code completion bug.
14 years ago
Daniel Grunwald
54851a741f
C# Type System implementation
14 years ago
Mike Krüger
ec82082a36
Handled pre processor directives as separate 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
69360a2c1c
Implemented constraint inheritance.
14 years ago
Daniel Grunwald
fd91bdccb2
Fixed resolving non-generic classes that are nested within generic classes.
14 years ago
Daniel Grunwald
f043e30fbf
Fix ResolveVisitor.GetResolverStateBefore(): ensure that the resolver always registers the state before it caches a result.
14 years ago
Mike Krüger
e96dbbd777
Added 'UnknownTypeResolveResult'.
...
Makes it easier to implement the 'add missing namespace import'
function.
14 years ago
Daniel Grunwald
7063203972
FieldDeclaration/EventDeclaration/VariableDeclarationStatement now resolve to 'void'.
...
Only the individual VariableInitializers will resolve to the field/event/variable.
Fixed several bugs in 'Find References'.
14 years ago
Daniel Grunwald
800b951c6d
Fixed bugs in ResolveVisitor:
...
- forgot scanning into ForEachStatement.InExpression when the variable type was not 'var'
- ProcessConversion() was called for Expression.Null
- made Resolve() internal because it hard to use correctly
TypeSystemAstBuilder: reverted Mike's change for nested types, it is incorrect for nested types within generic types.
14 years ago
Daniel Grunwald
8389d7add6
Use OperatorResolveResult for assignments.
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
Daniel Grunwald
177fb85a00
Fix infinite recursion when resolving the base type of "class Test : Test.Base { public class Base {} }"
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
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
43a8429d30
Disable resolver logging.
14 years ago
Daniel Grunwald
b059dbcf41
Fixed NullReferenceException when resolving group join clause.
14 years ago
Daniel Grunwald
a73d7ba8db
Added async/await support to the resolver.
14 years ago
Daniel Grunwald
7ff012f1a5
Fixed some issues in the CodeDomConvertVisitor.
14 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
14 years ago
Mike Krüger
af5ae57e89
Added type case for resolvenode at location.
14 years ago
Daniel Grunwald
a1a80b63c9
Fix StackOverflowException when subtyping does not terminate due to expansive inheritance.
14 years ago
Siegfried Pammer
02f19291eb
implement find references on local variables
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
Daniel Grunwald
9de8c14c02
Fixed resolving event declarations.
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