1 write to DisplayText
Microsoft.CodeAnalysis.Features (1)
171 references to DisplayText
Microsoft.AspNetCore.App.Analyzers.Test (52)
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (26)
35i => Assert.Equal("id", i.DisplayText));
63i => Assert.Equal("id", i.DisplayText));
91i => Assert.Equal("id", i.DisplayText));
119i => Assert.Equal("id", i.DisplayText));
149i => Assert.Equal("id", i.DisplayText));
177i => Assert.Equal("id", i.DisplayText));
205i => Assert.Equal("id", i.DisplayText));
233i => Assert.Equal("id", i.DisplayText));
261i => Assert.Equal("ids", i.DisplayText));
334i => Assert.Equal("id", i.DisplayText));
359i => Assert.Equal("id", i.DisplayText));
405i => Assert.Equal("id2", i.DisplayText));
429i => Assert.Equal("id", i.DisplayText),
430i => Assert.Equal("id2", i.DisplayText));
454i => Assert.Equal("id", i.DisplayText));
531i => Assert.Equal("id", i.DisplayText));
564i => Assert.Equal("id", i.DisplayText));
660i => Assert.Equal("id", i.DisplayText));
747i => Assert.Equal("id", i.DisplayText));
801i => Assert.Equal("id", i.DisplayText));
845var item = result.Completions.ItemsList.FirstOrDefault(i => i.DisplayText == "id");
875i => Assert.Equal("id", i.DisplayText));
935i => Assert.Equal("id", i.DisplayText));
965i => Assert.Equal("id", i.DisplayText));
995i => Assert.Equal("id", i.DisplayText));
1060i => Assert.Equal("id", i.DisplayText));
RouteEmbeddedLanguage\RoutePatternCompletionProviderTests.cs (20)
64Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
95Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
120Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
149Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
178Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
210Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
258i => Assert.Equal("id", i.DisplayText));
283i => Assert.Equal("id1", i.DisplayText));
312i => Assert.Equal("id", i.DisplayText));
341i => Assert.Equal("id", i.DisplayText));
370i => Assert.Equal("id", i.DisplayText));
406i => Assert.Equal("id", i.DisplayText));
446i => Assert.Equal("PageIndex", i.DisplayText),
447i => Assert.Equal("PageNumber", i.DisplayText));
520i => Assert.Equal("id", i.DisplayText));
603i => Assert.Equal("id2", i.DisplayText));
636i => Assert.Equal("id", i.DisplayText));
658Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
680Assert.Equal("alpha", result.Completions.ItemsList[0].DisplayText);
706Assert.Equal("bool", result.Completions.ItemsList[0].DisplayText);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (39)
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (13)
56c => Assert.Equal("SomeText0", c.DisplayText),
57c => Assert.Equal("SomeText1", c.DisplayText),
58c => Assert.Equal("SomeText2", c.DisplayText),
59c => Assert.Equal("SomeText3", c.DisplayText),
60c => Assert.Equal("\uD884\uDF4AStartWith_3134A_Identifier", c.DisplayText),
61c => Assert.Equal("\uffdcStartWith_FFDC_Identifier", c.DisplayText),
65Assert.Equal("float", c.DisplayText);
251i => Assert.Equal(displayText1, i.DisplayText),
252i => Assert.Equal(displayText2, i.DisplayText));
279i => Assert.Equal("float", i.DisplayText),
280i => Assert.Equal("int", i.DisplayText));
454AssertEx.SetEqual(items.Select(i => i.DisplayText), toTypes);
516AssertEx.SetEqual(items.Select(i => i.DisplayText), expected);
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (25)
227i => Assert.Equal("==", i.DisplayText),
228i => Assert.Equal("!=", i.DisplayText),
229i => Assert.Equal(">", i.DisplayText),
230i => Assert.Equal(">=", i.DisplayText),
231i => Assert.Equal("<", i.DisplayText),
232i => Assert.Equal("<=", i.DisplayText),
233i => Assert.Equal("!", i.DisplayText),
234i => Assert.Equal("+", i.DisplayText), // Addition a+b
235i => Assert.Equal("-", i.DisplayText), // Subtraction a-b
236i => Assert.Equal("*", i.DisplayText),
237i => Assert.Equal("/", i.DisplayText),
238i => Assert.Equal("%", i.DisplayText),
239i => Assert.Equal("++", i.DisplayText),
240i => Assert.Equal("--", i.DisplayText),
241i => Assert.Equal("+", i.DisplayText), // Unary plus +a
242i => Assert.Equal("-", i.DisplayText), // Unary minus -a
243i => Assert.Equal("&", i.DisplayText),
244i => Assert.Equal("|", i.DisplayText),
245i => Assert.Equal("^", i.DisplayText),
246i => Assert.Equal("<<", i.DisplayText),
247i => Assert.Equal(">>", i.DisplayText),
248i => Assert.Equal(">>>", i.DisplayText),
249i => Assert.Equal("~", i.DisplayText)
455Assert.Equal("+", i.DisplayText);
460Assert.Equal("+", i.DisplayText);
Microsoft.CodeAnalysis.CSharp.Features (11)
Microsoft.CodeAnalysis.EditorFeatures (8)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
Completion\AbstractCompletionProviderTests.cs (12)
225c => CompareItems(c.DisplayText, result.Name)
246if (!CompareItems(c.DisplayText, result.Name))
616Assert.Contains(itemToCommit, items.Select(x => x.DisplayText), GetStringComparer());
617var firstItem = items.First(i => CompareItems(i.DisplayText, itemToCommit));
739Assert.Contains(items, i => i.DisplayText + i.DisplayTextSuffix == itemToCommit);
740var firstItem = items.First(i => CompareItems(i.DisplayText + i.DisplayTextSuffix, itemToCommit));
971AssertEx.Any(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem));
973var item = completionList.ItemsList.First(c => CompareItems(c.DisplayText, expectedItem));
989AssertEx.None(completionList.ItemsList, c => CompareItems(c.DisplayText, expectedItem));
1022var item = completionList.ItemsList.FirstOrDefault(i => i.DisplayText == expectedItem);
1052var item = completionList.ItemsList.Single(c => c.DisplayText == expectedItem);
1328var item = completionList.ItemsList.First(i => i.DisplayText.StartsWith(textTypedSoFar));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (3)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.Features (36)
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)