Mike Krüger
d683689d05
added serializable attributes.
15 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
15 years ago
Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
15 years ago
Daniel Grunwald
611c310eb2
Change IConstantValue API to use ResolveResult.
15 years ago
Daniel Grunwald
ea42e6354b
Fix bug that caused the wrong part to be removed from a compound class.
15 years ago
Daniel Grunwald
bb0311375c
Allow recursive synchronization (e.g. for calling GetTypes() on a single project content while a composite project content is synchronized)
15 years ago
Daniel Grunwald
46676a45fb
Add GetInterestingFileNames to FindReferences.
...
Fixed a few resolver issues related to find references.
15 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.
15 years ago
Daniel Grunwald
f807e6166f
TypeSystemAstBuilder: when a type reference cannot be resolved but is a C# type reference, output the original C# code that was used to created the type reference.
15 years ago
Daniel Grunwald
a93fd14efb
Adjust unit tests and fix bugs introduced by caching.
15 years ago
Daniel Grunwald
2b3d66998b
Add ITypeResolveContext.GetKnownTypeDefinition() for efficiently retrieving built-in types.
15 years ago
Daniel Grunwald
2be1569cc7
Add cache for implicit conversions for 25% performance boost.
...
Also did some improvements to interning.
15 years ago
Daniel Grunwald
391a6bc8b7
Cache resolved SimpleTypeOrNamespaceReference/MemberTypeOrNamespaceReference, and intern those references.
15 years ago
Daniel Grunwald
3fdf0ee6c6
Implemented resolver for LINQ queries.
15 years ago
Daniel Grunwald
3bbc3f6b6d
Fixed NullReferenceException in MethodGroupResolveResult.ResolveInvocation().
...
Implemented resolving local variables that are declared as 'const'.
15 years ago
Daniel Grunwald
f7fe2272fe
Add AssemblyName to IProjectContent.
15 years ago
Daniel Grunwald
36c412d310
Allow serializing SimpleProjectContent and parsed C# type references.
15 years ago
Daniel Grunwald
769c0ae2e0
Allow CecilProjectContent to be serialized. Add FastSerializer to NRefactory.Utils.
15 years ago
Daniel Grunwald
c76dd64fcb
WIP
15 years ago
Daniel Grunwald
59c4e5c28b
WIP: new NRefactory
...
ICSharpCode.SharpDevelop.dll now compiles again, though with tons of commented-out code.
Most AddIns removed from solution, and still plenty of compiler errors left in the remaining AddIns.
15 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.
15 years ago
Daniel Grunwald
7a2c59ae4a
Add GetMemberOptions.
15 years ago
Daniel Grunwald
69ae15aee3
Add support for partial classes.
15 years ago
Daniel Grunwald
c9c204439f
Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter.
15 years ago
Daniel Grunwald
43b5897b21
Add support for user-defined operators.
15 years ago
Daniel Grunwald
37626e1bc7
Expose conversions as part of the ResolveResult.
15 years ago
Daniel Grunwald
f86a014b9c
Put MIT license into the file headers.
15 years ago
Daniel Grunwald
6792a0c76a
Report which kind of conversion was found.
15 years ago
Daniel Grunwald
d59fd2bc56
C# Resolver: preparations for lambda support
15 years ago
Daniel Grunwald
e17ba7462a
Add unit tests for TypeSystemAstBuilder.
15 years ago
Daniel Grunwald
b97543acb2
A few small API changes for NRefactory.
15 years ago
Daniel Grunwald
a9a6e1680d
Add ID string provider + a few resolver bugfixes
15 years ago
Daniel Grunwald
77c7d08b9a
Implemented disambiguation for identical simple names and type names. (e.g. "public Color Color;")
15 years ago
Daniel Grunwald
21d2121ae5
CecilLoader: add support for reading module attributes, security declarations and marshal information.
15 years ago
Daniel Grunwald
18fb49ca7c
Add TypeKind enum.
15 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.
15 years ago
Daniel Grunwald
811784e303
Re-implemented IType.GetMembers() to avoid redundant specialization.
15 years ago
Daniel Grunwald
2ce741b35e
Keep ITextEditor in the IDE (comment out the copy in ICSharpCode.Editor)
15 years ago
Mike Krüger
3ba911830f
fixed bug where parameter is null.
15 years ago
Daniel Grunwald
fa6afb250a
Fix ResolveVisitor.VisitArrayCreateExpression.
15 years ago
Daniel Grunwald
97d096414b
Fixed GetDelegateInvokeMethod() for parameterized types.
...
Fixed copy constructor of DefaultMethod.
Fixed handling of "class" constraint in CecilLoader.
15 years ago
Mike Krüger
96d1b7f08e
fixed check.
15 years ago
Daniel Grunwald
fa55d149d5
Fix adding assembly attributes to SimpleProjectContent.
...
Fixed MemberLookup.IsInvocable().
Add (ignored) unit tests for user-defined binary operators.
15 years ago
Mike Krüger
aceae1f758
implemented type parameter getmember methods.
15 years ago
Mike Krüger
5fad5f93e8
Added time stamp to parsed files.
15 years ago
Mike Krüger
26946f003a
Added DeclarationRegion property to IVariable.
15 years ago
Daniel Grunwald
daf0f21607
Fixed some bugs related to conversions of type parameters.
15 years ago
Daniel Grunwald
5ae4d6070a
Conversions: add support for user-defined implicit conversions.
15 years ago
Daniel Grunwald
5b92717241
Add GetMembers() to IType; add ParsedFiles to IProjectContent.
15 years ago
Daniel Grunwald
7fb7783d22
Make AbstractAnnotatable implement IAnnotatable.
15 years ago