Mike Krüger
1d32c620f3
Added support for explicit optional parameters.
13 years ago
Erik Källén
9875662562
Test demonstrating that a const field of type decimal is not considered constant by the cecil loader.
13 years ago
Daniel Grunwald
80ba1b3dba
Always set ArrayCreateResolveResult.SizeArguments. Closes #111 .
13 years ago
Daniel Grunwald
89ef0aef0e
Add type system accessibility tests.
13 years ago
Daniel Grunwald
b37698b39b
ICompilation.Import(IType): added support for importing open generic types
...
Renamed 'IResolved' to 'ICompilationProvider'.
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
Mike Krüger
a1bcb54747
[Semantics] Added test case for nullable constant value / fixed last
...
fix.
13 years ago
Daniel Grunwald
e2eef883e1
Add 'HasBody' property to IMethod. Closes #100 .
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
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
13 years ago
Mike Krüger
bea810b157
[Completion] Recognized browsable attributes / streamlined completion
...
API a bit.
13 years ago
Erik Källén
acb1218d5f
Test demonstrating issue with EntityType for indexers that explicitly implement interface members.
13 years ago
Daniel Grunwald
65097ed48f
Add unit test for named attribute argument.
13 years ago
Daniel Grunwald
3d74abb409
Use directly specific corlib implementation for GetAllBaseTypesTest so that the tests don't fail if interfaces are added to .NET BCL types.
13 years ago
Erik Källén
0bc0d09007
Failing test.
13 years ago
Daniel Grunwald
0aa37bcf44
Add lazy-loading support to CecilLoader.
13 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.
13 years ago
erikkallen
da0feac286
Another one of those x.IsOverride = y.IsOverridable issues.
13 years ago
erikkallen
8431aa0039
Fixed bugs with events: 1) Assignment of IsOverride to IsOverridable, and 2) AccessorOwner not being set for auto-events.
13 years ago
erikkallen
7640141783
Added support for explicit method and property implementations to the cecil loader.
13 years ago
erikkallen
4d868ba2b3
Failing test with explicit indexer implementation
13 years ago
erikkallen
7e2a5a32bb
Tests for ImplementedInterfaceMembers for indexer accessors.
13 years ago
erikkallen
baad38a590
Tests demonstrating that the accessors for a property that implements an interface property do not have any ImplementedInterfaceMembers.
13 years ago
erikkallen
840cde91d4
Failing test for IsOverride flag of accessors.
13 years ago
Daniel Grunwald
a77fa3103a
Add IMethod.AccessorOwner.
13 years ago
Daniel Grunwald
eb41192c49
Fix unit test failing on .NET 4.5 RC.
13 years ago
Daniel Grunwald
180ed85c85
Implemented IUnresolvedMember.Resolve().
13 years ago
Daniel Grunwald
c06cfeda6e
Fix icsharpcode/NRefactory#42 : const IField returns IsStatic=false
13 years ago
Daniel Grunwald
e0f3421c1d
Add support for type forwarders.
13 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
3ac1e560ec
Fix icsharpcode/NRefactory#22 : Event accessors should be called add_X and remove_X
14 years ago
Daniel Grunwald
3215504223
Fix icsharpcode/NRefactory#20 : Copy virtual/override/static/etc. modifiers from properties/events to accessor methods.
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
14bf452879
Rename InterfaceImplementations -> ImplementedInterfaceMembers.
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
b374e40758
Don't insert space in front of brace if the brace is the first token in the line.
14 years ago
Daniel Grunwald
5f8dcf4f7a
Implement 'ToMemberReference()' and 'InterfaceImplementations' on specialized members.
14 years ago
Daniel Grunwald
a7245affe6
Fixed finding references to method group conversions.
14 years ago
Daniel Grunwald
c20807e31c
Fixed return type of members of generic enums.
14 years ago
Daniel Grunwald
822fda7e36
Handle T[] -> T* and string -> char* conversions in fixed statement initializers.
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Daniel Grunwald
57a59341a5
Revert "Fixed type system converter case reported from "erik-kallen"."
...
The bug was already fixed in fb0c2923; this patch was adding the parameters a second time.
This reverts commit c4dfb27626
.
14 years ago
Mike Krüger
c4dfb27626
Fixed type system converter case reported from "erik-kallen".
14 years ago
Daniel Grunwald
fb0c292380
Fix icsharpcode/NRefactory#13 - Indexer accessors do not get correct parameters.
14 years ago