提交 40caf8af 编写于 作者: C Cyrus Najmabadi

Pass options

上级 1982479a
......@@ -120,7 +120,9 @@ private async Task<Document> DetermineNewDocumentAsync(Document document, Comple
}
// CodeGenerationOptions containing before and after
var options = new CodeGenerationOptions(contextLocation: semanticModel.SyntaxTree.GetLocation(TextSpan.FromBounds(line.Start, line.Start)));
var options = new CodeGenerationOptions(
contextLocation: semanticModel.SyntaxTree.GetLocation(TextSpan.FromBounds(line.Start, line.Start)),
options: await document.GetOptionsAsync(cancellationToken).ConfigureAwait(false));
var generatedMember = await GenerateMemberAsync(overriddenMember, containingType, document, completionItem, cancellationToken).ConfigureAwait(false);
generatedMember = _annotation.AddAnnotationToSymbol(generatedMember);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册