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)
659vsCompletionItem.Description = new ClassifiedTextElement(description.TaggedParts
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
163return new ClassifiedTextElement(taggedTexts.ToArray().Select(part => new ClassifiedTextRun(part.Tag.ToClassificationTypeName(), part.Text)));
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
25return new ClassifiedTextElement(objects);
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Tooltip\ClassifiedTagHelperTooltipFactory.cs (3)
472classifiedElementContainer.Add(new ContainerElement(ContainerElementStyle.Wrapped, glyph, new ClassifiedTextElement(classification.Type))); 476classifiedElementContainer.Add(new ContainerElement(ContainerElementStyle.Wrapped, new ClassifiedTextElement(classification.Documentation))); 503return new ClassifiedTextElement(runs);