Daniel Grunwald
b3acaaf40e
Added support for specialized members to InheritanceHelper.GetBaseMember().
14 years ago
Daniel Grunwald
777be39cca
Rewrite of the substitution logic in SpecializedMember.
...
Specializing an already-specialized member now produces the same result as performing the two specializations in a single step.
14 years ago
Daniel Grunwald
bf42e08dd4
Add support for IReadOnlyList<T>.
14 years ago
Daniel Grunwald
e213758ec7
Replace LazyInit.ReadBarrier() with LazyInit.VolatileRead().
14 years ago
Daniel Grunwald
cf331bb4af
Fixed resolving partial method definitions.
14 years ago
Daniel Grunwald
3fbcf2f7d0
Add support for partial methods.
14 years ago
Daniel Grunwald
fe8e098a27
Fixed some FxCop warnings.
14 years ago
Daniel Grunwald
b416f38f78
CSharpAmbience: allow passing in a custom IOutputFormatter.
14 years ago
Daniel Grunwald
d6f3c841ce
Replace ConversionFlags.UseFullyQualifiedMemberNames with ConversionFlags.ShowDeclaringType.
14 years ago
Daniel Grunwald
e8f092892b
Add support for calling constructors on COM interfaces.
14 years ago
Daniel Grunwald
14bf452879
Rename InterfaceImplementations -> ImplementedInterfaceMembers.
14 years ago
Daniel Grunwald
59c9e99921
DefaultResolvedTypeDefinition: lazily initialize the list of members.
...
This makes creating a DefaultResolvedTypeDefinition much cheaper, so we no longer need to use Lazy<ITypeDefinition> in CSharpAssembly.
14 years ago
Daniel Grunwald
29c1b59c10
Add ICompilation.Assemblies.
14 years ago
Daniel Grunwald
2bebee46a1
C# XML documentation support.
14 years ago
Daniel Grunwald
b31e10489f
Protect against [InternalsVisibleTo] stack overflow and fixed a possible cause for that stack overflow
14 years ago
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
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
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
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
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
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