2 instantiations of CompletionList
Microsoft.CodeAnalysis.Features (2)
Completion\CompletionList.cs (2)
118return new CompletionList(defaultSpan, itemsList, rules, suggestionModeItem, isExclusive); 184public static readonly CompletionList Empty = new(
30 references to CompletionList
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Completion\OmniSharpCompletionService.cs (1)
28public 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> 102public static CompletionList Create( 111internal static CompletionList Create( 121private CompletionList With( 146/// Creates a copy of this <see cref="CompletionList"/> with the <see cref="DefaultSpan"/> property changed. 149public CompletionList WithDefaultSpan(TextSpan span) 152public CompletionList WithSpan(TextSpan span) 157/// Creates a copy of this <see cref="CompletionList"/> with the <see cref="Items"/> property changed. 159public CompletionList WithItems(ImmutableArray<CompletionItem> items) 164/// Creates a copy of this <see cref="CompletionList"/> with the <see cref="ItemsList"/> property changed. 166internal CompletionList WithItemsList(IReadOnlyList<CompletionItem> itemsList) 170/// Creates a copy of this <see cref="CompletionList"/> with the <see cref="Rules"/> property changed. 172public CompletionList WithRules(CompletionRules rules) 176/// Creates a copy of this <see cref="CompletionList"/> with the <see cref="SuggestionModeItem"/> property changed. 178public CompletionList WithSuggestionModeItem(CompletionItem suggestionModeItem) 182/// The default <see cref="CompletionList"/> returned when no items are found to populate the list. 184public 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)
37public Task<CompletionList> GetCompletionsAsync( 61internal virtual async Task<CompletionList> GetCompletionsAsync( 101return CompletionList.Empty; 251private CompletionList MergeAndPruneCompletionLists( 275return CompletionList.Empty; 278return CompletionList.Create(
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (2)
130var completionList = await service.GetCompletionsAsync( 147CompletionList completionList, WordSimilarityChecker similarityChecker)