9 references to new
Microsoft.CodeAnalysis.EditorFeatures (1)
Extensions\LSPExtensions.cs (1)
21
=>
new
(element.Runs.Select(r => r.ToLSPRun()));
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Extensions\Extensions.cs (2)
271
=>
new
(definition.DisplayParts.Select(part => new ClassifiedTextRun(part.Tag.ToClassificationTypeName(), part.Text)));
339
=>
new
(element.Runs.Select(ToLSPRun));
Handler\Completion\CompletionResultFactory.cs (1)
659
vsCompletionItem.Description = new
ClassifiedTextElement
(description.TaggedParts
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
163
return new
ClassifiedTextElement
(taggedTexts.ToArray().Select(part => new ClassifiedTextRun(part.Tag.ToClassificationTypeName(), part.Text)));
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
25
return new
ClassifiedTextElement
(objects);
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Tooltip\ClassifiedTagHelperTooltipFactory.cs (3)
472
classifiedElementContainer.Add(new ContainerElement(ContainerElementStyle.Wrapped, glyph, new
ClassifiedTextElement
(classification.Type)));
476
classifiedElementContainer.Add(new ContainerElement(ContainerElementStyle.Wrapped, new
ClassifiedTextElement
(classification.Documentation)));
503
return new
ClassifiedTextElement
(runs);