1 write to DisplayTextPrefix
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionItem.cs (1)
191
DisplayTextPrefix
= displayTextPrefix ?? "";
9 references to DisplayTextPrefix
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
624
=> span.MoveTo(item.
DisplayTextPrefix
?.Length ?? 0).ToSpan();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Completion\AbstractCompletionProviderTests.cs (2)
227
&& CompareItems(c.
DisplayTextPrefix
, result.DisplayTextPrefix ?? "")
250
if (!CompareItems(c.
DisplayTextPrefix
, result.DisplayTextPrefix ?? ""))
Microsoft.CodeAnalysis.Features (6)
Completion\CompletionItem.cs (5)
365
var newDisplayTextPrefix = displayTextPrefix.HasValue ? displayTextPrefix.Value :
DisplayTextPrefix
;
377
newDisplayTextPrefix ==
DisplayTextPrefix
&&
421
/// Creates a copy of this <see cref="CompletionItem"/> with the <see cref="
DisplayTextPrefix
"/> property changed.
547
_lazyEntireDisplayText ??= (
DisplayTextPrefix
.Length > 0 || DisplayTextSuffix.Length > 0)
548
?
DisplayTextPrefix
+ DisplayText + DisplayTextSuffix
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
114
displayTextPrefix: attributeItem.
DisplayTextPrefix
,