Mike Krüger
a963bdbcf5
Fix build.
13 years ago
Mike Krüger
984d2ca267
Added IsSpecialized to IMember & IsParameterized to IType to make it
...
easier to handle such cases without asking for the type of the
objects.
13 years ago
Mike Krüger
74e7818473
Added TypeParameters property to IType (for consistency with the
...
IMethod interface & makes usage easier).
13 years ago
Mike Krüger
295a70e721
Moved members of ParametrizedType to IType (for consistency with the
...
IMethod changes).
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
7479801ff9
Fixed ReducedFrom description.
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
4cac2f0b36
Fixed completion bug.
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
27913d73f1
AddAnotherAccessor action now works on auto properties.
13 years ago
Mike Krüger
52350b3cb0
Fixed resolve at location failure.
...
Was caused by an invalid token location.
13 years ago
Mike Krüger
35c8f4994d
Fixed token location.
13 years ago
Mike Krüger
82fba3088f
Fixed pre processor context completion.
13 years ago
Mike Krüger
a6c5926941
Expose the comment tags known by the completion engine.
13 years ago
Mike Krüger
4eeb77a15e
Fixed potential exception. NOTE: The code completion engine isn't ment
...
to insert text - this functionality should be moved to the IDE
on-the-fly formatting/indentation backend.
13 years ago
Mike Krüger
b7573edd66
Fixed broken unit test.
13 years ago
Mike Krüger
46f1a2ebff
Fixed qualified alias token location.
13 years ago
Mike Krüger
7a8d41e883
Updated mcs.
13 years ago
Mike Krüger
465254ea12
Fix broken test.
13 years ago
Mike Krüger
587a25dfe9
Fixed formatting bug.
13 years ago
Mike Krüger
b3dee87537
Fixed event declaration assign token location.
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
9c49aaf383
Revert "Fixed potential xml comment bug."
...
Found better fix.
This reverts commit 8b7b3f708b
.
13 years ago
Mike Krüger
f49dfb66ac
Fixed XML comment bug.
13 years ago
Mike Krüger
8b7b3f708b
Fixed potential xml comment bug.
13 years ago
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
8972fdff77
Fixed completion bug.
13 years ago
Mike Krüger
4152fc765f
Added unit test that shows an issue with dynamic resolve results &
...
code completion.
13 years ago
Mike Krüger
92a62059de
Fixed constraint completion bug.
13 years ago
Mike Krüger
65706761dd
Fixed completion bug.
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
Mike Krüger
e29ddf05c8
Fixed bug in extract method.
13 years ago
Mike Krüger
a741ec0dd8
Introduce constant action can now replace more than one occurence
...
(like declare local variable action).
13 years ago
Mike Krüger
243b39310e
Fixed some convert foreach to for action bugs.
13 years ago
Mike Krüger
ce739a62bf
Fixed bug in declare local action.
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
Daniel Grunwald
e781363b78
Include node reformatting in the undo group
13 years ago
Daniel Grunwald
6e6cf735a3
ParameterCanBeDemotedIssue: remove GetInheritanceDepth.
...
It has the potential for a stack overflow when there's cyclic inheritance.
The sorting already done by GetAllBaseTypes() should be good enough.
13 years ago
Daniel Grunwald
3d96f7c7ff
Add fix action to ExplicitConversionInForEachIssue.
13 years ago
Daniel Grunwald
67d80c8834
CompareFloatWithEqualityOperatorIssue: don't show warning when comparing with infinities.
13 years ago
Daniel Grunwald
f31aa291ae
ParameterCanBeDemotedIssue: Remove 'ConstructHasLocalIndependentTyping'
...
This fixes false positives when the parameter is used within lambdas passed to generic methods (e.g. LINQ).
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