FSharp.Core


CompilerMessageAttribute Type

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

Constructors

Constructor Description

CompilerMessageAttribute(message, messageNumber)

Full Usage: CompilerMessageAttribute(message, messageNumber)

Parameters:
Returns: CompilerMessageAttribute

Creates an instance of the attribute.

message : string
messageNumber : int
Returns: CompilerMessageAttribute

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