Skip to content

Commit e73c0a9

Browse files
Fix errors
1 parent 246cf30 commit e73c0a9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/EditorFeatures/VisualBasicTest/AutomaticCompletion/AutomaticLineEnderTests.vb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
' The .NET Foundation licenses this file to you under the MIT license.
33
' See the LICENSE file in the project root for more information.
44

5+
Imports Microsoft.CodeAnalysis.Editor.[Shared].Utilities
56
Imports Microsoft.CodeAnalysis.Editor.UnitTests.AutomaticCompletion
67
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
78
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Utilities
@@ -271,6 +272,7 @@ End Module
271272

272273
Protected Overrides Function CreateNextHandler(workspace As EditorTestWorkspace) As Action
273274
Dim endConstructor = New EndConstructCommandHandler(
275+
workspace.GetService(Of IThreadingContext),
274276
workspace.GetService(Of IEditorOperationsFactoryService),
275277
workspace.GetService(Of ITextUndoHistoryRegistry),
276278
workspace.GetService(Of EditorOptionsService))

src/EditorFeatures/VisualBasicTest/EndConstructGeneration/EndConstructTestingHelpers.vb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Imports System.Threading
66
Imports Microsoft.CodeAnalysis
7+
Imports Microsoft.CodeAnalysis.Editor.[Shared].Utilities
78
Imports Microsoft.CodeAnalysis.Editor.UnitTests
89
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Utilities
910
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
@@ -223,6 +224,7 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.EndConstructGenera
223224

224225
Dim factory = workspace.GetService(Of IEditorOperationsFactoryService)()
225226
Dim endConstructor = New EndConstructCommandHandler(
227+
workspace.GetService(Of IThreadingContext),
226228
factory,
227229
workspace.GetService(Of ITextUndoHistoryRegistry),
228230
workspace.GetService(Of EditorOptionsService))

0 commit comments

Comments
 (0)