Mike Krüger
|
1d32c620f3
|
Added support for explicit optional parameters.
|
13 years ago |
Daniel Grunwald
|
ca103100c6
|
Merge some bugfixes from SharpDevelop to NRefactory.
|
13 years ago |
Daniel Grunwald
|
7710a534de
|
DefaultSolutionSnapshot.AddCompilation now registers the project content for GetProjectContent(string projectFileName)
|
13 years ago |
Erik Källén
|
2acbd969aa
|
CecilLoader: Import fields with a DecimalConstantAttribute as 'const'
|
13 years ago |
Daniel Grunwald
|
ad6ce1059f
|
Add Import() extension method for INamespace
|
13 years ago |
Mike Krüger
|
e7783d7808
|
Revert "[TypeSystem] Added a method to get only defined members with a filter"
This reverts commit aa324f018a .
|
13 years ago |
Mike Krüger
|
b728f40de6
|
Revert "Fix build."
This reverts commit 0df4bec580 .
|
13 years ago |
Mike Krüger
|
0df4bec580
|
Fix build.
|
13 years ago |
Mike Krüger
|
aa324f018a
|
[TypeSystem] Added a method to get only defined members with a filter
predicate.
TODO: Add similar methods for all members ?
|
13 years ago |
Mike Krüger
|
eaad50e8be
|
[TypeSystem] Added C# style async modifier to methods.
|
13 years ago |
erikkallen
|
c615c9f730
|
Make 'await' resolve as in the C# 5.0 language specification.
This means that the awaiter type must implement INotifyCompletion and can optionally implement ICriticalNotifyCompletion.
|
13 years ago |
Daniel Grunwald
|
99bbb11ded
|
Add 'ResultOfAsyncCallShouldNotBeIgnored' issue.
|
13 years ago |
Daniel Grunwald
|
211c6a1b05
|
Implemented ITypeParameter.EffectiveInterfaceSet
|
13 years ago |
Mike Krüger
|
97d224bbbd
|
Fixed busy manager usage.
|
13 years ago |
Mike Krüger
|
24e7b56613
|
Fixed cyclic constants.
|
13 years ago |
Mike Krüger
|
2e2cecfeb7
|
Fixed little issue in interning provider.
|
13 years ago |
Daniel Grunwald
|
80ba1b3dba
|
Always set ArrayCreateResolveResult.SizeArguments. Closes #111.
|
13 years ago |
Daniel Grunwald
|
359bb7b848
|
GetClassTypeReference: remove redundant code
|
13 years ago |
Mike Krüger
|
ab6f86fa9c
|
[TypeSystem] GetClassTypeReference: Fixed CurrentAssembly == null
case.
|
13 years ago |
Daniel Grunwald
|
bf62230dc1
|
Rename 'ExtensionMethods' to 'TypeSystemExtensions'.
This avoids a naming conflict with other extension method classes in the solution.
|
13 years ago |
Daniel Grunwald
|
d01a22564a
|
Implement ICompilationProvider in a few more places where we have the compilation available.
|
13 years ago |
Daniel Grunwald
|
b37698b39b
|
ICompilation.Import(IType): added support for importing open generic types
Renamed 'IResolved' to 'ICompilationProvider'.
|
13 years ago |
Mike Krüger
|
a8f4a606e2
|
[TypeSystem] Added old GetTypeDefinition method for compatibility
reasons.
|
13 years ago |
Daniel Grunwald
|
5670248de8
|
Add 'FullTypeName' struct, and use it to represent type names.
Contains some breaking API changes:
- Renamed 'FullNameAndTypeParameterCount' to 'TopLevelTypeName'.
- IAssembly.GetTypeDefinition(string, string, int) -> IAssembly.GetTypeDefinition(TopLevelTypeName)
- IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) -> IAssembly.GetTypeDefinition(FullTypeName)
- GetClassTypeReference now supports nested types
|
13 years ago |
Daniel Grunwald
|
f7d8e87183
|
Fix race condition caused by freezing cecil-loaded assemblies too late.
|
13 years ago |
Daniel Grunwald
|
1098051271
|
Fix icsharpcode/NRefactory#110: CecilLoader fails on System.Data v2.0.50727
|
13 years ago |
Daniel Grunwald
|
6682aa6f92
|
NRefactory changes from SharpDevelop: add IDocument.FileName and IAssembly.FullAssemblyName,
|
13 years ago |
Daniel Grunwald
|
79db6fe54c
|
Change ISupportsInterning so that objects are interned immediately after they are created.
This lets us get rid of the hidden mutation due to interning; ISupportsInterning objects can now be truly immutable.
|
13 years ago |
Daniel Grunwald
|
d0bed831ae
|
Add a mechanism to the FastSerializer that allows us to invalidate cached project contents when fixing a bug in one of the type system loaders.
|
13 years ago |
Daniel Grunwald
|
31474555b2
|
Avoid looking for inner classes when resolving a class constraint.
|
13 years ago |
Mike Krüger
|
3dbba420eb
|
[Resolver] Fixed infinite loop issue when a type inherits from type
parameter.
|
13 years ago |
Mike Krüger
|
a1bcb54747
|
[Semantics] Added test case for nullable constant value / fixed last
fix.
|
13 years ago |
Mike Krüger
|
3acaf5eca2
|
[Semantic] Handled default parameter value conversion in default
unresolved parameter.
|
13 years ago |
Daniel Grunwald
|
e2eef883e1
|
Add 'HasBody' property to IMethod. Closes #100.
|
13 years ago |
Daniel Grunwald
|
aa55c206e0
|
Add AbstractUnresolvedEntity.Clone() method.
|
13 years ago |
Simon Lindgren
|
408b29847d
|
[TypeSystem] Don't consider non-public members for interface implementors.
|
13 years ago |
Daniel Grunwald
|
1f6c4f037e
|
Update solution-loading logic in ConsistencyCheck.
|
13 years ago |
Daniel Grunwald
|
16aa0c6c28
|
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
|
13 years ago |
Daniel Grunwald
|
9a9485a49d
|
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
|
13 years ago |
Daniel Grunwald
|
26409db2bb
|
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
|
13 years ago |
Daniel Grunwald
|
d4372bf954
|
Add DefaultAttribute.
|
13 years ago |
Daniel Grunwald
|
fb4436499e
|
Remove outdated code contracts.
|
13 years ago |
Daniel Grunwald
|
3f782ce21c
|
Add ITypeDefinition.GetInterfaceImplementation().
|
13 years ago |
Daniel Grunwald
|
7d5f1e0885
|
Make CecilResolvedAttribute.DecodeBlob() more robust.
Avoid exception when arguments types are unavailable and return ErrorResolveResult instead.
|
13 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
|
13 years ago |
Daniel Grunwald
|
519dc12eda
|
Add IsKnownType() extension method.
|
13 years ago |
Daniel Grunwald
|
a3534f250d
|
Add INamespace.ContributingAssemblies.
|
13 years ago |
Daniel Grunwald
|
3ddf30c339
|
Fix icsharpcode/NRefactory#71: entity type for indexers (explicit interface implementations)
|
13 years ago |
Daniel Grunwald
|
9640abde31
|
Add (failing) unit test for icsharpcode/NRefactory#73.
|
13 years ago |
Daniel Grunwald
|
d1f0807458
|
Use location from Cecil instead of providing it as an extra parameter to LoadAssembly().
|
13 years ago |