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
Daniel Grunwald
b52a348373
More work on lambda expressions.
14 years ago
Daniel Grunwald
cd99dce77b
Fix bugs caused by the introduction of user-defined operators.
14 years ago
Daniel Grunwald
43b5897b21
Add support for user-defined operators.
14 years ago
Daniel Grunwald
37626e1bc7
Expose conversions as part of the ResolveResult.
14 years ago
Daniel Grunwald
f86a014b9c
Put MIT license into the file headers.
14 years ago
Daniel Grunwald
e51e3a95cb
Add InvocationResolveResult.
14 years ago
Daniel Grunwald
d59fd2bc56
C# Resolver: preparations for lambda support
14 years ago
Daniel Grunwald
18fb49ca7c
Add TypeKind enum.
14 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.
14 years ago
Mike Krüger
ef0d911945
Revert "Implemented user defined operator candidates."
...
This reverts commit 9165dfed85
.
14 years ago
Mike Krüger
9165dfed85
Implemented user defined operator candidates.
14 years ago
Mike Krüger
26946f003a
Added DeclarationRegion property to IVariable.
14 years ago
Mike Krüger
694f3730aa
fix infinite loop.
14 years ago
Daniel Grunwald
daf0f21607
Fixed some bugs related to conversions of type parameters.
14 years ago
Mike Krüger
484c586706
Added easy accessible acceess members.
14 years ago
Mike Krüger
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
14 years ago
Mike Krüger
9d21d1c705
Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs &
...
delegates too).
14 years ago
Mike Krüger
bd4fb10522
Added cenecllationtoken work around.
...
Mono crashes on default cancellation token.
14 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
14 years ago
Daniel Grunwald
fb57f7d545
Fixed several issues in the type system convert visitor.
14 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