Formatting.HumanReadableFormat(Diagnostic) Method

Definition

Returns a string that contains all information about the given diagnostic in human readable format. The string contains one-based position information if the range information is not null, assuming the given position information is zero-based.

public static string HumanReadableFormat (Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic msg);
static member HumanReadableFormat : Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic -> string
Public Shared Function HumanReadableFormat (msg As Diagnostic) As String

Parameters

Returns

String

Applies to