Skip to content

Commit d872a01

Browse files
committed
Removing unused code
1 parent ee10146 commit d872a01

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

vsintegration/src/FSharp.Editor/CodeFixes/CodeFixHelpers.fs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ namespace Microsoft.VisualStudio.FSharp.Editor
44

55
open System
66
open System.Threading
7-
open System.Threading.Tasks
87
open System.Collections.Immutable
98
open System.Diagnostics
109

@@ -73,24 +72,6 @@ module internal CodeFixHelpers =
7372

7473
TelemetryReporter.ReportSingleEvent(TelemetryEvents.CodefixActivated, props)
7574

76-
let createFixAllProvider name getChanges =
77-
FixAllProvider.Create(fun fixAllCtx doc allDiagnostics ->
78-
backgroundTask {
79-
let sw = Stopwatch.StartNew()
80-
let! (changes: seq<TextChange>) = getChanges (doc, allDiagnostics, fixAllCtx.CancellationToken)
81-
let! text = doc.GetTextAsync(fixAllCtx.CancellationToken)
82-
let doc = doc.WithText(text.WithChanges(changes))
83-
84-
do
85-
reportCodeFixTelemetry
86-
allDiagnostics
87-
doc
88-
name
89-
[| "scope", fixAllCtx.Scope.ToString(); "elapsedMs", sw.ElapsedMilliseconds |]
90-
91-
return doc
92-
})
93-
9475
let createTextChangeCodeFix (name: string, title: string, context: CodeFixContext, changes: TextChange seq) =
9576
CodeAction.Create(
9677
title,

0 commit comments

Comments
 (0)