33 writes to Label
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.Razor.Workspaces (8)
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (13)
Microsoft.VisualStudio.LanguageServices.Razor (1)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (5)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (1)
1537Label = label,
Microsoft.VisualStudioCode.RazorExtension.UnitTests (3)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (1)
1537Label = label,
98 references to Label
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (48)
Completion\CompletionTests.cs (25)
222AssertJsonEquals(expected, results.Items.Single(i => i.Label == "Goo"));
262AssertJsonEquals(expected, results.Items.Single(i => i.Label == "Goo"));
322Assert.False(results.Items.Any(item => "Console" == item.Label));
347Assert.False(results.Items.Any(item => "ctor" == item.Label));
994var itemW = results.Items.Single(item => item.Label == "W");
1050Assert.Equal("T", results.Items.First().Label);
1063Assert.Contains("ta", results.Items.First().Label, StringComparison.OrdinalIgnoreCase);
1118Assert.Equal("T", results.Items.First().Label);
1131Assert.Equal("TaiwanCalendar", results.Items.First().Label);
1186Assert.Equal("T", results.Items.First().Label);
1198Assert.Equal("Task", results.Items.First().Label);
1211Assert.Equal("T", results.Items.First().Label);
1223Assert.Equal("Timeout", results.Items.First().Label);
1283Assert.Contains(results.Items, i => i.Label == "T"); // It's client's responsibility to sort, so we can't assume the best match is the first item.
1294Assert.Contains(results.Items, i => i.Label == "WindowHeight"); // It's client's responsibility to sort, so we can't assume the best match is the first item.
1348Assert.Contains("ta", results.Items.First().Label, StringComparison.OrdinalIgnoreCase);
1410Assert.Equal("T", results.Items.First().Label);
1411Assert.Single(results.Items, item => item.Label == "Taaa");
1427Assert.Equal("Saaa", results.Items.First().Label);
1444Assert.DoesNotContain(results.Items, item => item.Label == "Saaa");
1445Assert.Contains(results.Items, item => item.Label == "Taaa");
1530Assert.Equal("T", results.Items.First().Label);
1684var nullItem = results.Items.SingleOrDefault(i => i.Label == "null");
1685var nuintItem = results.Items.SingleOrDefault(i => i.Label == "nuint");
1722var intItem = results.Items.SingleOrDefault(i => i.Label == "int");
Microsoft.CodeAnalysis.Razor.Workspaces (9)
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (11)
Microsoft.VisualStudio.LanguageServices.Razor (2)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (10)
Microsoft.VisualStudioCode.RazorExtension (2)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (7)