CompilationUnitManager.SourceFileDidChangeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Modifies the compilation and all diagnostics to reflect the given change.
public System.Threading.Tasks.Task SourceFileDidChangeAsync (Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeTextDocumentParams param);
member this.SourceFileDidChangeAsync : Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeTextDocumentParams -> System.Threading.Tasks.Task
Public Function SourceFileDidChangeAsync (param As DidChangeTextDocumentParams) As Task
Parameters
Returns
Exceptions
The URI of the given text document identifier is null or not an absolute file URI.
The file for which a change is given is not listed as a source file.