Daniel Grunwald
a1f613e274
ResolveVisitor: skip tokens and comments
...
Make the resolver's debug output more readable.
14 years ago
Daniel Grunwald
4372b610ee
Fixed lambda type inference for nested (curried) lambdas.
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
8c8caf76f6
Implemented type inference for implicitly typed lambdas.
14 years ago
Daniel Grunwald
6792a0c76a
Report which kind of conversion was found.
14 years ago
Daniel Grunwald
d59fd2bc56
C# Resolver: preparations for lambda support
14 years ago
Daniel Grunwald
a9a6e1680d
Add ID string provider + a few resolver bugfixes
14 years ago
Daniel Grunwald
77c7d08b9a
Implemented disambiguation for identical simple names and type names. (e.g. "public Color Color;")
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
Daniel Grunwald
fa6afb250a
Fix ResolveVisitor.VisitArrayCreateExpression.
14 years ago
Mike Krüger
3d5b2842a8
fixed bug in anonymous array create expression resolving.
14 years ago
Mike Krüger
04ecdd7bfd
Added support for anonymous arrays.
14 years ago
Mike Krüger
0a9b6c744d
Implemented simple array create expression resolving.
14 years ago
Mike Krüger
3be8d6cd91
Fixed bug with GetElementType.
...
ArrayType yields System.Collections.IEnumerable as base type before
the more specific System.Colloctions.Generic.IEnumerable.
14 years ago
Mike Krüger
79b9582964
Fixed failing attribute unit tests.
14 years ago
Mike Krüger
a11458e203
Worked on attribute resolving.
...
Some tests fail because of wrongly loaded classes in my system.
Daniel: Can you check the constructor attribute cases. I think
something doesn't work in the Cecil loader on my system. I only get 1
empty constructor for LoaderOptimization & the name on my system is
.ctor instead of #ctor.
14 years ago
Mike Krüger
cf8a4120d4
Use equals.
14 years ago
Mike Krüger
5c398f2698
fixed return types of anonymous type properties.
...
Re-used the var type reference for that.
14 years ago
Mike Krüger
c458e0603d
Implemented anonymous types.
14 years ago
Daniel Grunwald
fa55d149d5
Fix adding assembly attributes to SimpleProjectContent.
...
Fixed MemberLookup.IsInvocable().
Add (ignored) unit tests for user-defined binary operators.
14 years ago
Mike Krüger
b36846581b
fixed bug.
14 years ago
Mike Krüger
dd4f73b314
Fixed bug in inner type result.
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
6199ee3ba8
checked outer classes for aceessibility private check.
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
Daniel Grunwald
5ae4d6070a
Conversions: add support for user-defined implicit conversions.
14 years ago
Daniel Grunwald
7615720130
ResolveVisitor: Handle type arguments on IdentifierExpression and MemberReferenceExpression.
...
Add support for PointerReferenceExpression.
14 years ago
Daniel Grunwald
3435eec015
Add ResolveVisitor.GetResolverStateBefore(AstNode).
14 years ago
Daniel Grunwald
5b92717241
Add GetMembers() to IType; add ParsedFiles to IProjectContent.
14 years ago
Daniel Grunwald
c9d4a5d0c9
Rename ITypeResolveContext extension methods to be consistent with the new names of the ITypeResolveContext methods.
14 years ago
Daniel Grunwald
350ebaad8c
Fixed NullReferenceException in type inference when passing a "string[]" for a parameter of type "IEnumerable<T>".
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
51f924f752
Renamed ITypeDefinition.InnerClasses -> NestedTypes (for more
...
consistency with IType.GetNestedTypes
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
1c51b3ab05
Type storage: Fixed handling of namespaces that have sub-namespaces but do not directly contain classes.
14 years ago
Daniel Grunwald
fb57f7d545
Fixed several issues in the type system convert visitor.
14 years ago
Daniel Grunwald
9a35ee4404
Applied some of the optimizations suggested by Kris Vandermotten. #150
14 years ago
Daniel Grunwald
5d83bea67f
C# type system convert visitor: add support for attribute arguments.
15 years ago