Daniel Grunwald
585ae50c2f
CSharpAstResolver: don't return the same ResolveResult for two different nodes.
...
(make clones when using caches)
Closes icsharpcode/NRefactory#46 .
14 years ago
Mike Krüger
fbc1cfd0c9
Fixed some failing unit tests.
14 years ago
Erik Källén
0fec8d3474
Failing test that demonstrates that explicit user-defined conversions don't work.
14 years ago
Erik Källén
1363faf788
Tests demonstrating issues with parameter identity in accessors.
14 years ago
erikkallen
74adaba0e5
Test demonstrating problem with nesting anonymous objects.
14 years ago
Mike Krüger
293af2e2c9
[Resolver] Fixed resolve at location bug.
14 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
14 years ago
Mike Krüger
1ade7c4996
[Resolver] Fixed using statement.
14 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
Mike Krüger
3ae2fe73c0
The formatting visitor is now using an easier visitor pattern.
14 years ago
Daniel Grunwald
cfe807ab73
Fix "find references" for method group conversions in delegate creation expressions "new Action(MyMethod)"
14 years ago
Daniel Grunwald
9859dce24f
Improve ResolveAtLocation.
14 years ago
Daniel Grunwald
a7245affe6
Fixed finding references to method group conversions.
14 years ago
Daniel Grunwald
e5217c2c13
Fixed bug in 'BetterConversion' implementation - converting to Func<> delegates is better than converting to Action<> delegates.
14 years ago
Daniel Grunwald
46254b3b0d
Add support for resolving "operator true".
14 years ago
Daniel Grunwald
77ea4dae30
Report more types of invalid equality comparisons as errors.
...
Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda.
14 years ago
Daniel Grunwald
bb822e94d4
Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace.
...
Fixed increment operator on System.Char.
14 years ago
Daniel Grunwald
f3541d4747
Fixed accessing protected members through type parameters.
14 years ago