Header menu logo FSharp.Core

IntrinsicFunctions Module

The F# compiler emits calls to some of the functions in this module as part of the compiled form of some language constructs

Functions and values

Function or value Description

CheckThis arg1

Full Usage: CheckThis arg1

Parameters:
    arg0 : 'T

Returns: 'T

A compiler intrinsic for checking initialization soundness of recursive bindings

arg0 : 'T
Returns: 'T

CreateInstance ()

Full Usage: CreateInstance ()

Parameters:
Returns: 'T
Modifiers: inline
Type parameters: 'T
This function implements calls to default constructors
 accessed by 'new' constraints.
() : unit
Returns: 'T

Dispose resource

Full Usage: Dispose resource

Parameters:
    resource : 'T

A compiler intrinsic for the efficient compilation of sequence expressions

resource : 'T

FailInit ()

Full Usage: FailInit ()

Parameters:

A compiler intrinsic for checking initialization soundness of recursive bindings

() : unit

FailStaticInit ()

Full Usage: FailStaticInit ()

Parameters:

A compiler intrinsic for checking initialization soundness of recursive static bindings

() : unit

GetArray source index

Full Usage: GetArray source index

Parameters:
Returns: 'T
Modifiers: inline
Type parameters: 'T

The standard overloaded associative (indexed) lookup operator

source : 'T array
index : int
Returns: 'T

GetArray2D source index1 index2

Full Usage: GetArray2D source index1 index2

Parameters:
    source : 'T[,]
    index1 : int
    index2 : int

Returns: 'T
Modifiers: inline
Type parameters: 'T

The standard overloaded associative (2-indexed) lookup operator

source : 'T[,]
index1 : int
index2 : int
Returns: 'T

GetArray3D source index1 index2 index3

Full Usage: GetArray3D source index1 index2 index3

Parameters:
    source : 'T[,,]
    index1 : int
    index2 : int
    index3 : int

Returns: 'T
Modifiers: inline
Type parameters: 'T

The standard overloaded associative (3-indexed) lookup operator

source : 'T[,,]
index1 : int
index2 : int
index3 : int
Returns: 'T

GetArray4D source index1 index2 index3 index4

Full Usage: GetArray4D source index1 index2 index3 index4

Parameters:
    source : 'T[,,,]
    index1 : int
    index2 : int
    index3 : int
    index4 : int

Returns: 'T
Modifiers: inline
Type parameters: 'T

The standard overloaded associative (4-indexed) lookup operator

source : 'T[,,,]
index1 : int
index2 : int
index3 : int
index4 : int
Returns: 'T

GetString source index

Full Usage: GetString source index

Parameters:
Returns: char
Modifiers: inline

Primitive used by pattern match compilation

source : string
index : int
Returns: char

MakeDecimal low medium high isNegative scale

Full Usage: MakeDecimal low medium high isNegative scale

Parameters:
Returns: decimal
Modifiers: inline

This function implements parsing of decimal constants

low : int
medium : int
high : int
isNegative : bool
scale : byte
Returns: decimal

SetArray target index value

Full Usage: SetArray target index value

Parameters:
    target : 'T array
    index : int
    value : 'T

Modifiers: inline
Type parameters: 'T

The standard overloaded associative (indexed) mutation operator

target : 'T array
index : int
value : 'T

SetArray2D target index1 index2 value

Full Usage: SetArray2D target index1 index2 value

Parameters:
    target : 'T[,]
    index1 : int
    index2 : int
    value : 'T

Modifiers: inline
Type parameters: 'T

The standard overloaded associative (2-indexed) mutation operator

target : 'T[,]
index1 : int
index2 : int
value : 'T

SetArray3D target index1 index2 index3 value

Full Usage: SetArray3D target index1 index2 index3 value

Parameters:
    target : 'T[,,]
    index1 : int
    index2 : int
    index3 : int
    value : 'T

Modifiers: inline
Type parameters: 'T

The standard overloaded associative (3-indexed) mutation operator

target : 'T[,,]
index1 : int
index2 : int
index3 : int
value : 'T

SetArray4D target index1 index2 index3 index4 value

Full Usage: SetArray4D target index1 index2 index3 index4 value

Parameters:
    target : 'T[,,,]
    index1 : int
    index2 : int
    index3 : int
    index4 : int
    value : 'T

Modifiers: inline
Type parameters: 'T

The standard overloaded associative (4-indexed) mutation operator

target : 'T[,,,]
index1 : int
index2 : int
index3 : int
index4 : int
value : 'T

TypeTestFast source

Full Usage: TypeTestFast source

Parameters:
Returns: bool
Modifiers: inline
Type parameters: 'T

A compiler intrinsic that implements the ':?' operator

source : objnull
Returns: bool

TypeTestGeneric source

Full Usage: TypeTestGeneric source

Parameters:
Returns: bool

A compiler intrinsic that implements the ':?' operator

source : objnull
Returns: bool

UnboxFast source

Full Usage: UnboxFast source

Parameters:
Returns: 'T
Modifiers: inline
Type parameters: 'T

A compiler intrinsic that implements the ':?>' operator

source : objnull
Returns: 'T

UnboxGeneric source

Full Usage: UnboxGeneric source

Parameters:
Returns: 'T

A compiler intrinsic that implements the ':?>' operator

source : objnull
Returns: 'T

Type something to start searching.