Formatting.HumanReadableFormat(Diagnostic) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- msg
- Diagnostic