Daniel Grunwald
9a9485a49d
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
14 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
14 years ago
Daniel Grunwald
d4372bf954
Add DefaultAttribute.
14 years ago
Daniel Grunwald
fb4436499e
Remove outdated code contracts.
14 years ago
Daniel Grunwald
3f782ce21c
Add ITypeDefinition.GetInterfaceImplementation().
14 years ago
Daniel Grunwald
7d5f1e0885
Make CecilResolvedAttribute.DecodeBlob() more robust.
...
Avoid exception when arguments types are unavailable and return ErrorResolveResult instead.
14 years ago
Daniel Grunwald
7db1cbe11e
Merge NRefactory changes from SharpDevelop repository:
...
- Add CecilLoader.OnEntityLoaded callback
- Fixed thread-safety of lazy-loaded cecil type system.
- Add AstNodeCollection.AcceptVisitor method
14 years ago
Daniel Grunwald
519dc12eda
Add IsKnownType() extension method.
14 years ago
Daniel Grunwald
a3534f250d
Add INamespace.ContributingAssemblies.
14 years ago
Daniel Grunwald
3ddf30c339
Fix icsharpcode/NRefactory#71 : entity type for indexers (explicit interface implementations)
14 years ago
Daniel Grunwald
9640abde31
Add (failing) unit test for icsharpcode/NRefactory#73 .
14 years ago
Daniel Grunwald
d1f0807458
Use location from Cecil instead of providing it as an extra parameter to LoadAssembly().
14 years ago
Daniel Grunwald
5a1f7d70f0
Fixed issues with CecilLoader.LazyLoad=true.
14 years ago
Mike Krüger
5f60958a7e
[TypeSystem] Cecil loader can now take the loaded assembly location.
14 years ago
Mike Krüger
14addf402d
[TypeSystem] Added SetLocation to IProjectContent.
14 years ago
Mike Krüger
c032382855
[TypeSystem] Added location property to IAssembly.
14 years ago
Daniel Grunwald
58d7ac0ee6
Improved ToString() for methods.
14 years ago
Erik Källén
3963b40a4e
Fix
14 years ago
Mike Krüger
62283e2640
[TypeSystem] Made error message more verbose.
14 years ago
Daniel Grunwald
0aa37bcf44
Add lazy-loading support to CecilLoader.
14 years ago
Daniel Grunwald
77283dc2f1
Merge minor changes from SharpDevelop repository (mostly additional documentation for ResolveResults).
14 years ago
Daniel Grunwald
5d2fee1b90
Add CompilerSettings class instead of using the one from Mono.CSharp.
...
Added ResolveResult-treeview to NR.Demo.
14 years ago
Daniel Grunwald
585ae50c2f
CSharpAstResolver: don't return the same ResolveResult for two different nodes.
...
(make clones when using caches)
Closes icsharpcode/NRefactory#46 .
14 years ago
Mike Krüger
839b19e814
[TyeSystem] Fixed bug in nested type property.
14 years ago
Daniel Grunwald
806869e563
Add IType.GetAccessors().
...
Accessors now use EntityType.Accessor instead of EntityType.Method.
Added accessors support to DefaultMemberReference and ExplicitInterfaceImplementationMemberReference.
Removed hacky code from CecilLoader - we now allow IsExplicitInterfaceImplementation=true on accessors.
14 years ago
Daniel Grunwald
bf8932302f
Add missing fields in KnownTypeReference.
14 years ago
Daniel Grunwald
cdaf5751e6
Implement AnonymousType.ToTypeReference().
14 years ago
Daniel Grunwald
c6d8b93322
Move SimpleTypeResolveContext out of Implementation namespace.
14 years ago
erikkallen
d46cbdbb06
Don't report a member as implementing an interface member if there is another explicit implementation of that interface member.
14 years ago
erikkallen
481397973a
Support explicitly implemented events in the CecilLoader.
14 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
14 years ago
erikkallen
18995bd372
Fixed InheritanceHelper to support explicit interface implementation of base accessors.
14 years ago
erikkallen
fd39748fcf
(Rather ugly) fix for indexer accessor's ImplementedInterfaceMembers.
14 years ago
erikkallen
7ce5de3873
(Rather ugly) fix ensure that accessor method are reported as implementing the corresponding accessor methods from interfaces.
14 years ago
Daniel Grunwald
d6ed3b7726
Fixed resolving accessors.
14 years ago
Siegfried Pammer
cd9c948375
Add ICollection, ICollection<T> and IList to KnownTypeReference.
14 years ago
Daniel Grunwald
a77fa3103a
Add IMethod.AccessorOwner.
14 years ago
Mike Krüger
73a44b2ddb
[NRefactory] Be more verbose on cecil load error.
14 years ago
Daniel Grunwald
1640cb8c32
Set version number to 5.0.1; fixed some compiler warnings.
14 years ago
Daniel Grunwald
cbb1fe5008
Fixed some issues resolving members.
14 years ago
Daniel Grunwald
180ed85c85
Implemented IUnresolvedMember.Resolve().
14 years ago
mike
4add67930e
[TypeSystem] Cecil loader no longer crashes loading gtk-sharp.dll on
...
windows.
14 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
14 years ago
Mike Krüger
7a3e68fb1d
[TypeSystem] All attributes from partial method declarations are now
...
merged.
14 years ago
Mike Krüger
8305999fcb
[TypeSystem] Added default parameter for GetClassTypeReference
...
typeParameterCount.
14 years ago
Mike Krüger
bb6660ea75
[TypeSystem] Added TypeReference.Resolve (Compilation) extension
...
method.
14 years ago
Daniel Grunwald
e0f3421c1d
Add support for type forwarders.
14 years ago
Mike Krüger
86fede3528
Fixed anther system.core 3.5 vs. 4.0 type lookup case.
14 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.
14 years ago
Daniel Grunwald
444fe4ebf7
Make IParsedFile.LastWriteTime nullable.
...
Replace IAXmlVisitor interface with AXmlVisitor abstract base class.
14 years ago