Daniel Grunwald
bbcde1ea2e
Use ISymbol in Script.Rename()
12 years ago
Mike Krüger
444eb11153
Implemented basic rename feature.
12 years ago
Daniel Grunwald
76d4845bbe
Add rename API (not implemented yet).
12 years ago
Daniel Grunwald
149dea7412
Add TypeGraphNode to NRefactory; and move AbiComparer from NR.CSharp.Analysis to NR.Analysis
12 years ago
Mike Krüger
f5d8ea6631
Removed empty expression / fixed potential bug where unary operator
...
expression may be null.
12 years ago
Daniel Grunwald
61e4e16ef5
Add back the old EntityType as obsolete enum to provide some limited backward compatibility.
12 years ago
Daniel Grunwald
7c388ba920
Rename EntityType -> SymbolKind
12 years ago
Daniel Grunwald
5e9edc0f63
Introduce ISymbol as a common super-interface of IEntity, INamespace, IVariable and ITypeParameter.
12 years ago
Daniel Grunwald
5f67bc0933
Remove constructors from CSharpUnresolvedFile - they could be mistaken to load the specified file name.
12 years ago
Daniel Grunwald
0783129bb7
Fix icsharpcode/NRefactory#183 : Implicit conversion detected as explicit conversion
12 years ago
Daniel Grunwald
474920cdf7
Fix icsharpcode/NRefactory#181 : default keyword doesn't resolve properly on enum types
12 years ago
Daniel Grunwald
17c1eeaf2b
Merge changes from SharpDevelop repository to NRefactory.
12 years ago
Daniel Grunwald
17c4315974
Rename IsExtensionMethodGroupConversion -> DelegateCapturesFirstArgument.
12 years ago
Daniel Grunwald
d09dc0e10a
Fix compiler warnings
12 years ago
Erik Källén
02cc0a38c6
Added property Conversion.IsExtensionMethodGroupConversion to determine whether a method group conversion is being performed on an extension method using extension method invocation syntax (eg. Func<int> f = myEnumerable.Single).
12 years ago
Daniel Grunwald
d1be453e2a
Fix return value conversion within async lambda.
12 years ago
Mike Krüger
1f1793e907
Changed resolver logging in mcs.
12 years ago
Mike Krüger
546633a16e
Fixed bug in find namespace references.
12 years ago
Mike Krüger
a1db11e233
Added find namespace references & rename namespace function in Script.
12 years ago
Daniel Grunwald
ee5d87a0f8
Add year to license headers.
13 years ago
Daniel Grunwald
3797b12fa7
Fix several bugs with anonymous types:
...
- DeclaringType, IsAccessor and AccessorOwner properties of anonymous type accessors (#148 )
- equality comparison of anonymous type accessors
- roundtrip of anonymous type properties via IMemberReference
- roundtrip of anonymous type accessors via IMemberReference
13 years ago
Daniel Grunwald
8d9eec0c54
Use ThrowIfCancellationRequested()
13 years ago
Erik Källén
0e76cae70d
Fixed stupid thing in the "no conversion in void lambda" test.
13 years ago
Erik Källén
2978af440e
No conversions in body for void lambdas
13 years ago
Erik Källén
4380297cce
Add a ConversionResolveResult to lambda body expressions, if required
13 years ago
Mike Krüger
916654c166
Fixed async lambda resolve bug.
...
Would be nice to have a newer c# language spec ...
13 years ago
Daniel Grunwald
4324311718
Use IMember.Specialize() instead of 'new SpecializedMember()', and remove unnecessary upcasts.
13 years ago
Mike Krüger
bcc014222b
ReducedMethod in CSharpInvocationResolveResult is now lazy.
13 years ago
Mike Krüger
a72b135df5
Changed C# invocation result that the reduced extension method has
...
it's own property.
13 years ago
Mike Krüger
a963bdbcf5
Fix build.
13 years ago
Mike Krüger
d19a6d2c96
Moved SpecializedMember property 'Substitution' to IMember and
...
SpecializedMethod property 'TypeArguments' to IMethod.
That should eliminate the need to upcast these objects & makes the
type system more flexible - that's needed for the
ReducedExtensionMethod model.
13 years ago
Mike Krüger
7962d8f80d
Reduced extension methods are now always non static methods with
...
extension method flag set.
13 years ago
Mike Krüger
8bd796eb7f
Revert "Revert "Implemented reduced method model.""
...
This reverts commit bdc1fde9d6
.
13 years ago
Mike Krüger
765d917d60
Revert "Revert "Implemented better way to handle extension method invocations.""
...
This reverts commit c26f61e813
.
13 years ago
Mike Krüger
c76240e934
Revert "Revert "[TypeSystem] Specialized method now contains a flag specifying the""
...
This reverts commit b758539431
.
13 years ago
Mike Krüger
b758539431
Revert "[TypeSystem] Specialized method now contains a flag specifying the"
...
This reverts commit bd1811cc18
.
Conflicts:
ICSharpCode.NRefactory.CSharp/Resolver/OverloadResolution.cs
13 years ago
Mike Krüger
c26f61e813
Revert "Implemented better way to handle extension method invocations."
...
This reverts commit d4afc75413
.
13 years ago
Mike Krüger
bdc1fde9d6
Revert "Implemented reduced method model."
...
This reverts commit aaf2b919f5
.
13 years ago
Mike Krüger
aaf2b919f5
Implemented reduced method model.
13 years ago
Mike Krüger
d4afc75413
Implemented better way to handle extension method invocations.
13 years ago
Mike Krüger
cb38702a55
Secured potential cast exception.
...
TODO: Work on a better representation of that case.
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
Erik Källén
4c1dbb9adc
Added information about built-in conversions before and after a user-defined conversion operator is applied
13 years ago
Erik Källén
867dc8b407
Improved handling of sizeof(x)
...
Resolving sizeof(x) will now return a specialized ResolveResult that contains information about which type's size is investigated. Also fixed a bug that caused sizeof() to not work when initializing fields. Also made sizeof(SomeEnum) resolve to the size of the underlying type which is illegal according to the spec, but mcs allows it.
13 years ago
Daniel Grunwald
b3c2b0ce9d
ResolveAtLocation: when resolving a method name within a delegate creation, produce MemberResolveResult instead of MethodGroupResolveResult.
13 years ago
Daniel Grunwald
f159810013
Remove unresolved references from new Alias*ResolveResult.
13 years ago
Mike Krüger
eae3641201
Corrected namespace.
13 years ago
Mike Krüger
11aa873815
Added alias resolve results that allows it to handle aliases more
...
easily. (for example showing them in the text editor UI or tooltips)
13 years ago
Mike Krüger
e00a9b8696
Fixed member lookup bug.
13 years ago
Daniel Grunwald
52d116ea88
Allow calling FindReferences without IUnresolvedFile.
13 years ago