Header menu logo FSharp.Core

WarnOnWithoutNullArgumentAttribute Type

When used in a compilation with null-checking enabled, indicates that a function is meant to be used only with potentially-nullable values and warns accordingly.

Constructors

Constructor Description

WarnOnWithoutNullArgumentAttribute(warningMessage)

Full Usage: WarnOnWithoutNullArgumentAttribute(warningMessage)

Parameters:
    warningMessage : string - The message displayed when the annotated function is used with a value known to be without null

Returns: WarnOnWithoutNullArgumentAttribute WarnOnWithoutNullArgumentAttribute

Creates an instance of the attribute

warningMessage : string

The message displayed when the annotated function is used with a value known to be without null

Returns: WarnOnWithoutNullArgumentAttribute

WarnOnWithoutNullArgumentAttribute

Instance members

Instance member Description

this.WarningMessage

Full Usage: this.WarningMessage

Returns: string

Warning message displayed when the annotated function is used with a value known to be without null

Returns: string

Type something to start searching.