Header menu logo F# Compiler Guide

TypeMismatchDiagnosticExtendedData Type

Additional data for type-mismatch-like (usually with ErrorNumber = 1) diagnostics

Instance members

Instance member Description

this.ActualType

Full Usage: this.ActualType

Returns: FSharpType

Represents F# type type actual in the current context

Returns: FSharpType

this.ContextInfo

Full Usage: this.ContextInfo

Returns: DiagnosticContextInfo

The context in which the type mismatch was found

Returns: DiagnosticContextInfo

this.DisplayContext

Full Usage: this.DisplayContext

Returns: FSharpDisplayContext

Represents the information needed to format types

Returns: FSharpDisplayContext

this.ExpectedType

Full Usage: this.ExpectedType

Returns: FSharpType

Represents F# type expected in the current context

Returns: FSharpType

Type something to start searching.