Daniel Grunwald
ec225c160d
Fixed bugs related to ID strings.
14 years ago
Daniel Grunwald
ee92c68d5e
TypeParameterReference now resolves to a dummy type parameter instead of UnknownType when no ITypeParameter is available in the resolve context.
14 years ago
Daniel Grunwald
7a76a805a0
Add DocumentationComment class that allows looking up 'cref' attributes.
14 years ago
Daniel Grunwald
d03d17bbe4
Use lazy initialization for C# resolved type definitions.
...
This speeds up creating a new compilation for a single resolve operation by a factor of 10 (for NRefactory.sln; potentially more for larger solutions).
14 years ago
Daniel Grunwald
f30ceb5b4c
Set version number to 5.0.0.4.
14 years ago
Daniel Grunwald
d2f2feb994
Remove the thread-local cache; it seems to cause massive memory leaks.
14 years ago
Daniel Grunwald
5f8dcf4f7a
Implement 'ToMemberReference()' and 'InterfaceImplementations' on specialized members.
14 years ago
Daniel Grunwald
33b57d590d
Fixed IMember.ToMemberReference() for explicit interface implementations.
14 years ago
Daniel Grunwald
862e9500db
When the specified reflection name is not assembly-qualified, ReflectionHelper.ParseReflectionName() will now produce an ITypeReference that looks in all referenced assemblies (not just in CurrentAssembly).
14 years ago
Daniel Grunwald
77ea4dae30
Report more types of invalid equality comparisons as errors.
...
Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda.
14 years ago
Daniel Grunwald
822fda7e36
Handle T[] -> T* and string -> char* conversions in fixed statement initializers.
14 years ago
Daniel Grunwald
0f2b0c380e
Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)")
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Daniel Grunwald
8efd32e815
Don't crash when trying to decode invalid attribute/secdecl blobs.
14 years ago
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