Daniel Grunwald
bfafe8b117
Fixed handling of constants in OverloadResolution.GetArgumentsWithConversions().
...
This fixes IAttribute.PositionalArguments when implicit numeric conversions are involved.
14 years ago
Daniel Grunwald
9af3c040f2
Fixed resolving compound assignment operators.
14 years ago
Mike Krüger
969223aade
Added a method to get all extension methods on a specified type.
14 years ago
Daniel Grunwald
f70a726495
Fixed resolving "-2147483648".
14 years ago
Daniel Grunwald
f1a1ab32ad
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
14 years ago
Daniel Grunwald
93a5c13825
FindReferences: add support for searching in a different compilation than the entity is defined in.
14 years ago
Daniel Grunwald
b84c06e5b6
Make CSharpResolver immutable.
14 years ago
Mike Krüger
fa5ec27072
Resolve object create expression, if the parent is one.
...
That causes a jump/tooltip for the constructor rather than the class
on a object create expression.
14 years ago
Mike Krüger
d7d9a55a5b
Added mono compiler bug workaround.
14 years ago
Daniel Grunwald
1467ce3b5b
Fixed accessibility check for protected members in outer classes.
14 years ago
Daniel Grunwald
f410a2b5d5
Enum members are implicitly cast to the underlying type when used in an enum member initializer.
14 years ago
Daniel Grunwald
a9c743c0ec
Fixed type inference for "condition ? someEnum : 0"
14 years ago
Daniel Grunwald
42ce4ca6e1
Fixed type inference in foreach when the collection type does not implement IEnumerable.
14 years ago
Daniel Grunwald
a6433d43f3
Do not try to infer a type from the null literal.
14 years ago
Daniel Grunwald
b0b9942522
Add ISolutionSnapshot for creating compilations for multiple projects from a single consistent snapshot.
14 years ago
Daniel Grunwald
7e95cb7446
Add CSharpAstResolver.GetResolverStateBefore
14 years ago
Daniel Grunwald
4d4f1f42b7
Fixed various resolver bugs.
14 years ago
Daniel Grunwald
c4ce9344f0
Fixed bug when resolving base constructor calls.
14 years ago
Daniel Grunwald
0b263b0b74
TypeSystemConvertVisitor: implemented ConvertInterfaceImplementation for methods and properties.
...
Implemented 'goto case' support in control flow analysis.
14 years ago
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
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