2 instantiations of CompletionList
Microsoft.CodeAnalysis.Features (2)
Completion\CompletionList.cs (2)
118
return new
CompletionList
(defaultSpan, itemsList, rules, suggestionModeItem, isExclusive);
184
public static readonly CompletionList Empty =
new
(
30 references to CompletionList
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Completion\OmniSharpCompletionService.cs (1)
28
public static Task<
CompletionList
> GetCompletionsAsync(
Microsoft.CodeAnalysis.Features (29)
Completion\CompletionList.cs (20)
36
/// The span of the syntax element at the caret position when the <see cref="
CompletionList
"/> was created.
43
/// The span of the syntax element at the caret position when the <see cref="
CompletionList
"/>
96
/// Creates a new <see cref="
CompletionList
"/> instance.
98
/// <param name="defaultSpan">The span of the syntax element at the caret position when the <see cref="
CompletionList
"/> was created.</param>
102
public static
CompletionList
Create(
111
internal static
CompletionList
Create(
121
private
CompletionList
With(
146
/// Creates a copy of this <see cref="
CompletionList
"/> with the <see cref="DefaultSpan"/> property changed.
149
public
CompletionList
WithDefaultSpan(TextSpan span)
152
public
CompletionList
WithSpan(TextSpan span)
157
/// Creates a copy of this <see cref="
CompletionList
"/> with the <see cref="Items"/> property changed.
159
public
CompletionList
WithItems(ImmutableArray<CompletionItem> items)
164
/// Creates a copy of this <see cref="
CompletionList
"/> with the <see cref="ItemsList"/> property changed.
166
internal
CompletionList
WithItemsList(IReadOnlyList<CompletionItem> itemsList)
170
/// Creates a copy of this <see cref="
CompletionList
"/> with the <see cref="Rules"/> property changed.
172
public
CompletionList
WithRules(CompletionRules rules)
176
/// Creates a copy of this <see cref="
CompletionList
"/> with the <see cref="SuggestionModeItem"/> property changed.
178
public
CompletionList
WithSuggestionModeItem(CompletionItem suggestionModeItem)
182
/// The default <see cref="
CompletionList
"/> returned when no items are found to populate the list.
184
public static readonly
CompletionList
Empty = new(
Completion\CompletionProvider.cs (1)
25
/// Implement to contribute <see cref="CompletionItem"/>'s and other details to a <see cref="
CompletionList
"/>
Completion\CompletionService_GetCompletions.cs (6)
37
public Task<
CompletionList
> GetCompletionsAsync(
61
internal virtual async Task<
CompletionList
> GetCompletionsAsync(
101
return
CompletionList
.Empty;
251
private
CompletionList
MergeAndPruneCompletionLists(
275
return
CompletionList
.Empty;
278
return
CompletionList
.Create(
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (2)
130
var
completionList = await service.GetCompletionsAsync(
147
CompletionList
completionList, WordSimilarityChecker similarityChecker)