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
Daniel Grunwald
42bc87ba02
Change ResolveVisitor to report the location of conversions.
14 years ago
Daniel Grunwald
4cc64bb9b8
Fixed resolving LINQ group joins.
14 years ago
Daniel Grunwald
f807e6166f
TypeSystemAstBuilder: when a type reference cannot be resolved but is a C# type reference, output the original C# code that was used to created the type reference.
14 years ago
Daniel Grunwald
8a05ada508
Don't keep the per-using scope and per-type definiton caches around longer than necessary.
14 years ago
Daniel Grunwald
ecdf195bde
Cache simple name lookups more aggressively.
14 years ago
Daniel Grunwald
47eb18363e
Reuse Conversions instance across multiple files by storing it in the CacheManager.
14 years ago
Daniel Grunwald
82fad4ef64
Use 'UsingScopeCache' instance for caching the extension methods.
14 years ago
Daniel Grunwald
2be1569cc7
Add cache for implicit conversions for 25% performance boost.
...
Also did some improvements to interning.
14 years ago
Daniel Grunwald
3fdf0ee6c6
Implemented resolver for LINQ queries.
14 years ago
Daniel Grunwald
9d0e6ae0f8
Resolver: added support for collection initializers and nested object initializers.
14 years ago
Daniel Grunwald
a5c93a38e4
Adjust resolver to object initializer AST changes.
14 years ago
Daniel Grunwald
06b143bea6
Member lookup: Fix IsAccessible bug for protected static members.
...
Make CSharpResolver.ResolveMemberType() return a non-parameterized type when all type arguments are UnboundTypeArgument.
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
7a2c59ae4a
Add GetMemberOptions.
14 years ago
Daniel Grunwald
f79b0a77f3
Resolver: array create expressions
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
a1f613e274
ResolveVisitor: skip tokens and comments
...
Make the resolver's debug output more readable.
14 years ago