Daniel Grunwald
d6ed3b7726
Fixed resolving accessors.
13 years ago
Siegfried Pammer
cd9c948375
Add ICollection, ICollection<T> and IList to KnownTypeReference.
13 years ago
Daniel Grunwald
a77fa3103a
Add IMethod.AccessorOwner.
13 years ago
Mike Krüger
73a44b2ddb
[NRefactory] Be more verbose on cecil load error.
13 years ago
Daniel Grunwald
1640cb8c32
Set version number to 5.0.1; fixed some compiler warnings.
13 years ago
Daniel Grunwald
cbb1fe5008
Fixed some issues resolving members.
13 years ago
Daniel Grunwald
180ed85c85
Implemented IUnresolvedMember.Resolve().
13 years ago
mike
4add67930e
[TypeSystem] Cecil loader no longer crashes loading gtk-sharp.dll on
...
windows.
13 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
13 years ago
Mike Krüger
7a3e68fb1d
[TypeSystem] All attributes from partial method declarations are now
...
merged.
13 years ago
Mike Krüger
8305999fcb
[TypeSystem] Added default parameter for GetClassTypeReference
...
typeParameterCount.
13 years ago
Mike Krüger
bb6660ea75
[TypeSystem] Added TypeReference.Resolve (Compilation) extension
...
method.
13 years ago
Daniel Grunwald
e0f3421c1d
Add support for type forwarders.
13 years ago
Mike Krüger
86fede3528
Fixed anther system.core 3.5 vs. 4.0 type lookup case.
13 years ago
Mike Krüger
b277e750b4
Fixed GetClassTypeReference resolving error.
...
Use case: Lib uses System.Core 3.5, Project 4.0 - the 3.5 assembly
can't be resolved in the project context.
13 years ago
Daniel Grunwald
444fe4ebf7
Make IParsedFile.LastWriteTime nullable.
...
Replace IAXmlVisitor interface with AXmlVisitor abstract base class.
14 years ago
Daniel Grunwald
d4dd1648e8
Implemented the new options for overridden members in FindReferences.
14 years ago
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