@@ -5182,8 +5182,6 @@ class C
51825182
51835183 state.Workspace.GlobalOptions.SetGlobalOption(CompletionViewOptionsStorage.BlockForCompletionItems, LanguageNames.CSharp, False )
51845184
5185- state.SendTypeChars( "Sys" )
5186-
51875185 Dim task1 As Task = Nothing
51885186 Dim task2 As Task = Nothing
51895187
@@ -5215,6 +5213,8 @@ class C
52155213
52165214 AddHandler provider.ProviderCalled, providerCalledHandler
52175215
5216+ state.SendTypeChars( "Sys" )
5217+
52185218 ' SendCommitUniqueCompletionListItem is a asynchronous operation.
52195219 ' It guarantees that ProviderCalled will be triggered and after that the completion will deadlock waiting for a task to be resolved.
52205220 ' In the new completion, when pressed <ctrl>-<space>, we have to wait for the aggregate operation to complete.
@@ -5259,7 +5259,6 @@ class C
52595259 Dim globalOptions = state.Workspace.GetService( Of IGlobalOptionService)
52605260 globalOptions.SetGlobalOption(CompletionViewOptionsStorage.BlockForCompletionItems, LanguageNames.CSharp, False )
52615261
5262- state.SendTypeChars( "Sys" )
52635262 Dim task1 As Task = Nothing
52645263 Dim task2 As Task = Nothing
52655264
@@ -5290,6 +5289,8 @@ class C
52905289
52915290 AddHandler provider.ProviderCalled, providerCalledHandler
52925291
5292+ state.SendTypeChars( "Sys" )
5293+
52935294 ' SendCommitUniqueCompletionListItem is an asynchronous operation.
52945295 ' It guarantees that ProviderCalled will be triggered and after that the completion will deadlock waiting for a task to be resolved.
52955296 ' In the new completion, when pressed <ctrl>-<space>, we have to wait for the aggregate operation to complete.
0 commit comments