Daniel Grunwald
ba484d5a93
[OverloadResolution] Don't use specialized parameters of indexers or non-generic methods within generic methods for "more specific formal parameter" check; always use the original parameters like we do with generic methods.
13 years ago
Daniel Grunwald
c1b2b13b5d
Ambiguous conversions don't cause overload resolution to pick a different overload.
13 years ago
Daniel Grunwald
c403f389b7
Move the fix for #94 into CSharpConversions.IsConstraintConvertible.
...
Also added a couple of additional unit tests for constraint validation.
13 years ago
erikkallen
a00495c22b
Test that demonstrates that a generic method cannot be invoked with a nullable type argument.
13 years ago
Daniel Grunwald
c3a31c9c81
Fix #92 : The resolver does not check type constraints on calls to generic methods
13 years ago
Daniel Grunwald
d6b4420940
Introduced NamedArgumentResolveResult.
13 years ago
Daniel Grunwald
9771b6db8f
Fix icsharpcode/NRefactory#33 : Determining if a ThisResolveResult represents this. or base.
14 years ago
Daniel Grunwald
8d0abbe870
Fix icsharpcode/NRefactory#30 : Target of extension method invocation
14 years ago
Daniel Grunwald
a6433d43f3
Do not try to infer a type from the null literal.
14 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
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
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.
14 years ago
Daniel Grunwald
ea3e312438
Implemented grouping overloads by declared type.
...
Return overrides in most-derived class (necessary for determining the correct parameter names/IsOptional value), but keep them in the group where the virtual/abstract base method was.
14 years ago
Daniel Grunwald
c9c204439f
Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter.
14 years ago
Daniel Grunwald
5c585e110b
Apply license header to unit tests.
...
Add parser unit tests for ObjectCreateExpression.
14 years ago
Daniel Grunwald
e51e3a95cb
Add InvocationResolveResult.
14 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
14 years ago
Daniel Grunwald
3b6fe6ff0d
Adjust resolver to AST changes and disable failing unit tests.
15 years ago
Daniel Grunwald
0a71f0911d
Added hack to support some simple type references.
15 years ago
Daniel Grunwald
a665e39680
Add lots of resolver unit tests.
15 years ago
Daniel Grunwald
b9f9caaa9c
Added some unit tests and fixed some bugs.
15 years ago
Daniel Grunwald
88b00cc33e
Added a few unit tests.
15 years ago