|
|
|
@ -950,7 +950,7 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver |
|
|
|
if (member == null) |
|
|
|
if (member == null) |
|
|
|
throw new InvalidOperationException(); |
|
|
|
throw new InvalidOperationException(); |
|
|
|
|
|
|
|
|
|
|
|
if (this.IsExtensionMethodInvocation) |
|
|
|
if (this.IsExtensionMethodInvocation && member is SpecializedMethod) |
|
|
|
((SpecializedMethod)member).IsExtendedExtensionMethod = true; |
|
|
|
((SpecializedMethod)member).IsExtendedExtensionMethod = true; |
|
|
|
return new CSharpInvocationResolveResult( |
|
|
|
return new CSharpInvocationResolveResult( |
|
|
|
this.IsExtensionMethodInvocation ? new TypeResolveResult(member.DeclaringType) : targetResolveResult, |
|
|
|
this.IsExtensionMethodInvocation ? new TypeResolveResult(member.DeclaringType) : targetResolveResult, |
|
|
|
|