27 references to SymbolCompletionItem
Microsoft.CodeAnalysis.Features (27)
Completion\Providers\AbstractCrefCompletionProvider.cs (4)
21
var position =
SymbolCompletionItem
.GetContextPosition(item);
41
var name =
SymbolCompletionItem
.GetSymbolName(item);
42
var kind =
SymbolCompletionItem
.GetKind(item);
44
return await
SymbolCompletionItem
.GetDescriptionAsync(item, bestSymbols, document, semanticModel, displayOptions, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (1)
130
var symbols = await
SymbolCompletionItem
.GetSymbolsAsync(completionItem, document, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
35
return
SymbolCompletionItem
.CreateWithSymbolId(
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (2)
83
context.AddItem(
SymbolCompletionItem
.CreateWithSymbolId(
95
=>
SymbolCompletionItem
.GetDescriptionAsync(item, document, displayOptions, cancellationToken);
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (3)
65
return
SymbolCompletionItem
.CreateWithSymbolId(
111
=>
SymbolCompletionItem
.GetDescriptionAsync(item, document, displayOptions, cancellationToken);
115
var insertionText =
SymbolCompletionItem
.GetInsertionText(selectedItem);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (6)
160
return
SymbolCompletionItem
.CreateWithNameAndKind(
205
var position =
SymbolCompletionItem
.GetContextPosition(item);
206
var name =
SymbolCompletionItem
.GetSymbolName(item);
207
var kind =
SymbolCompletionItem
.GetKind(item);
208
var isGeneric =
SymbolCompletionItem
.GetSymbolIsGeneric(item);
253
return await
SymbolCompletionItem
.GetDescriptionAsync(item, bestSymbols.SelectAsArray(t => t.Symbol), document, context.SemanticModel, displayOptions, cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractSymbolCompletionProvider.cs (4)
233
return
SymbolCompletionItem
.CreateWithSymbolId(
254
=>
SymbolCompletionItem
.GetDescriptionAsync(item, document, displayOptions, cancellationToken);
418
?
SymbolCompletionItem
.GetInsertionText(item)
426
=>
SymbolCompletionItem
.GetInsertionText(item);
Completion\Providers\MemberInsertingCompletionItem.cs (2)
25
return
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);