Daniel Grunwald
da92bc45f2
Fix crash when serializing SimpleProjectContent.
...
Add failing unit test for an attribute section with two attributes.
14 years ago
Daniel Grunwald
12d7961e39
Add SerializationBinder-support to FastSerializer.
14 years ago
Daniel Grunwald
a5c93a38e4
Adjust resolver to object initializer AST changes.
14 years ago
Daniel Grunwald
36c412d310
Allow serializing SimpleProjectContent and parsed C# type references.
14 years ago
Daniel Grunwald
769c0ae2e0
Allow CecilProjectContent to be serialized. Add FastSerializer to NRefactory.Utils.
14 years ago
Mike Krüger
abbf9d661d
Used the namedexpression instead of assignment/namedargument
...
expressions.
14 years ago
Mike Krüger
3e99fabb2e
Fixed object create expression tests /remove named expression lists
...
(was an obsolete node).
I tried out the node, but choosed to go with namedexpression +
arrayinitializerexpression because it's semantically the same.
14 years ago
Mike Krüger
c373100923
Fixed ComplexCollectionInitializer tests.
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
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
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
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
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