27 references to SymbolCompletionItem
Microsoft.CodeAnalysis.Features (27)
Completion\Providers\AbstractCrefCompletionProvider.cs (4)
21var position = SymbolCompletionItem.GetContextPosition(item); 41var name = SymbolCompletionItem.GetSymbolName(item); 42var kind = SymbolCompletionItem.GetKind(item); 44return await SymbolCompletionItem.GetDescriptionAsync(item, bestSymbols, document, semanticModel, displayOptions, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (1)
130var symbols = await SymbolCompletionItem.GetSymbolsAsync(completionItem, document, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
35return SymbolCompletionItem.CreateWithSymbolId(
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (2)
83context.AddItem(SymbolCompletionItem.CreateWithSymbolId( 95=> SymbolCompletionItem.GetDescriptionAsync(item, document, displayOptions, cancellationToken);
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (3)
65return SymbolCompletionItem.CreateWithSymbolId( 111=> SymbolCompletionItem.GetDescriptionAsync(item, document, displayOptions, cancellationToken); 115var insertionText = SymbolCompletionItem.GetInsertionText(selectedItem);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (6)
160return SymbolCompletionItem.CreateWithNameAndKind( 205var position = SymbolCompletionItem.GetContextPosition(item); 206var name = SymbolCompletionItem.GetSymbolName(item); 207var kind = SymbolCompletionItem.GetKind(item); 208var isGeneric = SymbolCompletionItem.GetSymbolIsGeneric(item); 253return await SymbolCompletionItem.GetDescriptionAsync(item, bestSymbols.SelectAsArray(t => t.Symbol), document, context.SemanticModel, displayOptions, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractSymbolCompletionProvider.cs (4)
233return SymbolCompletionItem.CreateWithSymbolId( 254=> SymbolCompletionItem.GetDescriptionAsync(item, document, displayOptions, cancellationToken); 418? SymbolCompletionItem.GetInsertionText(item) 426=> SymbolCompletionItem.GetInsertionText(item);
Completion\Providers\MemberInsertingCompletionItem.cs (2)
25return SymbolCompletionItem.CreateWithSymbolId( 39=> SymbolCompletionItem.GetDescriptionAsync(item, document, options, cancellationToken);
ExternalAccess\Pythia\Api\PythiaCompletionProviderBase.cs (4)
45=> SymbolCompletionItem.CreateWithSymbolId(displayText, displayTextSuffix: null, symbols, rules, contextPosition, sortText, insertionText, 52=> SymbolCompletionItem.HasSymbols(item) 53? SymbolCompletionItem.GetDescriptionAsync(item, document, displayOptions, cancellationToken) 70=> SymbolCompletionItem.TryGetInsertionText(item, out insertionText);