Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Nov 11, 2022
1 parent 21db9d3 commit c802014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ internal DocumentState UpdateTree(SyntaxNode newRoot, PreservationMode mode)

var syntaxTreeFactory = LanguageServices.GetRequiredService<ISyntaxTreeFactoryService>();

Contract.ThrowIfNull(_options);
Contract.ThrowIfNull(ParseOptions);
var (text, treeAndVersion) = CreateTreeWithLazyText(newRoot, newTextVersion, newTreeVersion, encoding, LoadTextOptions.ChecksumAlgorithm, Attributes, ParseOptions, syntaxTreeFactory);

return new DocumentState(
Expand Down

0 comments on commit c802014

Please sign in to comment.