Daniel Grunwald
5c585e110b
Apply license header to unit tests.
...
Add parser unit tests for ObjectCreateExpression.
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
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
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
7e708a653d
Worked on ast formatter tests.
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
dd4f73b314
Fixed bug in inner type result.
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
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
7e29f61da6
Fix build (however formatting tests will fail).
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
eb24135e41
Implemented IConstantValue for C#.
...
Fixed bugs when resolving conditional expressions.
15 years ago
Daniel Grunwald
b8330bebd6
Remove parent pointer from ITypeParameter and enable sharing type parameters.
15 years ago
Daniel Grunwald
f30490c2a5
Add some parser unit tests.
15 years ago
Daniel Grunwald
d022808047
Fixed parsing of enum member declarations.
15 years ago
Mike Krüger
749f5a885e
Updated parser & mcs.
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
6df268a693
Introduce IAstVisitor interface.
15 years ago
Daniel Grunwald
bf49569c22
Rename Dom->Ast.
15 years ago
Daniel Grunwald
f7b16a70fb
Implemented support for extension methods.
15 years ago
Daniel Grunwald
9e42e6b6f4
Enable some unit tests that work with the type reference hack.
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
a665e39680
Add lots of resolver unit tests.
15 years ago
Daniel Grunwald
3ae0b71496
Renamed VariableResolveResult to LocalResolveResult and added some unit tests.
15 years ago
Daniel Grunwald
b9f9caaa9c
Added some unit tests and fixed some bugs.
15 years ago
Daniel Grunwald
88b00cc33e
Added a few unit tests.
15 years ago
Daniel Grunwald
b35f1f247c
Handle 'a::b' as MemberType (move aliases out of SimpleType).
15 years ago
Daniel Grunwald
7e530a90ac
Fixed some bugs; added support for type references to TypeSystemConvertVisitor.
15 years ago
Daniel Grunwald
b0a6e1817e
Allow support primitive types in FindTypeInBounds()
...
This is done by first running the C# spec algorithm for "FindTypeInBounds" before trying the improved algorithm.
15 years ago
Daniel Grunwald
68450c3f95
Worked on improved type inference implementation.
15 years ago
Daniel Grunwald
f0fdcc8698
Work on improved type inference.
15 years ago
Daniel Grunwald
3bcab64569
Type inference stuff
15 years ago
Mike Krüger
396c2b3931
Updated AST & mcs.
15 years ago