From 9a702ff8a61e4efa8129674a89e4bf11f6118117 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Mon, 27 Jul 2020 18:35:52 -0700 Subject: [PATCH] Pass options --- .../GenerateOverrides/GenerateOverridesWithDialogCodeAction.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Features/Core/Portable/GenerateOverrides/GenerateOverridesWithDialogCodeAction.cs b/src/Features/Core/Portable/GenerateOverrides/GenerateOverridesWithDialogCodeAction.cs index 07e4623105d..33f01498363 100644 --- a/src/Features/Core/Portable/GenerateOverrides/GenerateOverridesWithDialogCodeAction.cs +++ b/src/Features/Core/Portable/GenerateOverrides/GenerateOverridesWithDialogCodeAction.cs @@ -77,7 +77,8 @@ protected override async Task> ComputeOperation members, new CodeGenerationOptions( afterThisLocation: afterThisLocation, - contextLocation: syntaxTree.GetLocation(_textSpan)), + contextLocation: syntaxTree.GetLocation(_textSpan), + options: await _document.GetOptionsAsync(cancellationToken).ConfigureAwait(false)), cancellationToken).ConfigureAwait(false); return SpecializedCollections.SingletonEnumerable( -- GitLab