Patterns (FSharp.Core)
An active pattern to recognize expressions that represent getting the address of a value
An active pattern to recognize expressions that represent getting the address of a value
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent setting the value held at an address
An active pattern to recognize expressions that represent setting the value held at an address
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent applications of first class function values
An active pattern to recognize expressions that represent applications of first class function values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent calls to static and instance methods, and functions defined in modules, including witness arguments
An active pattern to recognize expressions that represent calls to static and instance methods, and functions defined in modules, including witness arguments
-
input
:
Expr -
The input expression to match against.
-
Returns:
(Expr option * MethodInfo * MethodInfo * Expr list * Expr list) option -
When successful, the pattern binds the object, method, witness-argument and argument sub-expressions of the input expression
An active pattern to recognize expressions that represent calls to static and instance methods, and functions defined in modules
An active pattern to recognize expressions that represent calls to static and instance methods, and functions defined in modules
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent coercions from one type to another
An active pattern to recognize expressions that represent coercions from one type to another
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent invocations of a default constructor of a struct
An active pattern to recognize expressions that represent invocations of a default constructor of a struct
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent getting a static or instance field
An active pattern to recognize expressions that represent getting a static or instance field
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent setting a static or instance field
An active pattern to recognize expressions that represent setting a static or instance field
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent loops over integer ranges
An active pattern to recognize expressions that represent loops over integer ranges
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent conditionals
An active pattern to recognize expressions that represent conditionals
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent first class function values
An active pattern to recognize expressions that represent first class function values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent recursive let bindings of one or more variables
An active pattern to recognize expressions that represent recursive let bindings of one or more variables
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent let bindings
An active pattern to recognize expressions that represent let bindings
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent the construction of arrays
An active pattern to recognize expressions that represent the construction of arrays
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent construction of delegate values
An active pattern to recognize expressions that represent construction of delegate values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent invocation of object constructors
An active pattern to recognize expressions that represent invocation of object constructors
-
input
:
Expr -
The input expression to match against.
-
Returns:
(ConstructorInfo * Expr list) option -
When successful, the pattern binds the constructor and arguments of the input expression
An active pattern to recognize expressions that represent construction of record values
An active pattern to recognize expressions that represent construction of record values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent construction of struct tuple values
An active pattern to recognize expressions that represent construction of struct tuple values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent construction of tuple values
An active pattern to recognize expressions that represent construction of tuple values
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent construction of particular union case values
An active pattern to recognize expressions that represent construction of particular union case values
-
input
:
Expr -
The input expression to match against.
-
Returns:
(UnionCaseInfo * Expr list) option -
When successful, the pattern binds the union case and field values of the input expression
An active pattern to recognize expressions that represent the read of a static or instance property, or a non-function value declared in a module
An active pattern to recognize expressions that represent the read of a static or instance property, or a non-function value declared in a module
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent setting a static or instance property, or a non-function value declared in a module
An active pattern to recognize expressions that represent setting a static or instance property, or a non-function value declared in a module
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a nested raw quotation literal
An active pattern to recognize expressions that represent a nested raw quotation literal
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a nested typed quotation literal
An active pattern to recognize expressions that represent a nested typed quotation literal
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent sequential execution of one expression followed by another
An active pattern to recognize expressions that represent sequential execution of one expression followed by another
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a try/finally construct
An active pattern to recognize expressions that represent a try/finally construct
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a try/with construct for exception filtering and catching
An active pattern to recognize expressions that represent a try/with construct for exception filtering and catching
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent getting a tuple field
An active pattern to recognize expressions that represent getting a tuple field
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a dynamic type test
An active pattern to recognize expressions that represent a dynamic type test
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a test if a value is of a particular union case
An active pattern to recognize expressions that represent a test if a value is of a particular union case
-
input
:
Expr -
The input expression to match against.
-
Returns:
(Expr * UnionCaseInfo) option -
When successful, the pattern binds the expression and union case being tested
An active pattern to recognize expressions that represent a constant value
An active pattern to recognize expressions that represent a constant value
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a constant value. This also matches expressions matched by ValueWithName.
An active pattern to recognize expressions that represent a constant value. This also matches expressions matched by ValueWithName.
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent setting a mutable variable
An active pattern to recognize expressions that represent setting a mutable variable
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent a variable
An active pattern to recognize expressions that represent a variable
-
input
:
Expr -
The input expression to match against.
An active pattern to recognize expressions that represent while loops
An active pattern to recognize expressions that represent while loops
-
input
:
Expr -
The input expression to match against.