Siegfried Pammer
|
5ff4462b2b
|
NRefactory 5: do not throw exceptions if there's no cecil reference for entity
|
14 years ago |
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
|
c5c5192f38
|
Add documentation to methods for creating type references that describe the expected ITypeResolveContext for resolving those type references.
|
14 years ago |
Daniel Grunwald
|
c5c1337aee
|
Add failing unit test for using-statement with multiple variable declarations.
|
14 years ago |
Daniel Grunwald
|
cdfa794e37
|
Add some ToString() overrides for easier debugging
|
14 years ago |
Daniel Grunwald
|
3d21a80e7d
|
Fixed the ResolveVisitor scanning logic and several related issues.
|
14 years ago |
Daniel Grunwald
|
b4003145b3
|
Add MethodGroupResolveResult.GetEligibleExtensionMethods() method.
|
14 years ago |
Daniel Grunwald
|
9286461537
|
Adjusting SharpDevelop to new type system (unresolved/resolved split).
|
14 years ago |
Daniel Grunwald
|
33e0c0e9a0
|
Fixed FindReferences on attributes.
|
14 years ago |
Daniel Grunwald
|
418f7090cb
|
Fixed resolving NamedExpressions in anonymous type creation expressions.
|
14 years ago |
Daniel Grunwald
|
040b841c3b
|
Fixed resolving equality and relational operators on nullable types.
|
14 years ago |
Daniel Grunwald
|
dac8c0fd35
|
Implement CSharpAstResolver.GetExpectedType() and CSharpAstResolver.GetConversion().
|
14 years ago |
Daniel Grunwald
|
70e62f42a1
|
Fixed DefaultMemberReference for methods with parameters.
|
14 years ago |
Daniel Grunwald
|
453aac367f
|
Ensure that IMember.InterfaceImplementations does not contain nulls if there were resolve errors.
|
14 years ago |
Daniel Grunwald
|
3b95e5a2e3
|
Fixed IsExplicitInterfaceImplementation.
Implemented IMember.InterfaceImplementations for explicitly implemented members.
|
14 years ago |
Daniel Grunwald
|
54168d5c0f
|
Add nuspec.
Changed project settings to produce xml-doc and debug symbols in release configuration.
|
14 years ago |
Daniel Grunwald
|
0fd4f5b297
|
Rename unresolved InterfaceImplementations to ExplicitInterfaceImplementations.
|
14 years ago |
Daniel Grunwald
|
06f96bf068
|
Remove IAccessor and use IMethod instead.
|
14 years ago |
Daniel Grunwald
|
3c6cbeeae7
|
Add IMember.UnresolvedMember property.
|
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
|
44b1c40e70
|
Remove some dead code.
|
14 years ago |
Daniel Grunwald
|
9af3c040f2
|
Fixed resolving compound assignment operators.
|
14 years ago |
Daniel Grunwald
|
f1a1ab32ad
|
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
|
14 years ago |
Daniel Grunwald
|
93a5c13825
|
FindReferences: add support for searching in a different compilation than the entity is defined in.
|
14 years ago |
Daniel Grunwald
|
92c8bd671a
|
Fix NullReferenceException in DefaultResolvedField.ConstantValue when the field is not a constant.
|
14 years ago |
Daniel Grunwald
|
1464b5d0b7
|
For IAssembly.GetTypeDefinition, treat ns==null the same as ns==string.Empty.
|
14 years ago |
Mike Krüger
|
27f18d79b4
|
Fixed possible null reference exception.
|
14 years ago |
Mike Krüger
|
9606b56130
|
Added GetTypeResolveContext to IParsedFile.
|
14 years ago |
Mike Krüger
|
b1bfe5c8b1
|
Added full name constructor to defaultunresolvedTypeDefinition.
|
14 years ago |
Daniel Grunwald
|
36c9caec10
|
Add ICompilation.Import() extension methods.
|
14 years ago |
Daniel Grunwald
|
f410a2b5d5
|
Enum members are implicitly cast to the underlying type when used in an enum member initializer.
|
14 years ago |
Mike Krüger
|
45bcad49fb
|
Added getsubtype definitions helper method.
|
14 years ago |
Mike Krüger
|
a564ebbd37
|
Added easy to access enumerables for various member types.
|
14 years ago |
Daniel Grunwald
|
a71670f2bc
|
Fixed some issues with code round-tripping; and added unit tests for some parser failures.
|
14 years ago |
Daniel Grunwald
|
bf88746a7a
|
Added some failing parser tests for bugs discovered trying to roundtrip NRefactory itself.
|
14 years ago |
Daniel Grunwald
|
b0b9942522
|
Add ISolutionSnapshot for creating compilations for multiple projects from a single consistent snapshot.
|
14 years ago |
Daniel Grunwald
|
4ccc313d46
|
Normalize newlines
|
14 years ago |
Daniel Grunwald
|
4d4f1f42b7
|
Fixed various resolver bugs.
|
14 years ago |
Daniel Grunwald
|
c4ce9344f0
|
Fixed bug when resolving base constructor calls.
|
14 years ago |
Daniel Grunwald
|
0b263b0b74
|
TypeSystemConvertVisitor: implemented ConvertInterfaceImplementation for methods and properties.
Implemented 'goto case' support in control flow analysis.
|
14 years ago |
Daniel Grunwald
|
f11eed9d15
|
Introduce a named unknown type (this allows TypeSystemAstBuilder to work better when there are resolve errors).
|
14 years ago |
Daniel Grunwald
|
e2cb5467c2
|
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
|
14 years ago |
Mike Krüger
|
7e5380551b
|
Updated mcs/fixed some code completion cases.
|
14 years ago |
Daniel Grunwald
|
73438b7288
|
Make CSharpResolveVisitor internal and expose CSharpAstResolver instead.
|
14 years ago |
Daniel Grunwald
|
9d7c018fb2
|
Adjusted C# resolver to refactored type system.
|
14 years ago |
Daniel Grunwald
|
c02e801b5d
|
Introduce ResolvedUsingScope (serves as cache per using-scope; avoids resolving imported namespaces repeatedly).
|
14 years ago |
Mike Krüger
|
5069b98f17
|
Fixed code completion bug.
|
14 years ago |
Daniel Grunwald
|
54851a741f
|
C# Type System implementation
|
14 years ago |
Mike Krüger
|
98d1826a74
|
Added error expression as ast node.
|
14 years ago |
Daniel Grunwald
|
f9916d89ef
|
WIP: Type system refactoring.
|
14 years ago |