FSharpCheckFileResults Type
A handle to the results of CheckFileInProject.
Instance members
Instance member |
Description
|
Full Usage:
this.DependencyFiles
Returns: string[]
|
Indicates the set of files which must be watched to accurately track changes that affect these results, Clients interested in reacting to updates to these files should watch these files and take actions as described in the documentation for compiler service.
|
|
The errors returned by parsing a source file.
|
|
Lays out and returns the formatted signature for the typechecked file as source text.
|
Full Usage:
this.GetAllUsesOfAllSymbolsInFile
Parameters:
CancellationToken
Returns: FSharpSymbolUse seq
|
Get all textual usages of all symbols throughout the file
|
Full Usage:
this.GetDeclarationListInfo
Parameters:
FSharpParseFileResults option
-
If this is present, it is used to filter declarations based on location in the
parse tree, specifically at 'open' declarations, 'inherit' of class or interface
'record field' locations and r.h.s. of 'range' operator a..b
line : int
-
The line number where the completion is happening
lineText : string
-
The text of the line where the completion is happening. This is only used to make a couple
of adhoc corrections to completion accuracy (e.g. checking for "..")
partialName : PartialLongName
-
Partial long name. QuickParse.GetPartialLongNameEx can be used to get it.
?getAllEntities : unit -> AssemblySymbol list
-
Function that returns all entities from current and referenced assemblies.
?completionContextAtPos : pos * CompletionContext option
-
Completion context for a particular position computed in advance.
Returns: DeclarationListInfo
|
Get the items for a declaration list
|
Full Usage:
this.GetDeclarationListSymbols
Parameters:
FSharpParseFileResults option
-
If this is present, it is used to filter declarations based on location in the
parse tree, specifically at 'open' declarations, 'inherit' of class or interface
'record field' locations and r.h.s. of 'range' operator a..b
line : int
-
The line number where the completion is happening
lineText : string
-
The text of the line where the completion is happening. This is only used to make a couple
of adhoc corrections to completion accuracy (e.g. checking for "..")
partialName : PartialLongName
-
Partial long name. QuickParse.GetPartialLongNameEx can be used to get it.
?getAllEntities : unit -> AssemblySymbol list
-
Function that returns all entities from current and referenced assemblies.
Returns: FSharpSymbolUse list list
|
Get the items for a declaration list in FSharpSymbol format
|
Full Usage:
this.GetDeclarationLocation
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
?preferFlag : bool
-
If not given, then get the location of the symbol. If false, then prefer the location of the corresponding symbol in the implementation of the file (rather than the signature if present). If true, prefer the location of the corresponding symbol in the signature of the file (rather than the implementation).
Returns: FindDeclResult
|
Resolve the names at the given location to the declaration location of the corresponding construct.
|
Full Usage:
this.GetDescription
Parameters:
FSharpSymbol
-
The symbol.
inst : (FSharpGenericParameter * FSharpType) list
-
Generic arguments.
displayFullName : bool
-
Display the symbol full name.
range : range
-
The position.
Returns: ToolTipText
|
Compute a formatted tooltip for the given symbol at position
|
Full Usage:
this.GetDisplayContextForPos
Parameters:
pos
Returns: FSharpDisplayContext option
|
Find the most precise display environment for the given line and column.
|
Full Usage:
this.GetF1Keyword
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
Returns: string option
|
Compute the Visual Studio F1-help key identifier for the given location, based on name resolution results
|
|
Get the locations of and number of arguments associated with format specifiers
|
Full Usage:
this.GetKeywordTooltip
Parameters:
string list
-
The keywords at the location where the information is being requested.
Returns: ToolTipText
|
Compute a formatted tooltip for the given keywords
|
Full Usage:
this.GetMethods
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list option
-
The identifiers at the location where the information is being requested.
Returns: MethodGroup
|
Compute a set of method overloads to show in a dialog relevant to the given code location.
|
Full Usage:
this.GetMethodsAsSymbols
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
Returns: FSharpSymbolUse list option
|
Compute a set of method overloads to show in a dialog relevant to the given code location. The resulting method overloads are returned as symbols.
|
Full Usage:
this.GetSemanticClassification
Parameters:
range option
Returns: SemanticClassificationItem[]
|
Get any extra colorization info that is available after the typecheck
|
Full Usage:
this.GetSymbolUseAtLocation
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
Returns: FSharpSymbolUse option
|
Resolve the names at the given location to a use of symbol.
|
Full Usage:
this.GetSymbolUsesAtLocation
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
Returns: FSharpSymbolUse list
|
Similar to GetSymbolUseAtLocation, but returns all found symbols if there are multiple.
|
Full Usage:
this.GetToolTip
Parameters:
int
-
The line number where the information is being requested.
colAtEndOfNames : int
-
The column number at the end of the identifiers where the information is being requested.
lineText : string
-
The text of the line where the information is being requested.
names : string list
-
The identifiers at the location where the information is being requested.
tokenTag : int
-
Used to discriminate between 'identifiers', 'strings' and others. For strings, an attempt is made to give a tooltip for a #r "..." location. Use a value from FSharpTokenInfo.Tag, or FSharpTokenTag.Identifier, unless you have other information available.
?width : int
-
The optional width that the layout gets squashed to.
Returns: ToolTipText
|
Compute a formatted tooltip for the given location
|
Full Usage:
this.GetUsesOfSymbolInFile
Parameters:
FSharpSymbol
?cancellationToken : CancellationToken
Returns: FSharpSymbolUse[]
|
Get the textual usages that resolved to the given symbol throughout the file
|
Full Usage:
this.HasFullTypeCheckInfo
Returns: bool
|
Indicates whether type checking successfully occurred with some results returned. If false, indicates that an unrecoverable error in earlier checking/parsing/resolution steps.
|
|
Represents complete typechecked implementation file, including its typechecked signatures if any.
|
Full Usage:
this.IsRelativeNameResolvableFromSymbol
Parameters:
pos
plid : string list
symbol : FSharpSymbol
Returns: bool
|
Determines if a long ident is resolvable at a specific point.
|
|
Open declarations in the file, including auto open modules.
|
|
Get a view of the contents of the assembly up to and including the file just checked
|
|
Get the resolution of the ProjectOptions
|