1 write to SortText
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionItem.cs (1)
193SortText = sortText ?? DisplayText;
12 references to SortText
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (1)
66Assert.Equal("\uFFFD001_float", c.SortText);
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (2)
456Assert.EndsWith("002_007", i.SortText); // Addition 461Assert.EndsWith("002_014", i.SortText); // unary plus
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
562sortText: roslynItem.SortText,
Microsoft.CodeAnalysis.Features (5)
Completion\CompletionItem.cs (5)
361var newSortText = sortText.HasValue ? sortText.Value : SortText; 374newSortText == SortText && 440/// Creates a copy of this <see cref="CompletionItem"/> with the <see cref="SortText"/> property changed. 527var result = StringComparer.OrdinalIgnoreCase.Compare(SortText, other.SortText);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\Completion\CompletionResolveHandler.cs (1)
122&& (lspCompletionItem.SortText is null || lspCompletionItem.SortText == completionItem.SortText);
Handler\Completion\CompletionResultFactory.cs (2)
131if (!lspItem.Label.Equals(item.SortText, StringComparison.Ordinal)) 132lspItem.SortText = item.SortText;