diff --git a/src/Compiler/Service/service.fs b/src/Compiler/Service/service.fs
index 525faf3be3d4..f153b1528e16 100644
--- a/src/Compiler/Service/service.fs
+++ b/src/Compiler/Service/service.fs
@@ -206,9 +206,13 @@ type FSharpChecker
?parallelReferenceResolution: bool,
?captureIdentifiersWhenParsing: bool,
?documentSource: DocumentSource,
+ ?useSyntaxTreeCache: bool,
?useTransparentCompiler: bool
) =
+ // Unused parameter.
+ ignore useSyntaxTreeCache
+
use _ = Activity.startNoTags "FSharpChecker.Create"
let legacyReferenceResolver =
diff --git a/src/Compiler/Service/service.fsi b/src/Compiler/Service/service.fsi
index 0e48a0d63600..ac12ade47eff 100644
--- a/src/Compiler/Service/service.fsi
+++ b/src/Compiler/Service/service.fsi
@@ -38,6 +38,7 @@ type public FSharpChecker =
/// Indicates whether to resolve references in parallel.
/// When set to true we create a set of all identifiers for each parsed file which can be used to speed up finding references.
/// Default: FileSystem. You can use Custom source to provide a function that will return the source for a given file path instead of reading it from the file system. Note that with this option the FSharpChecker will also not monitor the file system for file changes. It will expect to be notified of changes via the NotifyFileChanged method.
+ /// Unused.
/// Default: false. Indicates whether we use a new experimental background compiler. This does not yet support all features
static member Create:
?projectCacheSize: int *
@@ -53,6 +54,8 @@ type public FSharpChecker =
?captureIdentifiersWhenParsing: bool *
[] ?documentSource:
DocumentSource *
+ [] ?useSyntaxTreeCache:
+ bool *
[] ?useTransparentCompiler:
bool ->
FSharpChecker