提交 2b0f68b6 编写于 作者: J Jason Malinowski

Remove unused parameter

上级 c30fd2bb
...@@ -555,7 +555,7 @@ internal DocumentState UpdateTree(SyntaxNode newRoot, PreservationMode mode) ...@@ -555,7 +555,7 @@ internal DocumentState UpdateTree(SyntaxNode newRoot, PreservationMode mode)
var syntaxTreeFactory = _languageServices.GetService<ISyntaxTreeFactoryService>(); var syntaxTreeFactory = _languageServices.GetService<ISyntaxTreeFactoryService>();
var result = CreateRecoverableTextAndTree(newRoot, newTextVersion, newTreeVersion, encoding, this.Attributes, _options, syntaxTreeFactory, mode, this.solutionServices); var result = CreateRecoverableTextAndTree(newRoot, newTextVersion, newTreeVersion, encoding, this.Attributes, _options, syntaxTreeFactory, mode);
return new DocumentState( return new DocumentState(
this.LanguageServices, this.LanguageServices,
...@@ -587,7 +587,7 @@ private VersionStamp GetNewTreeVersionForUpdatedTree(SyntaxNode newRoot, Version ...@@ -587,7 +587,7 @@ private VersionStamp GetNewTreeVersionForUpdatedTree(SyntaxNode newRoot, Version
// use static method so we don't capture references to this // use static method so we don't capture references to this
private static Tuple<ValueSource<TextAndVersion>, TreeAndVersion> CreateRecoverableTextAndTree( private static Tuple<ValueSource<TextAndVersion>, TreeAndVersion> CreateRecoverableTextAndTree(
SyntaxNode newRoot, VersionStamp textVersion, VersionStamp treeVersion, Encoding encoding, SyntaxNode newRoot, VersionStamp textVersion, VersionStamp treeVersion, Encoding encoding,
DocumentInfo.DocumentAttributes attributes, ParseOptions options, ISyntaxTreeFactoryService factory, PreservationMode mode, SolutionServices solutionServices) DocumentInfo.DocumentAttributes attributes, ParseOptions options, ISyntaxTreeFactoryService factory, PreservationMode mode)
{ {
string filePath = attributes.FilePath; string filePath = attributes.FilePath;
SyntaxTree tree = null; SyntaxTree tree = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册