public async Task <IInlineRenameLocationSet> FindRenameLocationsAsync(OptionSet optionSet, CancellationToken cancellationToken) { var set = await _info.FindRenameLocationsAsync(optionSet, cancellationToken).ConfigureAwait(false); if (set != null) { return(new FSharpInlineRenameLocationSetLegacyWrapper(set)); } else { return(null); } }
public async Task <IInlineRenameLocationSet> FindRenameLocationsAsync(OptionSet optionSet, CancellationToken cancellationToken) { var set = await _info.FindRenameLocationsAsync(optionSet, cancellationToken).ConfigureAwait(false); return(new FSharpInlineRenameLocationSet(set)); }