Mike Krüger
655bc99df4
Solved the specialized method definition case with a new version of
...
MemberDefiniton that works without user upcasts.
13 years ago
Mike Krüger
bd1811cc18
[TypeSystem] Specialized method now contains a flag specifying the
...
extension method mode.
There needs some distinction between extension methods calles foo.Ext
(); and Class.Ext(foo); even if it's the same method call - it's
different for code completion tooltips.
13 years ago
Mike Krüger
727911409d
Added GetDefinition () for the specialized method to get the
...
underlying (non specialized) method.
Should be in line with GetDefinition () in types - what's wrong with
that (I've a use case for that).
13 years ago
Daniel Grunwald
ab7b057e5d
CecilLoader: When loading a multi-module assembly, load the main module only.
...
We cannot merge all the types from multi-module assemblies into the same IAssembly because duplicate type names may exist.
13 years ago
Daniel Grunwald
9378cd19f0
Fix bug in ParameterizedType.VisitChildren() when replacing the generic type definition.
...
Fix some typos in XmlDoc.
13 years ago
Daniel Grunwald
f159810013
Remove unresolved references from new Alias*ResolveResult.
13 years ago
Mike Krüger
9c2c544061
Added a way to get the underlying method definition of a specialized
...
method.
13 years ago
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.
14 years ago
Daniel Grunwald
80ba1b3dba
Always set ArrayCreateResolveResult.SizeArguments. Closes #111 .
14 years ago
Daniel Grunwald
359bb7b848
GetClassTypeReference: remove redundant code
14 years ago
Mike Krüger
ab6f86fa9c
[TypeSystem] GetClassTypeReference: Fixed CurrentAssembly == null
...
case.
14 years ago
Daniel Grunwald
bf62230dc1
Rename 'ExtensionMethods' to 'TypeSystemExtensions'.
...
This avoids a naming conflict with other extension method classes in the solution.
14 years ago
Daniel Grunwald
d01a22564a
Implement ICompilationProvider in a few more places where we have the compilation available.
14 years ago
Daniel Grunwald
b37698b39b
ICompilation.Import(IType): added support for importing open generic types
...
Renamed 'IResolved' to 'ICompilationProvider'.
14 years ago
Mike Krüger
a8f4a606e2
[TypeSystem] Added old GetTypeDefinition method for compatibility
...
reasons.
14 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
14 years ago
Daniel Grunwald
f7d8e87183
Fix race condition caused by freezing cecil-loaded assemblies too late.
14 years ago
Daniel Grunwald
1098051271
Fix icsharpcode/NRefactory#110 : CecilLoader fails on System.Data v2.0.50727
14 years ago
Daniel Grunwald
6682aa6f92
NRefactory changes from SharpDevelop: add IDocument.FileName and IAssembly.FullAssemblyName,
14 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.
14 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.
14 years ago
Daniel Grunwald
31474555b2
Avoid looking for inner classes when resolving a class constraint.
14 years ago
Mike Krüger
3dbba420eb
[Resolver] Fixed infinite loop issue when a type inherits from type
...
parameter.
14 years ago
Mike Krüger
a1bcb54747
[Semantics] Added test case for nullable constant value / fixed last
...
fix.
14 years ago
Mike Krüger
3acaf5eca2
[Semantic] Handled default parameter value conversion in default
...
unresolved parameter.
14 years ago
Daniel Grunwald
e2eef883e1
Add 'HasBody' property to IMethod. Closes #100 .
14 years ago
Daniel Grunwald
aa55c206e0
Add AbstractUnresolvedEntity.Clone() method.
14 years ago
Simon Lindgren
408b29847d
[TypeSystem] Don't consider non-public members for interface implementors.
14 years ago
Daniel Grunwald
1f6c4f037e
Update solution-loading logic in ConsistencyCheck.
14 years ago
Daniel Grunwald
16aa0c6c28
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
14 years ago
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