diff --git a/src/EditorFeatures/Core/Wrapping/BinaryExpression/BinaryExpressionCodeActionComputer.cs b/src/EditorFeatures/Core/Wrapping/BinaryExpression/BinaryExpressionCodeActionComputer.cs index 07a7ca87ee8200f745c3dd16b6dd49a8b0d1a6f3..55b77266d836740df6190dce827a2a71bafa3d9f 100644 --- a/src/EditorFeatures/Core/Wrapping/BinaryExpression/BinaryExpressionCodeActionComputer.cs +++ b/src/EditorFeatures/Core/Wrapping/BinaryExpression/BinaryExpressionCodeActionComputer.cs @@ -52,10 +52,10 @@ protected override async Task> ComputeWrappingGrou await GetUnwrapCodeActionAsync().ConfigureAwait(false)))); private Task GetWrapCodeActionAsync() - => TryCreateCodeActionAsync( - GetWrapEdits(), - FeaturesResources.Wrapping, - FeaturesResources.Wrap_expression); + => TryCreateCodeActionAsync(GetWrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Wrap_expression); + + private Task GetUnwrapCodeActionAsync() + => TryCreateCodeActionAsync(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_expression); private ImmutableArray GetWrapEdits() { @@ -92,10 +92,6 @@ private ImmutableArray GetWrapEdits() return result.ToImmutableAndFree(); } - private Task GetUnwrapCodeActionAsync() - => TryCreateCodeActionAsync( - GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_expression); - private ImmutableArray GetUnwrapEdits() { var result = ArrayBuilder.GetInstance();