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
f86a014b9c
Put MIT license into the file headers.
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
b97543acb2
A few small API changes for NRefactory.
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
21d2121ae5
CecilLoader: add support for reading module attributes, security declarations and marshal information.
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
811784e303
Re-implemented IType.GetMembers() to avoid redundant specialization.
14 years ago
Daniel Grunwald
2ce741b35e
Keep ITextEditor in the IDE (comment out the copy in ICSharpCode.Editor)
14 years ago
Mike Krüger
3ba911830f
fixed bug where parameter is null.
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
96d1b7f08e
fixed check.
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
aceae1f758
implemented type parameter getmember methods.
14 years ago
Mike Krüger
5fad5f93e8
Added time stamp to parsed files.
14 years ago
Mike Krüger
26946f003a
Added DeclarationRegion property to IVariable.
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
5b92717241
Add GetMembers() to IType; add ParsedFiles to IProjectContent.
14 years ago
Daniel Grunwald
7fb7783d22
Make AbstractAnnotatable implement IAnnotatable.
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
b40610dcb6
Simplify nested synchronization of CompositeTypeResolveContext.
14 years ago
Mike Krüger
484c586706
Added easy accessible acceess members.
14 years ago
Mike Krüger
a883a3ddf6
Added constructors that take an error location/added file header.
14 years ago
Mike Krüger
77d54ee040
added some constructors.
14 years ago
Mike Krüger
93b3ebf41a
Implemented type system -> cecil object table.
14 years ago
Mike Krüger
6a85f0c50c
Renamed GetClass-> GetTypeDefinition;
14 years ago
Mike Krüger
abec11857e
fix build.
14 years ago
Mike Krüger
c6aa05d35d
Addded GetSubTypeDefinitions method.
...
That's like a routine we had in the old MD dom - it's used for example
for finding all exceptions in an assembly.
14 years ago
Mike Krüger
b7fc89cb97
added header.
14 years ago
Mike Krüger
0cb2388538
Separated the annotations from the ast node & added annotations to the
...
project content.
14 years ago
Mike Krüger
af5e2c6b0e
Added extension method GetMembers on IType.
14 years ago
Mike Krüger
9d21d1c705
Renamed GetClasses -> GetTypes. (GetClasess can give enums, structs &
...
delegates too).
14 years ago
Mike Krüger
51f924f752
Renamed ITypeDefinition.InnerClasses -> NestedTypes (for more
...
consistency with IType.GetNestedTypes
14 years ago
Mike Krüger
224f97373a
Revert "Moved class type to IType / added type parameter class type for type"
...
This reverts commit ba335edeb6
.
14 years ago
Mike Krüger
ba335edeb6
Moved class type to IType / added type parameter class type for type
...
parameters.
14 years ago
Mike Krüger
aa42b1b74b
Added error storage to IParsedFile.
14 years ago
Mike Krüger
bae8765cad
Added AstLocation Begin/End properties.
14 years ago
Mike Krüger
9bc76cf08d
Added naive remove type definition.
...
This won't work for partial types.
14 years ago
Mike Krüger
1ae1b17ea5
Added gettype/member extension methods that are working on a
...
line/column pair.
14 years ago
Daniel Grunwald
94b4130aa9
Add IParsedFile to type system.
14 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
14 years ago
Daniel Grunwald
26986f9569
Make sure NamespaceEntry.ClassCount stays consistent with the ordinal typeDict at all times, even when there are name clashes in one of the non-ordinal dictionaries.
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