Daniel Grunwald
|
5c9dfb9896
|
Fixed IUnresolvedTypeDefinition.Resolve() and IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) to always retrieve the correct version of the type definition for the compilation, even if the IUnresolvedTypeDefinition is a different version.
The two methods now return UnknownType/null if the IUnresolvedTypeDefinition does not belong to the assembly.
|
14 years ago |
Daniel Grunwald
|
942b4f70ef
|
Move ConversionResoleResult to ICSharpCode.NRefactory.Semantics.
Boxing conversion for attribute arguments is now used consistently in C# type system and Cecil-loaded type system.
|
14 years ago |
Daniel Grunwald
|
9d7c018fb2
|
Adjusted C# resolver to refactored type system.
|
14 years ago |
Daniel Grunwald
|
f9916d89ef
|
WIP: Type system refactoring.
|
14 years ago |
Daniel Grunwald
|
f631199013
|
Type system refactoring: split unresolved/resolved type systems.
|
14 years ago |
Daniel Grunwald
|
a1a80b63c9
|
Fix StackOverflowException when subtyping does not terminate due to expansive inheritance.
|
15 years ago |
Daniel Grunwald
|
e37dc4b6c7
|
Move ResolveResults to NR.Semantics
|
15 years ago |
Daniel Grunwald
|
5c585e110b
|
Apply license header to unit tests.
Add parser unit tests for ObjectCreateExpression.
|
15 years ago |
Daniel Grunwald
|
37626e1bc7
|
Expose conversions as part of the ResolveResult.
|
15 years ago |
Daniel Grunwald
|
6792a0c76a
|
Report which kind of conversion was found.
|
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
|
80a859c0cc
|
Add support for pointer types (implicit pointer conversion; operators defined on pointers).
|
15 years ago |
Daniel Grunwald
|
2634564ad2
|
Rename Util to Utils; added replaced "object CacheToken" with "CacheManager CacheManager"
|
16 years ago |
Daniel Grunwald
|
a7790c8de0
|
Add subtraction and shift operators.
|
16 years ago |
Daniel Grunwald
|
ca28cd6478
|
Add support for multiplication, division, modulus and addition operators.
|
16 years ago |
Daniel Grunwald
|
b46cfa7e29
|
Added CastTests.
Constant folding: fixed implicit conversions and casts to use C# semantics
|
16 years ago |
Daniel Grunwald
|
2853feea02
|
Rewrite GetAllBaseTypes() to ensure the output is finite; and add unit tests for it.
|
16 years ago |
Daniel Grunwald
|
f3a8325390
|
Add BetterConversion logic to C# Conversions.
|
16 years ago |
Daniel Grunwald
|
5c57f8fd0d
|
Add support for integer literal conversions.
|
16 years ago |
Daniel Grunwald
|
e19cf3785c
|
Added unit tests for C# implicit conversions and fixed a few bugs.
|
16 years ago |