Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
14 years ago
Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
14 years ago
Mike Krüger
8e78ca4d3c
Use path combine.
14 years ago
Mike Krüger
447558f2c0
Fixed parser test set up for non windows systems.
14 years ago
Daniel Grunwald
611c310eb2
Change IConstantValue API to use ResolveResult.
14 years ago
Mike Krüger
e7d9bf64e4
Fixed attribute section tests.
14 years ago
Mike Krüger
02fe3e32e5
Fixed array create expression tests.
14 years ago
Daniel Grunwald
a06110c255
Rename ParsedFile to CSharpParsedFile.
14 years ago
Daniel Grunwald
8885484971
Add IndexOf() method to ITextSource.
14 years ago
Daniel Grunwald
4cc64bb9b8
Fixed resolving LINQ group joins.
14 years ago
Daniel Grunwald
5b17740bea
Use explicit interface implementation in ResolveVisitor to make it clear what the public API is supposed to be.
...
Added support for QueryJoinClause and QueryOrderClause to the resolver.
14 years ago
Daniel Grunwald
33abc64eec
Replace AstNode.GetResolvableNodeAt() with the ResolveAtLocation helper class.
14 years ago
Daniel Grunwald
a93fd14efb
Adjust unit tests and fix bugs introduced by caching.
14 years ago
Daniel Grunwald
3fdf0ee6c6
Implemented resolver for LINQ queries.
14 years ago
Daniel Grunwald
fb8d152fcf
Fixed deserialization of XmlDocumentationProvider.
14 years ago
Daniel Grunwald
b1804fd9df
Add position-checking unit test to NRefactory.
14 years ago
Daniel Grunwald
9d0e6ae0f8
Resolver: added support for collection initializers and nested object initializers.
14 years ago
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
89ba05f335
C# calls indexers "Item", not "Items".
14 years ago
Daniel Grunwald
7a9bb563ab
InsertParenthesesVisitor: insert parenthesis in "(new int[1])[0]"
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