Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
15 years ago
Daniel Grunwald
611c310eb2
Change IConstantValue API to use ResolveResult.
15 years ago
Daniel Grunwald
46676a45fb
Add GetInterestingFileNames to FindReferences.
...
Fixed a few resolver issues related to find references.
15 years ago
Daniel Grunwald
42bc87ba02
Change ResolveVisitor to report the location of conversions.
15 years ago
Daniel Grunwald
4cc64bb9b8
Fixed resolving LINQ group joins.
15 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.
15 years ago
Daniel Grunwald
8a05ada508
Don't keep the per-using scope and per-type definiton caches around longer than necessary.
15 years ago
Daniel Grunwald
ecdf195bde
Cache simple name lookups more aggressively.
15 years ago
Daniel Grunwald
47eb18363e
Reuse Conversions instance across multiple files by storing it in the CacheManager.
15 years ago
Daniel Grunwald
82fad4ef64
Use 'UsingScopeCache' instance for caching the extension methods.
15 years ago
Daniel Grunwald
2be1569cc7
Add cache for implicit conversions for 25% performance boost.
...
Also did some improvements to interning.
15 years ago
Daniel Grunwald
3fdf0ee6c6
Implemented resolver for LINQ queries.
15 years ago
Daniel Grunwald
9d0e6ae0f8
Resolver: added support for collection initializers and nested object initializers.
15 years ago
Daniel Grunwald
a5c93a38e4
Adjust resolver to object initializer AST changes.
15 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.
15 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.
15 years ago
Daniel Grunwald
7a2c59ae4a
Add GetMemberOptions.
15 years ago
Daniel Grunwald
f79b0a77f3
Resolver: array create expressions
15 years ago
Daniel Grunwald
c9c204439f
Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter.
15 years ago
Daniel Grunwald
a1f613e274
ResolveVisitor: skip tokens and comments
...
Make the resolver's debug output more readable.
15 years ago
Daniel Grunwald
b52a348373
More work on lambda expressions.
15 years ago
Daniel Grunwald
cd99dce77b
Fix bugs caused by the introduction of user-defined operators.
15 years ago
Daniel Grunwald
43b5897b21
Add support for user-defined operators.
15 years ago
Daniel Grunwald
37626e1bc7
Expose conversions as part of the ResolveResult.
15 years ago
Daniel Grunwald
f86a014b9c
Put MIT license into the file headers.
15 years ago
Daniel Grunwald
e51e3a95cb
Add InvocationResolveResult.
15 years ago
Daniel Grunwald
d59fd2bc56
C# Resolver: preparations for lambda support
15 years ago
Daniel Grunwald
18fb49ca7c
Add TypeKind enum.
15 years ago
Daniel Grunwald
bb2f93a24b
NRefactory bug fixes:
...
- Use IType.Equals() instead of == operator
- Change handling of partially parameterized types in IType.GetNestedTypes so that we don't leak type parameters from the wrong context
- Add support for unbound types to C# resolver (e.g. in attribute arguments)
- C# Parser: preserve variance modifier
- Ensure all interface members are marked as 'abstract'
- Add support for [TypeForwardedTo] and [ComImport] to CecilLoader.
15 years ago
Mike Krüger
ef0d911945
Revert "Implemented user defined operator candidates."
...
This reverts commit 9165dfed85 .
15 years ago
Mike Krüger
9165dfed85
Implemented user defined operator candidates.
15 years ago
Mike Krüger
26946f003a
Added DeclarationRegion property to IVariable.
15 years ago
Mike Krüger
694f3730aa
fix infinite loop.
15 years ago
Daniel Grunwald
daf0f21607
Fixed some bugs related to conversions of type parameters.
15 years ago
Mike Krüger
484c586706
Added easy accessible acceess members.
15 years ago
Mike Krüger
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
15 years ago
Mike Krüger
9d21d1c705
Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs &
...
delegates too).
15 years ago
Mike Krüger
bd4fb10522
Added cenecllationtoken work around.
...
Mono crashes on default cancellation token.
15 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
15 years ago
Daniel Grunwald
fb57f7d545
Fixed several issues in the type system convert visitor.
15 years ago
Daniel Grunwald
eb24135e41
Implemented IConstantValue for C#.
...
Fixed bugs when resolving conditional expressions.
15 years ago
Daniel Grunwald
b22b3ec56f
C# OutputVisitor: improve indentation of query expressions
15 years ago
Daniel Grunwald
ccfd4ea12c
Evaluate constant expressions in definite assignment analysis.
15 years ago
Daniel Grunwald
41b4385d7c
Port NRefactory to .NET 3.5.
15 years ago
Daniel Grunwald
3b6fe6ff0d
Adjust resolver to AST changes and disable failing unit tests.
15 years ago
Daniel Grunwald
a24999d720
Add InsertParenthesesVisitor
15 years ago
Daniel Grunwald
f7b16a70fb
Implemented support for extension methods.
15 years ago
Daniel Grunwald
0a71f0911d
Added hack to support some simple type references.
15 years ago
Daniel Grunwald
eaee5bf5ee
Use static instances on KnownTypeReference for the built-in C# types.
15 years ago
Daniel Grunwald
3ae0b71496
Renamed VariableResolveResult to LocalResolveResult and added some unit tests.
15 years ago