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
e17ba7462a
Add unit tests for TypeSystemAstBuilder.
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
89ba05f335
C# calls indexers "Item", not "Items".
14 years ago
Daniel Grunwald
fa6afb250a
Fix ResolveVisitor.VisitArrayCreateExpression.
14 years ago
Daniel Grunwald
97d096414b
Fixed GetDelegateInvokeMethod() for parameterized types.
...
Fixed copy constructor of DefaultMethod.
Fixed handling of "class" constraint in CecilLoader.
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
3685f491b9
Fixed TypeSystemConvertVisitor for read-only properties.
...
Added some attribute parser tests.
14 years ago
Mike Krüger
0398fd691a
Fixed 'GlobalAttributeCSharp' test.
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
07e2896356
Make InsertParenthesesVisitorTests independent from indentation of the output.
14 years ago
Daniel Grunwald
fb57f7d545
Fixed several issues in the type system convert visitor.
14 years ago
Mike Krüger
42717c9b0c
fix missing method.
14 years ago
Mike Krüger
280b79b8c8
Fixed return type tokens
14 years ago
Daniel Grunwald
344476efbb
Fix contracts.
15 years ago
Daniel Grunwald
e1ac50d734
Implemented C# attributes.
15 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
43e33f88c0
Fixed InsertParenthesesVisitor for casts of negative primitive expressions.
15 years ago
Daniel Grunwald
f30490c2a5
Add some parser unit tests.
15 years ago
Daniel Grunwald
90542d2ea2
Fix parsing of query continuations for queries with multiple from clauses.
15 years ago
Mike Krüger
ccd06a496c
Fixed query expression tests.
...
Had to add a new node type: AnonymousTypeCreateExpression.
15 years ago
Daniel Grunwald
d4eaffbb42
Make pattern matching AST independent from C# AST.
15 years ago
Daniel Grunwald
e8d472ba89
Rename FixedVariableInitializer.Initializer to CountExpression (this makes it consistent with StackAllocExpression).
15 years ago
Mike Krüger
16715bb854
Renamed CSharpFormattingPolicy to CSharpFormattingOptions.
15 years ago
Mike Krüger
92df3e5640
Fixed some TypeReferenceExpression tests.
15 years ago
Mike Krüger
f4450d1fbd
Fixed some invocation expression tests.
15 years ago
Mike Krüger
42463a4e0c
Fixed unit test TestIdentifierContainingEscapeSequence.
15 years ago
Mike Krüger
021a9fbc70
Fixed typeofexpression tests.
15 years ago