예제 #1
0
        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);
            }
        }
예제 #2
0
        public async Task <IInlineRenameLocationSet> FindRenameLocationsAsync(OptionSet optionSet, CancellationToken cancellationToken)
        {
            var set = await _info.FindRenameLocationsAsync(optionSet, cancellationToken).ConfigureAwait(false);

            return(new FSharpInlineRenameLocationSet(set));
        }