Header menu logo FSharp.Analyzers.SDK

Testing Module

Types and nested modules

Type/Module Description

Assert

CompilerDiagnosticErrors

Package

Functions and values

Function or value Description

getContext opts source

Full Usage: getContext opts source

Parameters:
Returns: CliContext
opts : FSharpProjectOptions
source : string
Returns: CliContext

getContextForSignature opts source

Full Usage: getContextForSignature opts source

Parameters:
Returns: CliContext
opts : FSharpProjectOptions
source : string
Returns: CliContext

mkOptionsFromProject framework additionalPkgs

Full Usage: mkOptionsFromProject framework additionalPkgs

Parameters:
    framework : string - The target framework for the tested code to use. E.g. net6.0, net7.0
    additionalPkgs : Package list - A list of additional packages that should be referenced. The tested code can use these.

Returns: Task<FSharpProjectOptions> FSharpProjectOptions

Creates a classlib project in a temporary folder to gather the needed FSharpProjectOptions.

framework : string

The target framework for the tested code to use. E.g. net6.0, net7.0

additionalPkgs : Package list

A list of additional packages that should be referenced. The tested code can use these.

Returns: Task<FSharpProjectOptions>

FSharpProjectOptions

Type extensions

Type extension Description

FSharpProjectOptions.zero ()

Full Usage: FSharpProjectOptions.zero ()

Parameters:
    () : unit

Returns: FSharpProjectOptions

Extended Type: FSharpProjectOptions

() : unit
Returns: FSharpProjectOptions

FSharpProjectOptions.zero

Full Usage: FSharpProjectOptions.zero

Returns: FSharpProjectOptions

Extended Type: FSharpProjectOptions

Returns: FSharpProjectOptions

Type something to start searching.