Daniel Grunwald
5c585e110b
Apply license header to unit tests.
...
Add parser unit tests for ObjectCreateExpression.
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
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
97d096414b
Fixed GetDelegateInvokeMethod() for parameterized types.
...
Fixed copy constructor of DefaultMethod.
Fixed handling of "class" constraint in CecilLoader.
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
Mike Krüger
7e29f61da6
Fix build (however formatting tests will fail).
14 years ago
Daniel Grunwald
fb57f7d545
Fixed several issues in the type system convert visitor.
14 years ago
Daniel Grunwald
344476efbb
Fix contracts.
15 years ago
Daniel Grunwald
e1ac50d734
Implemented C# attributes.
15 years ago
Daniel Grunwald
b8330bebd6
Remove parent pointer from ITypeParameter and enable sharing type parameters.
15 years ago
Daniel Grunwald
3a4fdf2b77
Add support for non-custom attributes to CecilLoader.
15 years ago
Daniel Grunwald
9dc67b830a
Fix CecilLoaderTests for Dictionary<,>.ValueCollection::Count (it's a non-virtual property implementing an interface; and isn't considered sealed in C#).
15 years ago
Daniel Grunwald
b9f9caaa9c
Added some unit tests and fixed some bugs.
15 years ago
Daniel Grunwald
dc8d4cadcb
Use (Namespace,Name) pair instead of FullName.
15 years ago
Daniel Grunwald
57da5ff3de
Add interning support to DefaultAccessor.
15 years ago
Daniel Grunwald
3bcab64569
Type inference stuff
15 years ago
Daniel Grunwald
61cde6c2f8
Add documentation providers (xml and binary).
15 years ago
Daniel Grunwald
a04ab6933d
CecilLoader: Don't import DynamicAttribute (it's imported as SharedType.Dynamic instead)
15 years ago
Daniel Grunwald
91f5e30ef2
Fixed distinguishing the virtual and override modifiers when reading from metadata.
15 years ago
Daniel Grunwald
59ab605a82
Add broken CommonSubTypes implementation.
15 years ago
Daniel Grunwald
24eb146c74
Add 'CommonTypeInference'.
15 years ago
Daniel Grunwald
8703df7bae
Enable parser unit tests; ignore those that are broken.
15 years ago
Daniel Grunwald
d3c18d130c
TypeSystemConvertVisitor: add support for properties and events.
15 years ago
Mike Krüger
9ad9030e29
Added some mono compatibility changes.
15 years ago
Daniel Grunwald
309e6583d1
Added parameters to ArrayType indexers.
15 years ago
Daniel Grunwald
a53c6a1934
Started implementation of member lookup.
15 years ago
Daniel Grunwald
2c927c1b3f
Started implementation of simple name lookup.
15 years ago
Daniel Grunwald
24e7c50e32
Fixed issues with LogicalAnd and LogicalOr operators.
...
Add unit tests for overload resolution; fixed an overload resolution bug.
Added some new helper methods.
Various documentation updates.
15 years ago
Daniel Grunwald
9efef610b1
Rename AggregateTypeResolveContext to CompositeTypeResolveContext.
...
Rename DotNetName to ReflectionName.
Added ReflectionName-parser to ReflectionHelper.
Move the ReaderWriterLock synchronization from TypeStorage to SimpleProjectContent.
Added some documentation to the README.
15 years ago
Daniel Grunwald
780205ab9d
Added more TypeSystemTests and fixed 2 bugs in CecilLoader.
15 years ago
Daniel Grunwald
0b1c04928d
Store the underlying type for enums.
15 years ago
Daniel Grunwald
b59597ec25
Fixed some issues with GetBaseTypes/GetAllBaseTypes.
15 years ago
Daniel Grunwald
2853feea02
Rewrite GetAllBaseTypes() to ensure the output is finite; and add unit tests for it.
15 years ago
Daniel Grunwald
5c57f8fd0d
Add support for integer literal conversions.
15 years ago
Daniel Grunwald
26cc23846c
Added implicit conversion logic.
15 years ago
Daniel Grunwald
894630051a
CecilLoader: add support for indexers
15 years ago
Daniel Grunwald
662a5ad5f4
Added more unit tests.
...
Make IType.GetMethods etc. return IEnumerable instead of IList - with IList, it wasn't clear whether the consumer was allowed to mutate the list.
15 years ago
Daniel Grunwald
289d6078dc
Added special support for 'void' (type without members); implemented ReflectionHelper.ToTypeReference.
15 years ago
Daniel Grunwald
8dd5e3ebb7
Rename ConstructedType to ParameterizedType.
15 years ago
Daniel Grunwald
8879b7c372
Add GetAllBaseTypes() extension method.
...
Move BitVector16 and BusyManager to utils.
15 years ago
Daniel Grunwald
d6f441a071
Documentation on interning.
15 years ago
Daniel Grunwald
d2f8d6e34a
Move member interning logic into AbstractMember.
15 years ago
Daniel Grunwald
20708b6d54
Testing the interning support
15 years ago
Daniel Grunwald
19dc183e19
Add visitor pattern to IType.
15 years ago
Daniel Grunwald
8c14d6ffe4
Implemented reading properties from Cecil.
15 years ago