Header menu logo fantomas

PhasedDiagnostic Type

Record fields

Record Field Description

Exception

Full Usage: Exception

Field type: exn
Field type: exn

Phase

Full Usage: Phase

Field type: BuildPhase
Field type: BuildPhase

Instance members

Instance member Description

this.DebugDisplay

Full Usage: this.DebugDisplay

Returns: string
Returns: string

this.IsPhaseInCompile

Full Usage: this.IsPhaseInCompile

Returns: bool

Return true if this phase is one that's known to be part of the 'compile'. This is the initial phase of the entire compilation that the language service knows about.

Returns: bool

this.Subcategory

Full Usage: this.Subcategory

Returns: string
 This is the textual subcategory to display in error and warning messages (shows only under --vserrors):

     file1.fs(72): subcategory warning FS0072: This is a warning message
Returns: string

Static members

Static member Description

PhasedDiagnostic.Create(exn, phase)

Full Usage: PhasedDiagnostic.Create(exn, phase)

Parameters:
Returns: PhasedDiagnostic

Construct a phased error

exn : exn
phase : BuildPhase
Returns: PhasedDiagnostic

PhasedDiagnostic.IsSubcategoryOfCompile(subcategory)

Full Usage: PhasedDiagnostic.IsSubcategoryOfCompile(subcategory)

Parameters:
    subcategory : string

Returns: bool

Return true if the textual phase given is from the compile part of the build process. This set needs to be equal to the set of subcategories that the language service can produce.

subcategory : string
Returns: bool

Type something to start searching.