Daniel Grunwald
ed0e4c5197
Fixed conversions from "dynamic" - these only exist from expressions, not from the type (this was causing subtle issues with type inference).
13 years ago
Daniel Grunwald
5592e889ab
Fixed bug when passing an extension method as a method group to a generic function.
13 years ago
Daniel Grunwald
cc35fcc606
Revert f01a4b2
and 58c4ec8
.
...
Fixed small issue in CSharpResolver.GetExtensionMethods: when type parameters are provided explicitly, use the specialized method for the eligibility check.
13 years ago
Mike Krüger
58c4ec8010
[Resolver] Fixed type inference use case.
...
Daniel: The fix may not be correct - it's hard to tell which side
effects that change will cause.
13 years ago
Simon Lindgren
4acb9b8ff6
[Resolver] Don't check the location of value parameters in accessors.
...
(Revert remaining parts of revision e60567ab86
)
13 years ago
Daniel Grunwald
e62a04692b
Fixed resolving compile-time operations on enum types with an underlying type smaller than int. (always use unchecked context for the cast back to enum)
13 years ago
Daniel Grunwald
459a2ef9f5
Fixed bug resolving indexer parameter declarations (was introduced with #66 [ 9476183
]).
13 years ago
Erik Källén
0bf9891a8e
ResolveResults for dynamic expressions
13 years ago
Daniel Grunwald
585ae50c2f
CSharpAstResolver: don't return the same ResolveResult for two different nodes.
...
(make clones when using caches)
Closes icsharpcode/NRefactory#46 .
13 years ago
Mike Krüger
fbc1cfd0c9
Fixed some failing unit tests.
13 years ago
Erik Källén
0fec8d3474
Failing test that demonstrates that explicit user-defined conversions don't work.
13 years ago
Erik Källén
1363faf788
Tests demonstrating issues with parameter identity in accessors.
13 years ago
erikkallen
74adaba0e5
Test demonstrating problem with nesting anonymous objects.
13 years ago
Simon Lindgren
e60567ab86
[Resolver] Give the value parameter a domregion close to the setter or adder.
...
Previously the value parameters were given the start and end location (0, 0) which was problematic for the
FindReferences class which uses this information to decide if two variables are the same when finding references.
13 years ago
Mike Krüger
293af2e2c9
[Resolver] Fixed resolve at location bug.
13 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
13 years ago
Mike Krüger
1ade7c4996
[Resolver] Fixed using statement.
13 years ago
Daniel Grunwald
4fe7c72b16
Fixed context for determining accessibility of protected inner classes when resolving a base type reference (NameLookupTests.InheritFromProtectedInnerClassTest)
14 years ago
Mike Krüger
f7fb29804d
Implemented better solution for the array initializer workaround hack.
14 years ago
Mike Krüger
121c786499
Removed duplicate unit test.
14 years ago
Mike Krüger
f5b7f574b3
[UnitTest] Added failing unit test.
14 years ago
Mike Krüger
89be9aad27
[UnitTest] Enabled broken unit test.
14 years ago
Mike Krüger
7a69c6544b
Fixed Issue #38 : Parser Regression in ObjectCreate initialization
14 years ago
Mike Krüger
ef726be8c9
[UnitTests] Disabled broken tests.
14 years ago
Mike Krüger
0581a41bf2
Ignored failing unit test.
14 years ago
Mike Krüger
2eb61acc51
Added failing unit test.
...
I assume that the problem is that B has a inner lass B.Foo - sicne it
works when Foobar inherits just from 'Foo'.
14 years ago
Daniel Grunwald
4f47170535
Fixed type inference bug introduced in 2e40a34
- array covariance was ignored.
14 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
d4dd1648e8
Implemented the new options for overridden members in FindReferences.
14 years ago
Daniel Grunwald
2e40a3483b
FindReferences: API idea for new options
14 years ago
Daniel Grunwald
777be39cca
Rewrite of the substitution logic in SpecializedMember.
...
Specializing an already-specialized member now produces the same result as performing the two specializations in a single step.
14 years ago
Daniel Grunwald
d338acc553
Fix icsharpcode/NRefactory#18 : ResolveResult for object creation
14 years ago
Daniel Grunwald
ab024b9ddc
Fix icsharpcode/NRefactory#28 : Identity of lambda parameters
...
Revert change regarding TypeDeclaration.ClassType; using derived nested classes / factory methods is inconsistent API with all other AST nodes.
If we want to save that bit of memory, we could store ClassType in the flags instead (there's about 20 bits free), although I think it won't matter since TypeDeclaration is a relatively rare node.
14 years ago
Daniel Grunwald
f74bf908bc
Make AstNode freezable.
14 years ago
Daniel Grunwald
55f858efb2
Fix icsharpcode/NRefactory#26 : Static methods are reported as having "this" as the target
14 years ago
Daniel Grunwald
c27f57f4a1
Fix icsharpcode/NRefactory#25 : OperatorResolveResult.IsLiftedOperator for unary operators
14 years ago
Daniel Grunwald
b491ea85c3
Rename Conversions to CSharpConversions.
14 years ago
Daniel Grunwald
cf331bb4af
Fixed resolving partial method definitions.
14 years ago
Daniel Grunwald
24d2d195f9
Use specialized method for MethodGroupConversion. icsharpcode/NRefactory#21
14 years ago
Daniel Grunwald
a731b9371e
Fix icsharpcode/NRefactory#19 : OperatorResolveResult.IsLiftedOperator is false for lifted built-in operators.
14 years ago
Mike Krüger
cbd5a4672d
Enabled working unit test.
14 years ago
Mike Krüger
12c0472ece
Fixed incorrect parser positions in FixedStatement test.
14 years ago
Mike Krüger
5a9d33f74b
Fixed attribute empty arglist parens.
14 years ago
Mike Krüger
f1fa0e0526
Enabled working unit test.
14 years ago
Mike Krüger
d6d1f08492
Fixed ignored unit test.
14 years ago
Daniel Grunwald
3e7244197c
Fix icsharpcode/NRefactory#16 : Resolve the GetEnumerator call inside a foreach
14 years ago
mike
b13dad1436
Resolve visitor change: If the type of an object create expression
...
can't be resolved give back the type resolution failure.
This is required to tell why the object creation couldn't be resolved.
14 years ago
Daniel Grunwald
b416f38f78
CSharpAmbience: allow passing in a custom IOutputFormatter.
14 years ago
Daniel Grunwald
e8f092892b
Add support for calling constructors on COM interfaces.
14 years ago