4 instantiations of MarkupContent
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Extensions\ProtocolConversions.cs (2)
867
return new LSP.
MarkupContent
940
return new LSP.
MarkupContent
Handler\SignatureHelp\SignatureHelpHandler.cs (2)
71
sigInfo.Documentation = new LSP.
MarkupContent
{ Kind = LSP.MarkupKind.PlainText, Value = item.DocumentationFactory(cancellationToken).GetFullText() };
75
Documentation = new LSP.
MarkupContent
{ Kind = LSP.MarkupKind.PlainText, Value = p.DocumentationFactory(cancellationToken).GetFullText() }
15 references to MarkupContent
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
External\ConversionHelpers.cs (1)
29
var
markupContent = ProtocolConversions.GetDocumentationMarkupContent(tags, language, clientSupportsMarkdown);
Internal\DescriptionService.cs (1)
98
var
markup = ProtocolConversions.GetDocumentationMarkupContent(tags, language, featureSupportsMarkdown);
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Extensions\ProtocolConversions.cs (2)
860
public static LSP.
MarkupContent
GetDocumentationMarkupContent(ImmutableArray<TaggedText> tags, TextDocument document, bool featureSupportsMarkdown)
863
public static LSP.
MarkupContent
GetDocumentationMarkupContent(ImmutableArray<TaggedText> tags, string language, bool featureSupportsMarkdown)
Handler\Hover\HoverHandler.cs (1)
124
Contents = new SumType<string, MarkedString, SumType<string, MarkedString>[],
MarkupContent
>(string.Empty),
Protocol\CompletionItem.cs (1)
95
public SumType<string,
MarkupContent
>? Documentation
Protocol\Converters\ParameterInformationConverter.cs (1)
37
parameter.Documentation = documentationElement.Deserialize<SumType<string,
MarkupContent
>>(options);
Protocol\Hover.cs (1)
23
public SumType<string, MarkedString, SumType<string, MarkedString>[],
MarkupContent
> Contents { get; set; }
Protocol\HoverSetting.cs (1)
18
/// The client supports the following content formats in a <see cref="
MarkupContent
"/>
Protocol\InlayHint.cs (1)
89
public SumType<string,
MarkupContent
>? ToolTip
Protocol\InlayHintLabelPart.cs (1)
37
public SumType<string,
MarkupContent
>? ToolTip
Protocol\Internal\VSInternalHover.cs (2)
33
public new SumType<string, MarkedString, SumType<string, MarkedString>[],
MarkupContent
>? Contents
35
get => contentsIsNull ? (SumType<string, MarkedString, SumType<string, MarkedString>[],
MarkupContent
>?)null : base.Contents;
Protocol\ParameterInformation.cs (1)
46
public SumType<string,
MarkupContent
>? Documentation
Protocol\SignatureInformation.cs (1)
33
public SumType<string,
MarkupContent
>? Documentation