From ccc2dfe65914a23f44205724ffe2e9195d628a3e Mon Sep 17 00:00:00 2001 From: David Barbet Date: Thu, 1 Oct 2020 17:50:26 -0700 Subject: [PATCH] Consolidate methods --- .../CodeRefactoringContextExtensions.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringContextExtensions.cs b/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringContextExtensions.cs index 6e0db4b15d1..8645506ac54 100644 --- a/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringContextExtensions.cs +++ b/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringContextExtensions.cs @@ -18,19 +18,6 @@ internal static class CodeRefactoringContextExtensions /// /// Use this helper to register multiple refactorings (). /// - internal static void RegisterRefactorings( - this CodeRefactoringContext context, ImmutableArray actions) - where TCodeAction : CodeAction - => RegisterRefactorings(context, actions, applicableToSpan: null); - - /// - /// Use this helper to register multiple refactorings () with an applicable span. - /// - internal static void RegisterRefactorings( - this CodeRefactoringContext context, ImmutableArray actions, TextSpan applicableToSpan) - where TCodeAction : CodeAction - => RegisterRefactorings(context, actions, new Nullable(applicableToSpan)); - private static void RegisterRefactorings( CodeRefactoringContext context, ImmutableArray actions, TextSpan? applicableToSpan = null) where TCodeAction : CodeAction -- GitLab