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
|
e213758ec7
|
Replace LazyInit.ReadBarrier() with LazyInit.VolatileRead().
|
14 years ago |
Daniel Grunwald
|
d338acc553
|
Fix icsharpcode/NRefactory#18: ResolveResult for object creation
|
14 years ago |
Daniel Grunwald
|
51bd4164fe
|
Correctly set OperatorResolveResult.IsLiftedOperator in more cases.
|
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
|
3df0cd3946
|
Make CSharpAstResolver and Conversions thread-safe.
|
14 years ago |
Daniel Grunwald
|
a731b9371e
|
Fix icsharpcode/NRefactory#19: OperatorResolveResult.IsLiftedOperator is false for lifted built-in operators.
|
14 years ago |
Daniel Grunwald
|
c6ae6c30ee
|
Script refactoring.
|
14 years ago |
Mike Krüger
|
de6870b067
|
Fixed completion unit test.
|
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
|
9f5f18eeb2
|
Fixed resolving "condition ? byte : 0".
|
14 years ago |
Daniel Grunwald
|
7971ad21f9
|
Check IType.Kind instead of using SpecialType.X.Equals().
|
14 years ago |
Daniel Grunwald
|
3d21a80e7d
|
Fixed the ResolveVisitor scanning logic and several related issues.
|
14 years ago |
Daniel Grunwald
|
a3ff017e9e
|
When a simple-name refers to an instance field in the current class, set TargetResult=new ThisResolveResult().
|
14 years ago |
Daniel Grunwald
|
b4003145b3
|
Add MethodGroupResolveResult.GetEligibleExtensionMethods() method.
|
14 years ago |
Daniel Grunwald
|
9fea0d07fe
|
Implemented eligibility check for extension methods.
|
14 years ago |
Daniel Grunwald
|
418f7090cb
|
Fixed resolving NamedExpressions in anonymous type creation expressions.
|
14 years ago |
Daniel Grunwald
|
040b841c3b
|
Fixed resolving equality and relational operators on nullable types.
|
14 years ago |
Daniel Grunwald
|
dac8c0fd35
|
Implement CSharpAstResolver.GetExpectedType() and CSharpAstResolver.GetConversion().
|
14 years ago |
Daniel Grunwald
|
54168d5c0f
|
Add nuspec.
Changed project settings to produce xml-doc and debug symbols in release configuration.
|
14 years ago |
Daniel Grunwald
|
942b4f70ef
|
Move ConversionResoleResult to ICSharpCode.NRefactory.Semantics.
Boxing conversion for attribute arguments is now used consistently in C# type system and Cecil-loaded type system.
|
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
|
b84c06e5b6
|
Make CSharpResolver immutable.
|
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
|
4d4f1f42b7
|
Fixed various resolver bugs.
|
14 years ago |
Daniel Grunwald
|
c4ce9344f0
|
Fixed bug when resolving base constructor calls.
|
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
|
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 |
Daniel Grunwald
|
54851a741f
|
C# Type System implementation
|
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
|
fd91bdccb2
|
Fixed resolving non-generic classes that are nested within generic classes.
|
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
|
9ddf9bc442
|
Combine C#-specific UnaryOperatorResolveResult/BinaryOperatorResolveResult and ConditionalOperatorResolveResult classes into a single language-independent OperatorResolveResult class.
|
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
|
b5b2408cbc
|
Move NRefactory.CSharp to separate assembly.
|
14 years ago |
Daniel Grunwald
|
e37dc4b6c7
|
Move ResolveResults to NR.Semantics
|
14 years ago |
Daniel Grunwald
|
611c310eb2
|
Change IConstantValue API to use ResolveResult.
|
14 years ago |
Daniel Grunwald
|
46676a45fb
|
Add GetInterestingFileNames to FindReferences.
Fixed a few resolver issues related to find references.
|
14 years ago |