Search Results for

    Show / Hide Table of Contents

    Class DiagnosticFormatter

    Formats Diagnostic messages.

    Inheritance
    System.Object
    DiagnosticFormatter
    LuaDiagnosticFormatter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Loretta.CodeAnalysis
    Assembly: Loretta.CodeAnalysis.dll
    Syntax
    public class DiagnosticFormatter

    Methods

    | Improve this Doc View Source

    Format(Diagnostic, Nullable<IFormatProvider>)

    Formats the Diagnostic message using the optional .

    Declaration
    public virtual string Format(Diagnostic diagnostic, IFormatProvider? formatter = null)
    Parameters
    Type Name Description
    Diagnostic diagnostic

    The diagnostic.

    System.Nullable<IFormatProvider> formatter

    The formatter; or null to use the default formatter.

    Returns
    Type Description
    System.String

    The formatted message.

    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾