CompilerMessageAttribute (FSharp.Core)

Namespace: FSharp.Core
Assembly: FSharp.Core.dll
Base Type: Attribute
This is an attribute type definition

Indicates that a message should be emitted when F# source code uses this construct.

Instance members

Instance member Description

this.IsError

Full Usage: this.IsError

Indicates if the message should indicate a compiler error. Error numbers less than
 10000 are considered reserved for use by the F# compiler and libraries.

this.IsHidden

Full Usage: this.IsHidden

Indicates if the construct should always be hidden in an editing environment.

this.Message

Full Usage: this.Message

Returns: string

Indicates the warning message to be emitted when F# source code uses this construct

Returns: string

this.MessageNumber

Full Usage: this.MessageNumber

Returns: int

Indicates the number associated with the message.

Returns: int