Header menu logo F# Compiler Guide

CompilerEnvironment Type

Information about the compilation environment

Static members

Static member Description

CompilerEnvironment.BinFolderOfDefaultFSharpCompiler(?probePoint)

Full Usage: CompilerEnvironment.BinFolderOfDefaultFSharpCompiler(?probePoint)

Parameters:
    ?probePoint : string

Returns: string option

The default location of FSharp.Core.dll and fsc.exe based on the version of fsc.exe that is running

?probePoint : string
Returns: string option

CompilerEnvironment.DefaultReferencesForOrphanSources(assumeDotNetFramework)

Full Usage: CompilerEnvironment.DefaultReferencesForOrphanSources(assumeDotNetFramework)

Parameters:
    assumeDotNetFramework : bool

Returns: string list

These are the names of assemblies that should be referenced for .fs or .fsi files that are not associated with a project.

assumeDotNetFramework : bool
Returns: string list

CompilerEnvironment.GetConditionalDefinesForEditing(parsingOptions)

Full Usage: CompilerEnvironment.GetConditionalDefinesForEditing(parsingOptions)

Parameters:
Returns: string list

Return the compilation defines that should be used when editing the given file.

parsingOptions : FSharpParsingOptions
Returns: string list

CompilerEnvironment.GetDebuggerLanguageID()

Full Usage: CompilerEnvironment.GetDebuggerLanguageID()

Returns: Guid

Return the language ID, which is the expression evaluator id that the debugger will use.

Returns: Guid

CompilerEnvironment.IsCheckerSupportedSubcategory(arg1)

Full Usage: CompilerEnvironment.IsCheckerSupportedSubcategory(arg1)

Parameters:
    arg0 : string

Returns: bool

Return true if this is a subcategory of error or warning message that the language service can emit

arg0 : string
Returns: bool

CompilerEnvironment.IsCompilable(arg1)

Full Usage: CompilerEnvironment.IsCompilable(arg1)

Parameters:
    arg0 : string

Returns: bool

Whether or not this file is compilable

arg0 : string
Returns: bool

CompilerEnvironment.IsScriptFile(arg1)

Full Usage: CompilerEnvironment.IsScriptFile(arg1)

Parameters:
    arg0 : string

Returns: bool

A helpers for dealing with F# files.

arg0 : string
Returns: bool

CompilerEnvironment.MustBeSingleFileProject(arg1)

Full Usage: CompilerEnvironment.MustBeSingleFileProject(arg1)

Parameters:
    arg0 : string

Returns: bool

Whether or not this file should be a single-file project

arg0 : string
Returns: bool

Type something to start searching.