Reporter | Dmitry Osinovsky (Dmitry.Osinovsky) |
---|---|
Created | Nov 5, 2014 3:23:47 PM |
Updated | Apr 20, 2018 4:41:52 PM |
Resolved | Apr 20, 2018 4:41:52 PM |
Subsystem | IntelliSense (Code Completion) |
Assignee | Andrew Serebryansky (marcus23) |
Priority | Normal |
State | Can't Reproduce |
Type | Bug |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
[NotNull]
public static IJsUnresolvedType GetReturnType(this IJsUnresolvedType type, IJsDocumentOffsetProvider context, int paramNumber, JsUnresolvedTypeArray invocationInfo)
{
....
}
return GetInvocationType(context).GetReturnType({caret}-1, JsUnresolvedTypeArray.NoList);
Suggests integer data, like GetHashCode(), instead of IJsDocumentOffsetProvider. Change -1 to 1 and everything works.