11 references to Text
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
AssertExtensions.cs (1)
27Assert.Equal(expectedText, run.Text);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (3)
27var text = data.GetProperty(nameof(ClassifiedTextRun.Text)).GetString(); 42writer.WriteString(nameof(ClassifiedTextRun.Text), value.Text);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Hover\HoverTests.cs (1)
619var content = string.Join("|", classifiedTextElements.Select(cte => string.Join(string.Empty, cte.Runs.Select(ctr => ctr.Text))));
References\FindAllReferencesHandlerTests.cs (1)
140var actualText = string.Concat(textElement.Runs.Select(r => r.Text));
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (3)
Cohost\HoverAssertions.cs (1)
68Assert.Equal(text, run.Text);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (1)
1724sb.Append(run.Text);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFindAllReferencesEndpointTest.cs (1)
317return string.Join("", classifiedText.Runs.Select(s => s.Text));
Microsoft.VisualStudioCode.RazorExtension.UnitTests (2)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (1)
1724sb.Append(run.Text);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFindAllReferencesEndpointTest.cs (1)
317return string.Join("", classifiedText.Runs.Select(s => s.Text));